Feb-27-2023, 12:54 PM
Hello,
I'm trying to take a picture and zoom it ,using camera.zoom
can I only use normalize values 0-1 ?
is there any way to print the image and with the mouse see the places I want to zoom in?
then enter them to the function ?
I read here
can someone help ? show example with picture and numbers?
Thanks,
I'm trying to take a picture and zoom it ,using camera.zoom
zoom Retrieves or sets the zoom applied to the camera’s input. When queried, the zoom property returns a (x, y, w, h) tuple of floating point values ranging from 0.0 to 1.0, indicating the proportion of the image to include in the output (this is also known as the “Region of Interest” or ROI). The default value is (0.0, 0.0, 1.0, 1.0) which indicates that everything should be included. The property can be set while recordings or previews are in progress.but I can't seem to understand the values I can enter
can I only use normalize values 0-1 ?
is there any way to print the image and with the mouse see the places I want to zoom in?
then enter them to the function ?
I read here
https://docs.baslerweb.com/image-roibut unable to make it using python
can someone help ? show example with picture and numbers?
Thanks,