Page 1 of 1

Can I get raw image data when use_video_port is set to True?

Posted: Mon Jan 12, 2015 2:41 pm
by ZuLuuuuuu
Hello, when I get jpeg format via capture method and set "use_video_port" to True, it executes very fast, but when I specify YUV as the format then it slows down significantly. Does the camera not use video port when I request raw data?

Re: Can I get raw image data when use_video_port is set to T

Posted: Mon Jan 12, 2015 3:20 pm
by jamesh
There is a LOT more data in YUV format than JPEG, more data = more time to transfer.

Re: Can I get raw image data when use_video_port is set to T

Posted: Wed Jan 14, 2015 5:52 pm
by ZuLuuuuuu
Sorry, I was using picamera.array.PiYUVArray and I guess that was the reason of slowness. I am now using the regular way and yuv is actually faster than jpeg.