1.Can I use prime focus to take pictures?Or how to get the focal length of the camera when take screenshot?we need focal length of the photo in both horizontal and vertical directions.
2.The camera will crash after many screenshots, how to fix it
1.Can I use prime focus to take pictures?Or how to get the focal length of the camera when take screenshot?we need focal length of the photo in both horizontal and vertical directions.
2.The camera will crash after many screenshots, how to fix it
Hi developer. About your questions, I want to confirm the following with you:
We rely heavily on this screenshot function and use its screenshots for indoor positioning ,using the method provided by the class"PhotoCaptureExample" to take a screenshot every 5 seconds.
Is it because another photo was taken before the screenshot was completed, causing the rgb camera crash and lose connection .
Hi,
What is the focal length in pixel about ov580?
The focal length you provided is in millimeters and needs to be converted to pixels
We don’t have such parameters, but I can provide the pixels in horizontal and vertical, size of sensor.
Horizontal: 2592 pixels;
Vertical: 1933 pixels;
Size: 6.5mm
You can calculate the corresponding focal length in pixel according to the info above.
Thank you. That’s very helpful
It seems the RGB cam is not recognized. Could you please tell me what change you’ve done for RGB cam?
Take screenshots every 5 seconds using NRPhotoCapture,This error will appear after a few or dozens of screenshots
Hi, I was wondering if you tried to build the DemoScene "RGBCamera-Capture” because I’ve tried to take screenshots per second with this demo and after more than 70 screenshots, I didn’t reproduce your issue. Could you tell me which version of your NRSDK is?
And you can try the demoscene as well, I modified the code of the script “PhotoCaptureExample.cs” as follows:
void Update()
{
// if (NRInput.GetButtonDown(ControllerButton.TRIGGER))
// {
// TakeAPhoto();
// }
time += Time.deltaTime;
if (time >= 1)
{
time = 0;
TakeAPhoto();
}
}
Nreal MR SDK for Unity version 1.9.0
This anomaly will not appear stably. Sometimes, it will appear after only a few screenshots, and sometimes it will not appear after dozens of screenshots
Hi, sorry for the late reply. We found this error in your log:
StartCapture: Can not find the rgb camera device error!
And we want to know whether this error will show up every time the camera crashed. If so, the reason may be that the contact between the phone and the glasses is not good.
Another piece of advice is to update your SDK version to 1.9.3, probably this function will be more stable.