09-29-2017 04:12 PM
Hi guys,
I work with a camera which acquire images every 100 ms and I want to save all the images generated in 1 minute. It is no problem for me to acquire these images, but how can I save all these images? I tried to save it after acquisition in one loop, but it cost longer than 100 ms. If I configure a buffer, a lot space is needed. I am currently using a standard desktop, and those images are about 5 MB each (4096x3072 resolution). Any suggestions? Thanks in advance!
09-29-2017 05:12 PM - edited 09-29-2017 05:12 PM
Try a producer / consumer design.
What kind of storage are you writing to? You want 10 frames or 50MB per second. A 7200RPM hard drive should be able to write ~100MB/s. If your hard drive is not capable, switching to an SSD should give you a couple hundred MB/s
09-29-2017 05:40 PM
Try a non-compressed format. Your images will be bigger, but you won’t be spending the time compressing. In a project I’m currently working on saving 4 MB uncompressed images (2000x1000x16-bit) is 12 ms.
09-30-2017 02:07 AM