You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just noticed that the sample script basic/capture_2d_image.py does not work as expected.
The first time I run it after powering on the camera (Nano Ultra GL), it enables the projector and successfully captures a 2D image.
If I run the script again, it always outputs the same image again and does not activate the projector.
Only after I run the script basic/capture_depth_map.py will capture_2d_image.py output an updated 2D image. However it will output the 2D image of the time the depthmap was captured and not of the time the capture_2d_image.py was run.
To me it seems that capture_2d_image.py only captures a new 2D image if no image is already "cached" inside the camera.
I would like to capture 2D images continuously using the python SDK. Is there already a way to do that? Also, what is the framerate when only capturing 2D images?
Sorry for the late reply. If you do not get the expected results using capture_2d_image.py, you can check the camera logs after running the script to see if there are any corresponding photo-taking log outputs. If the camera indeed only responded to one photo-taking request, you can contact our technical support team to pinpoint the issue.
Additionally, we currently have a script for continuous photo-taking. You can find capture_periodically.py in the /advanced folder, and using this script will allow you to continuously take photos with the camera. the duration of continuous photo-taking and the interval between photos need to be specified within the script. Currently, the default settings are 5 minutes for the duration and 10 seconds for the interval between photos.
Activity
wangpeng2-mechmind commentedon Mar 5, 2025
Sorry for the late reply. If you do not get the expected results using capture_2d_image.py, you can check the camera logs after running the script to see if there are any corresponding photo-taking log outputs. If the camera indeed only responded to one photo-taking request, you can contact our technical support team to pinpoint the issue.
Additionally, we currently have a script for continuous photo-taking. You can find capture_periodically.py in the /advanced folder, and using this script will allow you to continuously take photos with the camera. the duration of continuous photo-taking and the interval between photos need to be specified within the script. Currently, the default settings are 5 minutes for the duration and 10 seconds for the interval between photos.