Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   USBCamera GetImage() (http://www.chiefdelphi.com/forums/showthread.php?t=148542)

Aniranth 19-05-2016 23:42

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?

euhlmann 20-05-2016 07:34

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.

YoshiCity 20-05-2016 09:09

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.


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

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