Get time from the clock image in Matlab - Image Processing
Show older comments
I am wondering to know how I can read time from an image in matlan, Can anybody help me?
9 Comments
Walter Roberson
on 21 Nov 2011
Sample images would help. For example are the clocks analog or digital? Is it a 12 hour clock, a 24 hour clock, a novelty bar clock (that runs backwards), a metric clock (10 total periods per day), a clock that outputs in binary?
sareh
on 21 Nov 2011
Walter Roberson
on 21 Nov 2011
Edited: Walter Roberson
on 13 Jun 2021
So for example it would look like this?
Is noon / midnight always going to be "up" in the image, or will the images appear with different rotations?
sareh
on 21 Nov 2011
sareh
on 21 Nov 2011
Jan
on 21 Nov 2011
Edited: Walter Roberson
on 13 Jun 2021
Sean de Wolski
on 21 Nov 2011
Can you show us a sample clock?
sareh
on 21 Nov 2011
Edited: Walter Roberson
on 13 Jun 2021
Walter Roberson
on 21 Nov 2011
I suggest you take a close look at that clock image, Sareh.
Accepted Answer
More Answers (1)
Image Analyst
on 21 Nov 2011
0 votes
Depending on the clock image(s), this could be very easy. You could just extract two circles and detect where the hands cross the circles. Of course this could get very complicated for watch faces that have a lot of clutter on them such as patterns, extra dials and hands, etc. It's best if you just upload 3 or 4 of your practice/test images so we can see what you're working with. You haven't done that yet despite two requests (now three) for you to do so.
Categories
Find more on Read, Write, and Modify Image in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!