depthai
depthai copied to clipboard
[Feature-Request] 90 and 270 Degree Camera Orientation
Support was added to provide a 180 degree rotation as well as a horizontal flip to the camera orientation. It would make sense if 90 and 270 degree rotations could also be supported.
This could simply be a gap in my own knowledge of how things work but my current impression is that a given network would be trained to expect input in a given orientation and that the current orientation option would correct this behavior in the case of a vertically flipped camera. Previous discussion on adding the orientation parameter only describe it as being useful for visualizing the camera output rather than a necessary component to proper detection, so I really do not know how important this is.
Running the OAK-1 PoE, there may be situations where the standard or vertically flipped orientations are not available. I have found in quick testing that detection at 90 and 270 degrees does not perform as well as it would in the standard orientation.
Assuming that there isn't a simpler explanation to my "problem", it would be valuable to add the given orientation options as an argument to the pipeline. As for how this would be implemented on the camera-side of things, I am not certain.