Go to Post Competition is only the path that FIRST takes to bring science, engineering, and technology to the masses. - Pavan Dave [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 19-05-2016, 23:42
Aniranth Aniranth is offline
Registered User
FRC #4470
 
Join Date: May 2016
Location: California
Posts: 2
Aniranth is an unknown quantity at this point
USBCamera GetImage()

We have been messing around with vision processing, but we are limited by the type of image we are working with. Does anyone know what the image format is that GetImage() returns?
Reply With Quote
  #2   Spotlight this post!  
Unread 20-05-2016, 07:34
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 296
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: USBCamera GetImage()

It's an NI format that is compatible only with NI Vision. See the code for CameraServer for turning it into a JPEG.
Reply With Quote
  #3   Spotlight this post!  
Unread 20-05-2016, 09:09
YoshiCity YoshiCity is offline
Registered User
FRC #0133
 
Join Date: Jul 2015
Location: United States
Posts: 16
YoshiCity is an unknown quantity at this point
Re: USBCamera GetImage()

It is worth noting that it may be a good idea to put any getImage calls in a try-catch because occasionally for various reasons, the camera may not be accessible at the time of a getImage call, which will crash the robot code and cause a code restart.
__________________

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 09:57.

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