question

yhc-1262 avatar image
0 Votes"
yhc-1262 asked ·

[Speed] how can i get more speed in two kinect cameras with fullHD

For real-time video processing within 30 frames (security camera),

I want to get basic video faster.

In full hd within about 10 msec.

Is this device the best performance for 30 frames synchronization? (kinect dk)

azure-kinect-dk
· 4
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

"and can be used without the Sensor SDK.", so i used opencv.
but frame-rates maybe fixed..then, 2048*1536 images can 30fps(4:3)... what different?

 cv::VideoCapture capture0(0);
 cv::VideoCapture capture1(1);
 capture0.set(cv::CAP_PROP_FRAME_WIDTH, 1920);
 capture0.set(cv::CAP_PROP_FRAME_HEIGHT, 1080);
 capture1.set(cv::CAP_PROP_FRAME_WIDTH, 1920);
 capture1.set(cv::CAP_PROP_FRAME_HEIGHT, 1080);
 cv::Mat frame0, frame1;
    
 unsigned int i = 120;
 unsigned int elapsed = 0;
 while(i--) {
   std::chrono::steady_clock::time_point begin = std::chrono::steady_clock::now();
   capture0 >> frame0;
   capture1 >> frame1;
   imshow("RGB camera0", frame0);
   imshow("RGB camera1", frame1);
   std::chrono::steady_clock::time_point end = std::chrono::steady_clock::now();
   elapsed = std::chrono::duration_cast<std::chrono::microseconds> (end - begin).count();
   std::cout << "Time difference = " << elapsed << "[us]" << std::endl;
 }

0 Votes 0 ·
asergaz avatar image asergaz yhc-1262 ·

@yhc-1262 I am not sure about your question can you please elaborate and if you are seeing issues\errors\delays can you share?

Thanks

0 Votes 0 ·
yhc-1262 avatar image yhc-1262 yhc-1262 ·

I am not good at English so I use a translator so please understand.
The spec says that 30fps is max at 1920x1080, but this is judged to be when sdk is used.
Even at a higher resolution, 2048x1536, it becomes 30fps, which means that it will not take 30fps when sending 1920x1080.
When using opencv without using sdk, it was judged that if 30fps was not specified,
it would be sent at the maximum speed possible, but the actual result came out at 30fps as shown in the code.
I think this is the performance limitation of a good camera.
Is there any way to get pure frames faster? Need to change equipment?

0 Votes 0 ·

0 Answers