Hi, I’ve just watched this video, I have some questions about it.
The video sets the searching res with sensor.QVGA and the tracking res with sensor.QQVGA, is resolution and frame size actually the same? I checked the readout window with sensor.w & sensor.h, the readout window will change in 1280x960, 640x480, 320x240, so is the resolution of 1280x960 sensor.QQVGA?
About this video, can I get the depth by Tz to calculate actual distance? If not, any suggestions?
Thanks for replying, I copied the code and I got the readout window size, my question is, I have already set the resolution for the readout window, but in the code it also calculate the readout window size, has the resolution changed or it remained what I set?
The resolution changes every time set_framesize is called. Changing the readout window does Not change the resolution/framesize it just crops the pixel array for faster reading (you’ll notice the image gets cropped, but still the same size). At some point in the script it does change both the window and resolution to center on the tag and read frames faster.
Hi again, I’m confused that is the resolution which set_framesize called using logical pixel? And the pixel array is physical pixel? It’s hard to define both when using almost the same units (or exactly the same units?).
I don’t know what you want to know here… the method sets the cameras scalers to produce an output image. It is not the pixel array size. If you want to do that math start from the camera datasheet and look at the pixel sizes.