TheSpaghettiDetective / moonraker-obico

GNU Affero General Public License v3.0
149 stars 41 forks source link

Flip camera horizontally/vertically #17

Closed 1n9i9c7om closed 2 years ago

1n9i9c7om commented 2 years ago

Hi,

I was wondering if there's any way to flip the camera horizontally & vertically. My camera is mounted upside down and when I used OctoPrint, the plugin would automatically detect that I had the camera flipped and would apply the same to the TSD stream.

Now that I switched to Klipper & Moonraker, I noticed that the Moonraker version of TSD does not do that and does not seem to offer this functionality in the configuration (yet?). However, I also understand that this is an early version of the plugin, so I'm not too surprised :) Is this planned in the future? Does the TSD AI still work properly with an upside-down image?

encetamasb commented 2 years ago

Thanks for bringing this up.

I can see 4 possible configuration keys we can add, TSD server can understand the following: flipV, flipH, rotate90, streamRatio.

Let's say, it's planned, and probably sooner, than later.

--

I guess TSD AI does not require the snapshots to be "properly" rotated, but let's ask @kennethjiang.