Hi,
what Camera do you use ? And what resolution does it have ? 30 Frames per second is very much. I used a Point Grey, which had 1920x1280 i think. The fastest i got was about 7 frames per second. But that will depend on what image type you use (i used RAW16) and what Camera resolution. I think in my case it took about 100ms to transfer the image, so the absolut maximum could anyway be at least 10 per Second.
What you could try is increasing the packet size on the bus, but that sometimes takes a lot of testing until the packet size is working.
The function for this is :
dc1394_format7_set_packet_size()
This only works if you use format 7 images as far as i know.
Regards
Tom
Am Mi., Dez. 3, 2014 15:44 schrieb Loic T :
Thanks for your answer,
Effectively, I tried this method but unfortunately, it seems that I can't achieve a perfect 30 frames per second.
For example, I want to get 90 frames which amounts to 3 seconds but the acquisition takes at least 5-6 seconds. (I'm first storing the frames on the ram then saving them in the hard drive after the acquisition)
Here is what I tried for now :
(camera setup) err=dc1394_external_trigger_set_power(camera, DC1394_ON);
err=dc1394_external_trigger_set_source(camera, DC1394_TRIGGER_SOURCE_0);
err=dc1394_external_trigger_set_mode(camera, DC1394_TRIGGER_MODE_0);
(Acquisition)
for(int i = 0; i
|