Coordinates from video input
3 ビュー (過去 30 日間)
古いコメントを表示
I have a USB camera connected to my computer. The camera only detects white and black and will show the picture of a circle with 2 points. One of them is concentric and fixed and it comes from a laser. The other is not concentric, it moves, and it is the reflection of the first one.
The idea is to obtain the coordinates of each point, and store them in a vector, for example, so I can later see the distance between them, send an information to my motor and the position of the 2nd point will change. This iteration will happen till the 2 points are concentric, which is the final objective.
I took 2 pictures. One of them shows only the first point, and the second one shows both. HOWEVER. in the real case, there won't be that "stain" evolving the first point. The 2 points will have the same size. This is only happening because the mirror for the reflection isn't ideal, but after it only show the point.
Since I have just began working with image processing, I would really appreciate some help on how to develop a program.
Thank you
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Point Grey Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!