Get time from the clock image in Matlab - Image Processing

I am wondering to know how I can read time from an image in matlan, Can anybody help me?

9 comentarios

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
sareh el 21 de Nov. de 2011
Its is a clock analoge
Walter Roberson
Walter Roberson el 21 de Nov. de 2011
Editada: Walter Roberson el 13 de Jun. de 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
sareh el 21 de Nov. de 2011
yes, you are right, you know how to solve it with matlab
sareh
sareh el 21 de Nov. de 2011
The image will be up for noon/midnight
Can you show us a sample clock?
sareh
sareh el 21 de Nov. de 2011
Editada: Walter Roberson el 13 de Jun. de 2021
Walter Roberson already put a link which is the one I search for : http://www.oliverbothwell.co.uk/img/thumbs/clock2.gif
I suggest you take a close look at that clock image, Sareh.

Iniciar sesión para comentar.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 21 de Nov. de 2011

10 comentarios

sareh
sareh el 21 de Nov. de 2011
Thank you very much, but the idea is to do it by coding not a function directly on matlab,
sareh
sareh el 21 de Nov. de 2011
I mean, I dont know how to start the idea to do this algorithm and find out the length of each handle and reading time
Dave Robinson's answer in that thread describes how to do it by coding.
sareh
sareh el 21 de Nov. de 2011
I have found the file, thank you very much,
The link for the thread is not working.
@Sparsh Raj, the link for "Posting sample images" via a third party web site no longer applies. Now you can attach your images right here, in the MATLAB Answers forum, with the paperclip icon, or insert them into the body of your post with the frame icon. So, consequently we will not repair the link or find a susbtitute since that way of including pictures is no longer needed.
The newsreader thread does not work though...
Are the images analog or digital?
I did find an old Dave Robinson thread about reading times from digital images; https://comp.soft-sys.matlab.narkive.com/d3iOKQ51/extracting-numbers-from-an-image
@Walter Robinson the images are of analog clocks
Since the hands could be at virtually any relative angle, but you know that they touch at the center, I'd be tempted to try to train a neural network to find them, and even to predict the time.

Iniciar sesión para comentar.

Más respuestas (1)

Image Analyst
Image Analyst el 21 de Nov. de 2011
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.

1 comentario

sareh
sareh el 21 de Nov. de 2011
I am learning image processing and I am wonder to know how to get time from a clock, I have uploaded one image here, http://www.sendspace.com/file/dimz27

Iniciar sesión para comentar.

Categorías

Más información sobre Read, Write, and Modify Image en Centro de ayuda y File Exchange.

Preguntada:

el 21 de Nov. de 2011

Comentada:

el 14 de Jun. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by