-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manual Focus Control for Intel RealSense D435 Camera on Jetson Orin #12030
Comments
In the documentation, we can find these functions. maybe they can help me with my issue? Methods
init((self: pyrealsense2.roi_sensor, ...) |
Hi @ronbitonn RealSense cameras do not have an adjustable focus control as the focus of the lenses is fixed. The easiest way to resolve your focus issue may be to maximize the RGB Sharpness option to '100', which can make a significant difference to blurred images. #11246 has an example of Python code for configuring this option. In that script, they first set up definitions for the depth and RGB (color) sensors.
Then they use the color sensor definition to access the RGB sensor and configure the RGB sharpness.
|
Dear @MartyG-RealSense, Thank you for your prompt response and valuable insight regarding the focus control for the Intel RealSense D435 camera on Jetson Orin. I understand that RealSense cameras do not have adjustable focus control due to their fixed-focus lenses. However, I greatly appreciate your suggestion to maximize the RGB Sharpness option to '100' as a possible solution to improve the sharpness and clarity of the captured frames. I will try implementing the provided Python code example to configure the RGB sharpness and assess its impact on image quality. Should I encounter any further issues or require additional assistance, I will reach out to you or the community on the "librealsense" repository on GitHub. Your expertise and guidance are immensely valuable to my research task. Best regards, Ron |
You are very welcome. Please do feel welcome to ask further questions on this librealsense GitHub support forum if you need to do so. Good luck! |
Hi @ronbitonn Do you currently require further assistance with this case, please? Thanks! |
Dear @MartyG-RealSense, I implemented the suggested approach to maximize the RGB Sharpness option, but some images still lack the necessary clarity to recognize the small ruminants' ear tags. As I continue my research, I'd appreciate any additional recommendations or alternative techniques to improve image quality and enhance ear tag recognition. Your support has been invaluable, and I'm determined to find a solution for accurate analysis. Thank you for your assistance. |
If you are seeking to further improve the readablity of text on the RGB image, does maximizing gain help?
|
Hi @ronbitonn Do you require further assistance with this case, please? Thanks! |
Hello, Thank you for your assistance and suggestions. I wanted to let you know that I'm actively working on improving the image quality of the Intel RealSense D435 camera for my research. I've begun by adjusting the camera's position to see if that has an impact on the clarity of the captured frames. I truly appreciate the guidance you've provided so far, and I will keep you updated on the results of the changes I'm making. If I encounter any further challenges or if there are additional aspects where I might need assistance, I won't hesitate to reach out for help. Once again, thank you for your support. |
You are very welcome. Thanks very much for the update and please do keep us updated with your progress and findings. Good luck! |
Case closed due to no further comments received. |
I have a Jetson Orin development board and have connected an Intel RealSense D435 camera to it. My research task involves recognizing individual small ruminants by analyzing RGB and depth frames captured by the D435 camera. Specifically, I want to analyze the facial features of the small ruminants and perform text spotting to recognize the numbers on their ear tags.
The D435 camera is positioned approximately 1 meter away from the face of the small ruminant. However, I have encountered issues with the camera's focus, as not all frames look well due to some being out of focus.
I am utilizing the pyrealsense2 library for interacting with the D435 camera, which allows me to stream data from the camera and access its functionalities.
To ensure I can perform the analysis accurately, I am seeking assistance in implementing manual focus control for the D435 camera using pyrealsense2 on Jetson Orin. With manual focus control, I hope to adjust the camera's focus settings programmatically, ensuring that the captured frames are consistently in focus and suitable for my analysis.
Any guidance, code examples, or resources on how to do manual focus control for the D435 camera on Jetson Orin using the pyrealsense2 library would be greatly appreciated.
Thank you,
Ron
The text was updated successfully, but these errors were encountered: