This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
wiki:v2:video_api [2018/09/21 17:26] pixycam |
wiki:v2:video_api [2018/09/21 17:34] pixycam |
||
---|---|---|---|
Line 14: | Line 14: | ||
- | It is recommended to take a look at the _video\_get\_rgb_ example in the Arduino Pixy2 library. | + | Take a look at the _video\_get\_rgb_ example in the Arduino Pixy2 library. |
- | Note, full frame-grabs are only supported through the USB interface and [[wiki:v2:building_the_libpixyusb_example_on_linux|libpixyusb]], not through the SPI, I2C or UART serial interfaces (i.e. Arduino). [[wiki:v2:building_the_libpixyusb_example_on_linux|Libpixyusb]] includes a frame-grab example called [[https://github.com/charmedlabs/pixy2/tree/master/src/host/libpixyusb2_examples/get_raw_frame|get_raw_frame]]. It uses a special function called getRawFrame() that isn't part of the video API. | + | Note, full frame-grabs are only supported through the USB interface and [[wiki:v2:building_the_libpixyusb_example_on_linux|libpixyusb]], not through the SPI, I2C or UART serial interfaces (i.e. Arduino). [[wiki:v2:building_the_libpixyusb_example_on_linux|Libpixyusb]] includes a frame-grab example called [[https://github.com/charmedlabs/pixy2/tree/master/src/host/libpixyusb2_examples/get_raw_frame|get_raw_frame]]. It uses a special function called getRawFrame() that isn't part of the video API. :( We could add this, but where would a 65K-byte raw frame fit in Arduino memory? |