Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   How To Mask Live Camera dashboard View? (http://www.chiefdelphi.com/forums/showthread.php?t=93041)

Must Be Drama 28-02-2011 18:37

How To Mask Live Camera dashboard View?
 
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

Re: How To Mask Live Camera dashboard View?
 
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

Re: How To Mask Live Camera dashboard View?
 
1 Attachment(s)
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

Re: How To Mask Live Camera dashboard View?
 
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.


All times are GMT -5. The time now is 09:11.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi