This TensorFlow-based image classifier is designed to detect a person's mood from an image, classifying them as either happy or sad. The model has been trained on a dataset containing labeled images of individuals expressing happiness and sadness.
-
Clone the repository:
git clone https://github.com/Akash-nath29/image-classifier.git
-
Navigate to the project directory:
cd image-classifier
-
Install the required dependencies:
pip install -r requirements.txt
-
Ensure you have the necessary dependencies installed (see Installation).
-
Place the image(s) you want to classify in the
images
directory. -
Run the classifier script:
python classify.py
This script will analyze the images in the
images
directory and print the predicted mood for each image.
- The model architecture is based on deep neural networks (DNNs), specifically designed for image classification tasks.
- It utilizes the TensorFlow framework for building and training the model.
- The model achieves accuracy comparable to state-of-the-art methods for mood detection in images.
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.