pypylon
pypylon copied to clipboard
Switch from Landscape mode to Portrait Mode
Is there any way to rotate the image feed by 90 degrees on a Basler Ace 2 camera with pypylon?
I'm able to do it using opencv.rotate() function but would like to know if there's a standard and straightforward way for it.
90° rotate is not available on the camera itself. If you can't avoid it, you have to use external algorithm.
As this is, memory access pattern wise, a very expensive operation, you should check what is the most efficient implementation on your hardware.
E.g. most SoC have HW accelerators for this operation.