ZuLuuuuuu
Posts: 26
Joined: Thu May 23, 2013 6:30 am

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

Mon Jan 12, 2015 2:41 pm

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?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 27010
Joined: Sat Jul 30, 2011 7:41 pm

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

Mon Jan 12, 2015 3:20 pm

There is a LOT more data in YUV format than JPEG, more data = more time to transfer.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

ZuLuuuuuu
Posts: 26
Joined: Thu May 23, 2013 6:30 am

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

Wed Jan 14, 2015 5:52 pm

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.

Return to “Camera board”