Alessio Mauro Franchi
Alessio Mauro Franchi
This is the output with debug on: ```[2022-03-10 13:37:35.338] [debug] Python bindings - version: 2.13.1.0 from 2021-11-24 20:04:45 +0100 build: 2021-11-24 22:06:27 +0000 [2022-03-10 13:37:35.339] [debug] Library information - version:...
Thank @themarpe. How could the crop be out of the picture? I'm using normalized coordinates... And I'm not even cropping indeed. ``` rotation_cfg = dai.RotatedRect() rotation_cfg.center.x, rotation_cfg.center.y = 0.5, 0.5...
this is strange: ``` import cv2 import depthai as dai pipeline = dai.Pipeline() pipeline.setOpenVINOVersion(version=dai.OpenVINO.Version.VERSION_2021_3) cam = pipeline.create(dai.node.ColorCamera) cam.setResolution(dai.ColorCameraProperties.SensorResolution.THE_1080_P) cam.setIspScale(2,3) cam.setInterleaved(False) cam.setPreviewSize(1280, 720) preview_rotate_manip = pipeline.create(dai.node.ImageManip) rotation_cfg = dai.RotatedRect() rotation_cfg.center.x, rotation_cfg.center.y...
Even this script fails: ``` import cv2 import depthai as dai pipeline = dai.Pipeline() pipeline.setOpenVINOVersion(version=dai.OpenVINO.Version.VERSION_2021_3) cam = pipeline.create(dai.node.ColorCamera) cam.setResolution(dai.ColorCameraProperties.SensorResolution.THE_1080_P) cam.setIspScale(2,3) cam.setInterleaved(False) cam.setPreviewSize(1280, 720) preview_zoom_n_rotate_manip = pipeline.create(dai.node.ImageManip) rgbRr = dai.RotatedRect() rgbRr.center.x,...
Hello @OanaMariaVatavu thank you for your feedback. Really appreciate your help! First and second script now works perfectly. Third script still have an error in the code: `preview_zoom_n_rotate_manip.initialConfig.setCropRotatedRect(rgbRr, False)` that...
> @f-alemauro > If you set True for the second parameter of the setCropRotatedRect function, it will be required that the crop position and resolution be in a normalized format,...
@OanaMariaVatavu That's a great feedback! Thank you! So, are you stating that in the mainline version I cannot have a singe ImageManip node that calls both `setResizeThumbnail` and `setCropRotatedRect`? And...
So, I have another question :D I got this "stupid" script. This script is just a way to reproduce easily a problem I'm facing with the real pipeline. ``` import...
Ok, sorry for this script, I had already forgotten the unsupported config we discuss above... :D The script now runs smoothly. I do think that this discussion is really helpful...
Well, I don't have any USB device, but OAK-1. I don't think the [POE hat](https://www.raspberrypi.com/products/poe-plus-hat/) could cause power issues, do you? It is rated 5V/5A BTW, thank you for the...