⏰ A machine-learning-based analog clock recognition and time detection app developed during the Soft Computing university course.
- Create a new virtual environment
python3 -m venv myenv
- Use
requirements.txt
to install all required dependencies.pip install -r requirements.txt
- Download IP Webcam on your phone
- Connect your PC and phone to the same local network
- Start application and select Start Server option. The application will start capturing video and show you your IP address.
- Use this IP address to run the
controller.py
script
python controller.py -s stream -su http://192.168.1.102:8080/video --width 720 --height 720
python controller.py -s webcam --width 640 --height 480
Run the scripts with default parameters.
clock_tracking\core.py -m train
time_reading\core.py -m train
Run the scripts with specifying the image count and noise threshold.
clock_tracking\core.py -m test -ic 2000 -nt 0.5
time_reading\core.py -m test -ic 2000 -nt 0.3
|
Filip Ivković |
Katarina Tukelić |
| --- | --- |