How to detect a circle and then lines in the circle? (Reading time off clock image)

1 回表示 (過去 30 日間)
Ray
Ray 2020 年 8 月 11 日
編集済み: Ray 2020 年 8 月 11 日
Hey All,
I'm trying to develop computer vision algorithm to read the time off of an analog clock. Any help would be appreciated. I've attached the sample image to read the time off of. I'm new to MATLAB and image proccessing with moderate coding experience in other languages. So far I've though of the following ideas:
  • Create two circles of varying radii on the clock and find where the clock hands intercept them. Then, take the angles from the origin of the circle and use some simple math to deduce time. (Don't know how to identify clock from background and create said circles though)
  • Use circular hough transform to find the clock face and then hough lines transform to find the clock-hands lines in the ciruclar region of interest and then extract the time from the angles of lines. Again, I've no experience in this sorta thing.
Thanks!

回答 (0 件)

カテゴリ

Help Center および File ExchangeComputer Vision with Simulink についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by