Thank you for considering contributing to TruthInBite, an AI-powered food label analyzer! 🎉 We welcome your help in building a high-quality dataset of food labels and nutrition facts.
Please read the following guidelines carefully before contributing.
- ✅ Main Branch Only: All contributions must be made to the
mainbranch. - ✅ Valid Contributions: Only food label images with clear nutrition facts will be accepted.
- ❌ Invalid Contributions: Changes to README, documentation, or code will not count as valid contributions.
-
Place all images inside the
dataset/folder. -
File naming convention:
itemname.jpg itemname.jpeg itemname.webp -
Use lowercase letters for filenames (no spaces, use hyphens or underscores if needed).
-
Example:
dataset/ ├── lays-classic.jpg ├── amul-milk.jpeg └── maggi-noodles.webp
-
Fork the Repository
git fork https://github.com/vipu18/TruthInBite.git
-
Clone Your Fork
git clone https://github.com/<your-username>/TruthInBite.git cd TruthInBite
-
Create/Use the
mainBranchgit checkout main
-
Add Your Food Label Image(s)
- Place your food label image(s) in the
dataset/folder. - Ensure correct filename format.
- Place your food label image(s) in the
-
Stage and Commit Your Changes
git add dataset/<your-file>.jpg git commit -m "Add <item-name> food label image"
-
Push Your Contribution
git push origin main
-
Open a Pull Request (PR)
- Go to the original repo: TruthInBite
- Click New Pull Request
- Select your fork’s
mainbranch - Add a short title and description
- Submit your PR 🎉
Before submitting your PR, make sure:
- File is inside
dataset/folder - Filename follows correct format (
itemname.jpg/jpeg/webp) - Image is clear and nutrition facts are readable
- No unnecessary files are changed
git add dataset/amul-butter.jpg
git commit -m "Add Amul Butter food label image"
git push origin mainThen open a PR with the title:
Add Amul Butter food label image
- Do not upload duplicate images.
- Do not upload copyrighted or watermarked images.
- Only contribute original food label images suitable for AI training.
By contributing, you agree that your contributions will be licensed under the MIT License of this repository.
For help or questions:
- Open an issue
- Tag @vipu18 in discussions
🙏 Thank you for contributing to TruthInBite! Your contributions help make healthy food analysis accessible for everyone. 🚀