Color Recognizer App
Simple GUI app to detect colors from camera or an image file.
Instructions
- Clone the repo and
cd
into the directory. - Create a
venv
by runningpython3 -m venv ./venv
- Activate virtual env by running
source ./venv/bin/activate
- Run
pip3 install -Ur requirements.txt
- Run
python3 src
For using Mobile Camera (Android Devices)
- Make sure the pc and the mobile are connected to the same wifi network
- Download
DroidCam
App - Run the app and see the
Device IP
- Open the Qt App and click on
Change Stream
- Type
http://<Device IP>:4747/mjpegfeed?640x480
and clickOk
To use the connected webcams on pc, type integers like 0
(Default) or 1
in Change Stream
to use them.
Demo
Python Libraries Used
- PyQt5
- OpenCV
- Pandas