![]() |
How to initialize ColorImage object
So for whatever reason I can't figure out for the life of me how to initialize a ColorImage object. I have the following code inside of my robot class:
Code:
static USBCamera camera = new USBCamera("cam0"); |
Re: How to initialize ColorImage object
It looks like you are using the old (2016) version of the usb camera and camera server, which is in the NI vision library. You should instead use the new CameraServer and UsbCamera (not USBCamera) class, which are in the cscore and wpilibj libraries. This link should help you get started, and for more complex vision processing, see this link.
|
| All times are GMT -5. The time now is 09:45. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi