This repository contains a deep learning project focused on African attire detection. The project aims to develop a model that can classify eight local African attires, primarily from countries like Nigeria and South Africa. By preserving and utilizing this model, it becomes easier for foreigners and future generations to identify and appreciate the cultural artifacts of African tribes.
- Problem Statement
- Approach
- Dataset Description
- Installation
- Usage
- Technologies
- Contributing
- License
- References
The preservation of African cultures is crucial, especially with the encroachment of civilization and technology. This project aims to leverage AI to combat culture loss and preserve African heritages. By developing deep learning algorithms and smart systems like chatbots, image identifiers, and text-to-speech, we can ensure the preservation and accessibility of African cultures.
The project utilizes a deep learning algorithm with TensorFlow as the backend framework. The development environment is Colab, and the accuracy of the model is open to further improvement. The goal is to train the model to classify eight African attires accurately.
The dataset consists of images of African attires gathered from the internet using a web scraping Google Chrome extension. The dataset contains the following details:
- 8 classes representing different African tribes:
- Adire (from Nigeria)
- Idgo (from Nigeria)
- Idoma (from Nigeria)
- Igala (from Nigeria)
- Tiv (from Nigeria)
- Tswana-Shweshwe (from South Africa)
- Xhosa-South Africa (from South Africa)
- Zulu (from South Africa)
- Training set: 9784 images belonging to the 8 classes
- Validation set: 2579 images belonging to the 8 classes
- Total: 12,363 images
To use the code in this repository, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/african-attire-detection.git
- Navigate to the project directory:
cd african-attire-detection
- Install the required dependencies:
pip install -r requirements.txt
- Ensure you have installed the required dependencies.
- Prepare your dataset and ensure it follows the specified format.
- Modify the code to load and preprocess your dataset, adjust hyperparameters, etc.
- Train the deep learning model using the provided scripts or adapt them to your specific requirements.
- Evaluate the model's performance and make predictions on new images.
- Experiment with different architectures, techniques, or augmentations to improve the model's accuracy.
The project is implemented using the following technologies and libraries:
- TensorFlow
- Python
- Colab (Jupyter Notebook)
- Deep Learning
- Image Classification
- Convolutional Neural Networks (CNN)
- Computer Vision
Contributions to this project are welcome. To contribute, follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/your-feature
- Submit a pull request.
This project is licensed under the MIT License.
- Dataset: Google Drive
- Image Link 1: Freepik
- Image Link 2: Freepik
Feel free to follow me and ask questions: