|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Cross Hairs on Camera in C++
Anyone know how to do this?
We are not going to do vision tracking instead our robot is low enough there we will line it up manually with our lazy susan. we need the camera to center on the bottom hoop. We need the center cross hairs to do this though on the laptop. we are not going to use tape we have tried that in the past and havent had good results |
|
#2
|
|||
|
|||
|
Re: Cross Hairs on Camera in C++
Please search, I answered a similar post a month ago.
Greg McKaskle |
|
#3
|
|||
|
|||
|
Re: Cross Hairs on Camera in C++
Quote:
|
|
#4
|
|||
|
|||
|
Re: Cross Hairs on Camera in C++
Find the center of the computer screen and put on it
|
|
#5
|
||||
|
||||
|
Re: Cross Hairs on Camera in C++
Our team took a hole punch to the sticky part of a pink post-it note and put it on the center of the bottom hoop. When our driver lines up with that dot in the square of the lower hoop we sink it in the top one every time. Cheap and much simpler than cross hairs.
|
|
#6
|
|||
|
|||
|
Re: Cross Hairs on Camera in C++
It may not be that difficult to modify a labview dashboard example that overlays rectangles and have it permanently overlay a crosshair.
|
|
#7
|
||||
|
||||
|
Re: Cross Hairs on Camera in C++
Greetings!
It's pretty easy to put an overlay on the camera image at the camera itself. Create a .bmp file of your crosshair in MSpaint or similar program. Log into the camera and select the image set up. There you will find an overlay function. Use that function to upload your .bmp to the camera's flash. The camera will automatically convert it to a .ovl. Then use the overlay function to set the X & Y position of the overlay and viola! Good luck, Mike |
|
#8
|
||||
|
||||
|
Re: Cross Hairs on Camera in C++
Did you know you can move the crosshairs manually on- screen on the computer?
Or are you asking for something more complicated? |
|
#9
|
||||
|
||||
|
Re: Cross Hairs on Camera in C++
If you use the camera overlay approach, the simply give the camera a pixel location and the image is moved to that location. Very easy to sight in as long as the ball and shooter speed are consistent.
Mike |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|