Skip to content

tonycmooz/computer-vision

Repository files navigation

Computer Vision Applications with OpenCV using Python 3

How to run a smile detection program from a webcam

  1. Download the Face and Smile Haarcascades to your machine
  1. Copy the file paths of both face and smile cascades and update the string in lines 4 and 5 of detect_smile.py

  2. Finally, run the command

python3 detect_smile.py

Prerequisites

  • Webcam
  • Python 3
  • OpenCV

OpenCV Tutorials

https://docs.opencv.org/3.4.3/d7/d8b/tutorial_py_face_detection.html https://docs.opencv.org/3.4.3/dc/d88/tutorial_traincascade.html

Python Installation Guides

https://www.python.org/downloads/ https://realpython.com/installing-python/

Contributing

Have an optimization, idea, suggestion, bug report? Pull requests greatly appreciated!

About

Computer Vision Applications

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages