Skip to content

Codsoft Bot is an all-in-one AI-powered web app built using Flask, combining multiple smart tools like a rule-based chatbot, Tic Tac Toe AI, face detection & recognition using ArcFace, image captioning with style options, and a smart recommendation system for movies, books, and products — all wrapped in a responsive and user-friendly UI.

License

Notifications You must be signed in to change notification settings

Kunal20060208/Codsoft_Bot

Repository files navigation

Codsoft Bot

Codsoft Bot is an AI-powered multi-functional assistant built using Flask. It includes several AI tools designed for educational, entertainment, and productivity purposes. It was developed as part of the Codsoft AI internship project.

🚀 Features

  • Rule-Based Chatbot – A simple chatbot using pre-defined rules.
  • 🎮 Tic Tac Toe AI – A game with Easy, Medium, and Hard AI.
  • 🖼️ Image Captioning – Upload an image to generate styled captions.
  • 📚 Recommendation System – Suggests movies, books, and products using live APIs.
  • 🧠 Face Detection & Recognition – Uses ArcFace for real-time face analysis.

💻 Tech Stack

  • Frontend: HTML, CSS, JavaScript

  • Backend: Python (Flask)

  • Libraries:

    • opencv-python, face_recognition, onnxruntime
    • requests, dotenv, numpy
    • Flask, werkzeug, etc.

🧠 AI Integrations

  • ArcFace ONNX model for face recognition
  • Google Books API for book recommendations
  • TMDB API replaced with IMDb-like scraping for movie suggestions
  • FakeStore API for product suggestions

📁 Project Structure

Codsoft_Bot/
├── static/
│   ├── style.css
│   └── script.js
├── templates/
│   ├── index.html
│   ├── chatbot.html
│   ├── tictactoe.html
│   ├── caption.html
│   ├── caption_result.html
│   ├── face.html
│   ├── recommend.html
├── arcface_recog.py
├── face_recog.py
├── recommender.py
├── app.py
├── requirements.txt
└── README.md

🔧 Installation & Run

# Clone the repository
git clone https://github.com/Kunal20060208/Codsoft_Bot.git
cd Codsoft_Bot

# Install dependencies
pip install -r requirements.txt

# Create .env file and add keys if needed
# Example:
# TMDB_API_KEY=your_key_here

# Run the Flask app
python app.py

App runs on: http://127.0.0.1:5500

📸 Screenshots

Rule-Based Chatbot Tic Tac Toe AI Recommendation System

🏅 Internship Completion Certificate

Here's my official Codsoft AI Internship Completion Certificate 👇 📄 🔗 View Certificate (PDF)

📌 Awarded for successful completion of the AI Internship by Codsoft in 2025.

📜 License

This project is licensed under the MIT License.
You are free to use, modify, and distribute this software with proper attribution.

✨ Credits


Made with 💙 by Kunal Arya

About

Codsoft Bot is an all-in-one AI-powered web app built using Flask, combining multiple smart tools like a rule-based chatbot, Tic Tac Toe AI, face detection & recognition using ArcFace, image captioning with style options, and a smart recommendation system for movies, books, and products — all wrapped in a responsive and user-friendly UI.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published