Skip to content
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

Camera Config help for short range imaging #202

Open
jitaxis opened this issue Jan 25, 2024 · 2 comments
Open

Camera Config help for short range imaging #202

jitaxis opened this issue Jan 25, 2024 · 2 comments
Assignees

Comments

@jitaxis
Copy link

jitaxis commented Jan 25, 2024

How do I set the blaze configuration so that it works well in short distances (up to 1.5 m). I also don't want auto features, I would like to set the exposure, gain and so on. I have been able to change the exposure and frame rate, but I haven't had much luck setting other parameters.

Also when I set the exposure lower, the image quality drops.

I do have settings from the blazeViewer that I would like to try with the ROS package, but I am unsure of how to apply them. I have been trying through .yaml config but the only settings that seem to change are the exposure and frame rate.
The frame is also not reaching the desired speed, at 20FPS it only reaches 10FPS.

Any suggestions are greatly appreciated.
Thank you.

@jitaxis
Copy link
Author

jitaxis commented Jan 30, 2024

@FrancoisPicardDTI
Do you have any thoughts?
I have realised in the readme that I can only set the FPS and exposure for the Blaze. I can change so much more in the viewer, but the main thing i would want to do is turn gamma correction off. Is there a way to do this in ROS?

@timonehr
Copy link

timonehr commented Feb 6, 2024

Hi jitaxis,

You can parameterize the blaze camera via the service interface.

A few examples for you:

root@VM:/home/test_ws# ros2 service call /my_blaze/pylon_ros2_camera_node/enable_hdr_mode std_srvs/srv/SetBool "{data : "true"}"
waiting for service to become available...
requester: making request: std_srvs.srv.SetBool_Request(data=True)

response:
std_srvs.srv.SetBool_Response(success=True, message='done')
root@VM:/home/test_ws# ros2 service call /my_blaze/pylon_ros2_camera_node/set_temporal_filter_strength pylon_ros2_camera_interfaces/srv/SetIntegerValue "{value : 100}"
requester: making request: pylon_ros2_camera_interfaces.srv.SetIntegerValue_Request(value=100)

response:
pylon_ros2_camera_interfaces.srv.SetIntegerValue_Response(success=True, message='done')

The enable_gamma_correction service for a blaze camera is currently missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants