Go to Post Holy mechanum wheels Batman! - yodameister [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-02-2011, 18:37
Must Be Drama Must Be Drama is offline
Registered User
no team
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Brooklyn
Posts: 62
Must Be Drama is an unknown quantity at this point
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

Last edited by Must Be Drama : 28-02-2011 at 18:40.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-03-2011, 00:08
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
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?
Reply With Quote
  #3   Spotlight this post!  
Unread 01-03-2011, 09:45
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: How To Mask Live Camera dashboard View?

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.
Attached Thumbnails
Click image for larger version

Name:	DashboardCameraSliver.jpg
Views:	31
Size:	66.6 KB
ID:	10307  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 01-03-2011 at 10:15.
Reply With Quote
  #4   Spotlight this post!  
Unread 02-03-2011, 17:55
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:10.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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