Hi,
I use libpixyusb library provided by Pixy to read image frames through USB port, request command is shown as following, however I find the sampling frequency is only 10~12 Hz, namely 10~12 frames/second, not 50Hz, Anyone knows why, and how to improve the fps?
return_value = pixy_command(“cam_getFrame”, // String id for remote procedure
0x01, 0x21, // 01:1280x800, 11:640x400, 21: 320x200
0x02, 0, // xoffset
0x02, 0, // yoffset
0x02, 320, // width
0x02, 200, // height (56 max @ 1280 w)
0, // separator
&response, // pointer to mem address for return value
&fourcc, //contrary to docs, the next 5 args are needed
&renderflags,
&width,
&height,
&numPixels,
&pixels, // pointer to mem address for returned frame
0);