Skip to content

Computer vision tutorial during Eldjmaa Live Coding session of Sep 07th, 2019

License

Notifications You must be signed in to change notification settings

amineHorseman/opencv-eldjmaa-live-coding

Repository files navigation

Introduction to Computer Vision using OpenCV and Python

The following is a tutorial for OpenCV programing using Python. The tutorial is part of a livestreaming session (in Arabic, algerian dialect) recorded by ELdjmaa. The tutorial assumes you know to basics of python programing (variables, loops, conditions)

Pre-live:

The pre-live video showz you how to create an anaconda environemnt, install opencv on your machine, and how to switch opencv versions using different environemnts:

Live Part1:

In the first session we saw a general introduction to computer vision and OpenCV library.
We created a first program to read the video stream from the camera and display it in the screen.

The code for this part is available in the file: capture.py

The recording (in arabic) is available at:

Live Part2:

We added faces detection using HaarCascade, then we added text to speech

The code for faces detection part is in the file: detect_faces.py The code for faces detection + speech synthesis is available in the file: detect_faces_and_talk.py

The recording (in arabic) is available at:

What to do next?

The next step is to optimize the code. Some potential ideas:

  • Run the text-to-speech engine in a separate thread, so that the faces detection doesn't stop while the engine is talking.
  • Add faces recognition, so that the engine say different things for each person.

Releases

No releases published

Packages

No packages published

Languages