Camera Rotation

We are using an rpi wide camera because our subjects will be pretty close to the camera. We are using the pose-estimation models. To aid in capturing the full body we want to rotate the camera so it’s 120 degree field of view is in the vertical orientation. Right now if I rotate the camera I simply get the attached image. I tried changing the gstreamer video-direction to ‘vert’ in the gstreamer_helper_pipelines.py file line 84 but that didn’t work, it simply flipped the image. I then tried adding ‘rotate angle=90’ to the line but that gave a funky 45 degree angle. So I’m lost at this point. Photos attached. Would love to know how to do this.



The rotate element uses radiant instead of degrees.

rotate angle=1.5708

That rotates the image but the image is still cut off by the window not matching the size of the actual Frame. There are black bars on the right and left while the top and bottom of the image is cut off in the viewing window as well as the user frame window. Not sure how to adjust those.