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)
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)
@yhc-1262 please take a look at Kinect Hardware Specs: https://docs.microsoft.com/en-us/azure/Kinect-dk/hardware-specification#color-camera-supported-operating-modes
"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;
}
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?
4 people are following this question.