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?
It’s an NI format that is compatible only with NI Vision. See the code for CameraServer for turning it into a JPEG.
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.