This repository contains Jupyter Notebook projects coded in Python during my Computer Vision and Pattern Recognition (CVPR) course attended at American International University - Bangladesh (AIUB). It includes various projects and exercises demonstrating key concepts in computer vision, such as image processing, feature detection, and machine learning for vision tasks.
For more details on the course, refer to the AIUB Undergraduate Course Catalog.
Note: Search for "Computer Vision & Pattern Recognition" for specific course information.
This repository focuses on practical implementations of computer vision algorithms using Python in Jupyter Notebooks. It includes multiple projects, with a particular emphasis on real-world applications on my final term projects such as detecting face masks and recognizing emotions from facial expressions. The repository also includes foundational exercises in image processing, feature extraction, and object detection, which are key components of computer vision systems.
- Description: A project aimed at detecting whether individuals in an image or video feed are wearing a face mask. This project uses convolutional neural networks (CNNs) to classify images into two categories: "Mask" and "No Mask."
- Key Concepts:
- Preprocessing images for model training.
- CNN-based architecture for classification.
- Real-time detection using OpenCV.
- Technologies Used: TensorFlow/Keras, OpenCV, Python.
- Description: This project detects emotions (such as happiness, sadness, anger, surprise, etc.) from facial expressions using a deep learning model. The model is trained on a dataset of labeled facial expressions to classify the emotion displayed by a person in an image.
- Key Concepts:
- Image preprocessing (data augmentation, resizing).
- Transfer learning (Pre trained model: MobileNet).
- CNN architecture for emotion classification.
- Visualization of results using Matplotlib.
- Technologies Used: TensorFlow/Keras, OpenCV, Python.
- Programming Language: Python
- Libraries and Tools:
- OpenCV: For image processing and real-time detection.
- TensorFlow/Keras: For building deep learning models.
- NumPy and Pandas: For data manipulation and processing.
- Matplotlib: For visualizing data and model performance.
- Jupyter Notebook: For running and documenting code interactively.
To run the code in this repository, follow these steps:
- Install Python 3.x and Jupyter Notebook.
- Install the required libraries by running the following command:
pip install <library_name>
- Clone the repository:
git clone https://github.com/Raihan4520/CVPR.git
- Open Jupyter Notebook:
jupyter notebook
- Navigate to the desired notebook (e.g., Face_Mask_Detection.ipynb or Emotion_Detection.ipynb) and run the cells interactively.
- Follow the instructions within each notebook to provide the required input (e.g., images or video feed) and view the results.
To run the Face Mask Detection project:
- Open Face_Mask_Detection.ipynb in Jupyter Notebook.
- Ensure that the dataset is extracted and available in the specified folder or update the file paths in the notebook.
- Run all cells to train the model or use a pre-trained model to detect face masks in real-time.
If you have any questions or suggestions, feel free to reach out through the repository's issues or contact me directly.