I need to set camera rotation to 90 degree due to hardware constrains of the project I am building.
I have tried using PiCamera examples and set camera.rotation = 90
. That rotates preview correctly, however inference stops working.
Setting camera.rotation = 180
works and does not break inference.