Giter VIP home page Giter VIP logo

clocksy's Introduction

⏰ A machine-learning-based analog clock recognition and time detection app developed during the Soft Computing university course.

Requirements

Environment setup

  1. Create a new virtual environment
    python3 -m venv myenv
    
  2. Use requirements.txt to install all required dependencies.
    pip install -r requirements.txt
    

Running the application

Use

External stream

  1. Download IP Webcam on your phone
  2. Connect your PC and phone to the same local network
  3. Start application and select Start Server option. The application will start capturing video and show you your IP address.
  4. 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

Webcam

python controller.py -s webcam --width 640 --height 480

Training

Run the scripts with default parameters.

Clock tracking

clock_tracking\core.py -m train

Time reading

time_reading\core.py -m train

Testing

Run the scripts with specifying the image count and noise threshold.

Clock tracking

clock_tracking\core.py -m test -ic 2000 -nt 0.5

Time reading

time_reading\core.py -m test -ic 2000 -nt 0.3

About the Team

|
Filip Ivković |
Katarina Tukelić | | --- | --- |

clocksy's People

Contributors

fivkovic avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.