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!