Hi!
I am using the gen2 age-gender code for my project. The code works fine and I wanted to ask for your help to make some small changes to the main.py
Due to the space of my project, I need to use my OAK-1 Lite camera horizontally, so I tried to make some modifications to my code to rotate the image using cv2.rotate
but I have not found a way to flip the detection rectangle with the results.
![](https://discuss.luxonis.com/assets/files/2024-02-20/1708449338-161455-image.png)
Is there a way to rotate the results and to make the detection from the rotated image??
I tried this modifications in my code:
![](https://discuss.luxonis.com/assets/files/2024-02-20/1708449601-699704-image.png)