AI-Powered real-time vocabulary trainer — point your webcam at everyday objects and learn their English names instantly using state-of-the-art object detection.
VocabLearn uses YOLOv8 to detect objects from your webcam or uploaded images and builds an interactive vocabulary list for learning and review.
VocabLearn uses the YOLOv8 Nano model (yolov8n.pt) and recognizes the 80 object classes from the COCO dataset (everyday object categories). You can change the model to yolov8s, yolov8m, yolov8l, or yolov8x for different accuracy/speed trade-offs.
git clone https://github.com/Gus-Fring666/Vison_Learning.git
cd Vison_Learning
Install from requirements:
pip install -r requirements.txt
Or install manually:
pip install streamlit ultralytics opencv-python-headless numpy Pillow
Note: Use opencv-python instead of opencv-python-headless if you plan to run the OpenCV desktop app with native windows.
The yolov8n.pt weights will be automatically downloaded by the Ultralytics library on first run. If you prefer, place a model file in the project root.
Streamlit (recommended):
streamlit run streamlit_app.py
OpenCV desktop app (original):
python app.py
Streamlit will open at http://localhost:8501 by default.
screenshots/.yolov8n.pt by default — change for better/worse speed/accuracy.0. Use the Camera Source dropdown to switch.Recommended presets:
yolov8l or yolov8x with higher confidence threshold (0.6–0.75).yolov8n with moderate threshold (0.35–0.5).yolov8n.pt, reduce resolution, or close other heavy apps.yolov8n.pt in the project root.pip install -r requirements.txt.Vison_Learning/
├── streamlit_app.py # Streamlit web app (main)
├── app.py # OpenCV desktop app
├── requirements.txt # Dependencies
├── README.md # Project documentation
├── yolov8n.pt # Model weights (auto-download)
└── screenshots/ # Saved screenshots
Contributions welcome! Suggested enhancements:
If you’d like to contribute, fork the repo, open a branch, and submit a PR. Include tests and update the README where appropriate.
This project is released under the MIT License. See the LICENSE file for details.
Built with ❤️ using Streamlit + YOLOv8 — VocabLearn © 2026