Good afternoon.
I'm learning the most basic logic to be able to control my D Lite.
I have started with something that I understand is "simple".
I want to manipulate the color image captured by the camera, then rotate it 15 degrees and then apply a horizontal and a vertical flip.
I can only rotate the image, the flips are not performed. I think the problem comes from the fact that I don't quite understand the flow of information between the different nodes (or maybe I'm saying something nonsense...)
Can you please help me with the code?
Thank you!
`manipRgb = pipeline.create(dai.node.ImageManip)
rgbRr = dai.RotatedRect()
rgbRr.center.x, rgbRr.center.y = camRgb.getPreviewWidth() // 2, camRgb.getPreviewHeight() // 2
rgbRr.size.width, rgbRr.size.height = camRgb.getPreviewHeight(), camRgb.getPreviewWidth()
rgbRr.angle = 15
manipRgb.initialConfig.setCropRotatedRect(rgbRr, False)
manipRgb.initialConfig.setHorizontalFlip(True)
manipRgb.initialConfig.setVerticalFlip(True)
camRgb.preview.link(manipRgb.inputImage)`