Go to Post I in all sincerity thoroughly enjoy the way that programming for FIRST makes me want to bash my head against a wall. - pogenwurst [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 31-03-2012, 19:04
Mk.32's Avatar
Mk.32 Mk.32 is offline
Registered User
AKA: Mark
FRC #2485 (W.A.R. Lords)
Team Role: Engineer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: San Diego
Posts: 770
Mk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud of
AXIS Camera Overlay feature.

Hello all,
We have the Axis camera on our shooter to help with aiming and would like to put a vertical line though the middle of the image.

We tried to used the built in Axis feature to do this
http://www.axis.com/files/manuals/um...38_en_1101.pdf [Page 19]
that lets us upload an image, however does anyone know what format the image has to be?
We tried gif, jpeg, bmp, png with fail to upload errors. The files were about 7kb.

Thanks
__________________
Engineering mentor: Team 2485: WARLords 2013-

Team President: Team 3647 2010-2013
  #2   Spotlight this post!  
Unread 31-03-2012, 20:54
daniel_dsouza daniel_dsouza is offline
does what needs to be done.
FRC #2449 (Out of Orbit Robotics)
Team Role: Alumni
 
Join Date: May 2011
Rookie Year: 2011
Location: Chandler, AZ
Posts: 231
daniel_dsouza has a spectacular aura aboutdaniel_dsouza has a spectacular aura about
Re: AXIS Camera Overlay feature.

Our team doesn't have the new camera, so I can't determine if what you ask is possible camera side...But if you are open to using Labview, you can modify the dashboard project (the window with the camera feed) to display the crosshairs.

This post provides instructions on how to do so.

http://www.chiefdelphi.com/forums/sh...09&postcount=4

It is from this thread, which can give you some more ideas/help.

http://www.chiefdelphi.com/forums/sh...abview+overlay

Best of Luck!
  #3   Spotlight this post!  
Unread 02-04-2012, 13:42
Mk.32's Avatar
Mk.32 Mk.32 is offline
Registered User
AKA: Mark
FRC #2485 (W.A.R. Lords)
Team Role: Engineer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: San Diego
Posts: 770
Mk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud of
Re: AXIS Camera Overlay feature.

We are currently using the SmartDash so I might look into modding that.

But I am curious to see if I can do this directly on the camera it self.
__________________
Engineering mentor: Team 2485: WARLords 2013-

Team President: Team 3647 2010-2013
  #4   Spotlight this post!  
Unread 02-04-2012, 14:44
Jay Meldrum's Avatar
Jay Meldrum Jay Meldrum is offline
Registered User
FRC #0067 (H.O.T.)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2003
Location: Michigan
Posts: 42
Jay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud of
Re: AXIS Camera Overlay feature.

Quote:
Originally Posted by Mk.32 View Post
Hello all,
We have the Axis camera on our shooter to help with aiming and would like to put a vertical line though the middle of the image.

We tried to used the built in Axis feature to do this
http://www.axis.com/files/manuals/um...38_en_1101.pdf [Page 19]
that lets us upload an image, however does anyone know what format the image has to be?
We tried gif, jpeg, bmp, png with fail to upload errors. The files were about 7kb.

Thanks
Just to make sure, is the file you are uploading the same resolution that your camera is set to? i.e. 320 x 240 camera res gets a 320 x 240 picture?
__________________
2012-2015 - FRC 67 - Programming/Controls Lead Mentor
2003-2005 - FRC 857 - Driver

Check us out at http://www.hotteam67.org
Previous year design docs, programming tutorials, and more!
  #5   Spotlight this post!  
Unread 02-04-2012, 14:48
Mk.32's Avatar
Mk.32 Mk.32 is offline
Registered User
AKA: Mark
FRC #2485 (W.A.R. Lords)
Team Role: Engineer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: San Diego
Posts: 770
Mk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud of
Re: AXIS Camera Overlay feature.

Quote:
Originally Posted by jsmeldru View Post
Just to make sure, is the file you are uploading the same resolution that your camera is set to? i.e. 320 x 240 camera res gets a 320 x 240 picture?
Yes, I tired an 640x480 [resolution we were using] as well as a 320x240. I also tried uploading just the icon I wanted which was an 10x480 image.
__________________
Engineering mentor: Team 2485: WARLords 2013-

Team President: Team 3647 2010-2013
  #6   Spotlight this post!  
Unread 02-04-2012, 14:59
Jay Meldrum's Avatar
Jay Meldrum Jay Meldrum is offline
Registered User
FRC #0067 (H.O.T.)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2003
Location: Michigan
Posts: 42
Jay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud of
Re: AXIS Camera Overlay feature.

Hrmm... I'll have to see what we did a while back when we were playing with that.

I know the privacy mask feature works. You could put a red rectangle straight down the center of your image.
__________________
2012-2015 - FRC 67 - Programming/Controls Lead Mentor
2003-2005 - FRC 857 - Driver

Check us out at http://www.hotteam67.org
Previous year design docs, programming tutorials, and more!
  #7   Spotlight this post!  
Unread 02-04-2012, 15:59
Mk.32's Avatar
Mk.32 Mk.32 is offline
Registered User
AKA: Mark
FRC #2485 (W.A.R. Lords)
Team Role: Engineer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: San Diego
Posts: 770
Mk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud of
Re: AXIS Camera Overlay feature.

Quote:
Originally Posted by jsmeldru View Post
Hrmm... I'll have to see what we did a while back when we were playing with that.

I know the privacy mask feature works. You could put a red rectangle straight down the center of your image.
Thanks for the suggestions!, I will look into the privacy mask it seems to be able to do what we need.
__________________
Engineering mentor: Team 2485: WARLords 2013-

Team President: Team 3647 2010-2013
  #8   Spotlight this post!  
Unread 02-04-2012, 18:04
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: AXIS Camera Overlay feature.

We did this just fine.

We used a BMP image.

Try uploading the wrong file type, it will tell you what type it needs to be.
  #9   Spotlight this post!  
Unread 02-04-2012, 22:51
Mk.32's Avatar
Mk.32 Mk.32 is offline
Registered User
AKA: Mark
FRC #2485 (W.A.R. Lords)
Team Role: Engineer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: San Diego
Posts: 770
Mk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud of
Re: AXIS Camera Overlay feature.

Quote:
Originally Posted by nighterfighter View Post
We did this just fine.

We used a BMP image.

Try uploading the wrong file type, it will tell you what type it needs to be.
What resolution did you upload and how big was the image?
__________________
Engineering mentor: Team 2485: WARLords 2013-

Team President: Team 3647 2010-2013
  #10   Spotlight this post!  
Unread 11-04-2012, 08:40
Jay Meldrum's Avatar
Jay Meldrum Jay Meldrum is offline
Registered User
FRC #0067 (H.O.T.)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2003
Location: Michigan
Posts: 42
Jay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud of
Re: AXIS Camera Overlay feature.

Quote:
Originally Posted by Mk.32 View Post
What resolution did you upload and how big was the image?
Not sure if you figured it out, but I just played with this last night.

You need to make sure your image is the same resolution that your camera is set to and save the image as a 24 bit BMP. I used GIMP 2 to do this (freeware photo editor, similar to photoshop). Paint might work?

In my case, I just made a picture with a white background. Type in "FFFFFF" when asked for the transparency color.

There is also a setting on one of the menus in the camera to enable the overlay for streaming, make sure you check this as well.
__________________
2012-2015 - FRC 67 - Programming/Controls Lead Mentor
2003-2005 - FRC 857 - Driver

Check us out at http://www.hotteam67.org
Previous year design docs, programming tutorials, and more!
Closed Thread


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 18:03.

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