kristinbranson / APT

Animal Part Tracker
GNU General Public License v3.0
71 stars 16 forks source link

Center and rotate target flips the video #399

Closed mkabra closed 1 year ago

mkabra commented 1 year ago

Rotating flips left and right landmarks. Creates a load of confusion.

mkabra commented 1 year ago

Fixed this. Earlier both xdir and ydir were being set to "normal", which is not correct. Because when axis is in image mode, ydir is reversed.

allenleetc commented 1 year ago

Just FYI I have seen some subtleties with this in the past. Axes may have this notion of being in "3D"/rotated mode (eg when camroll or rotation are applied) vs being in "2D"/regular mode (eg when Reset/Full screen is pressed). This is tied to X/YDir as you note and can get wonky.

Always setting X/YDir to something may solve this but also possible they get toggled somehow etc.