View Full Version : How To Mask Live Camera dashboard View?
Must Be Drama
28-02-2011, 18:37
any body know how to do this easily?
i want to have only a rectangle shown on the camera view for aligning the minibot to the pole
WizenedEE
01-03-2011, 00:08
In the Dashboard Main.vi (In the dashboard project; you will have to create that in the startup window if you haven't already) there's a section surrounded by a while loop that has an IMAQ thing going into it. That's the part that gets the camera image. Try playing around with that (maybe you don't want the get but do what the vi after that?) and see what you're getting.
On a more detailed look, that probably won't work.
Otherwise, you could change something in the vision processing vi in the robot project. You could use the ni vision assistant (or whatever you're getting the rectangle from) to just delete the original image. That shouldn't be too hard. Have you tried that already?
Mark McLeod
01-03-2011, 09:45
There's a really trivial sort of cheating way to do this.
Create a default custom Dashboard
Drag the camera image off screen to the left, so you only leave the size rectangle you want on the screen
Build the Dashboard and move the new Dashboard.exe to C:\Program Files\FRC Dashboard
Reposition your camera to point off to the left, so the right of the screen shows the pole.I've attached an example. Ignore the background image of my daughter. That was an example for someone else.
Mark McLeod
02-03-2011, 17:55
P.S.
You can also just draw decorative boxes in the Dashboard overtop of the portions of the video feed that you don't want.
Or cover it up with a team logo, original artwork, or photos of your team.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.