Open-sourcing RightWayUp - a 360-degree image rotation model, and a JPEG shortcut we found in a common benchmark [P]

Reddit r/MachineLearning Models

Summary

ORTUS AI open-sources RightWayUp, a 360-degree image rotation detection model in six sizes under Apache-2.0, which outperforms existing models on rotation benchmarks and exposes a JPEG compression shortcut that causes competing models' accuracy to collapse.

We are open-sourcing RightWayUp - a new image rotation detection model. I work at ORTUS AI (we develop video analytics). We needed to tell from a single CCTV frame whether a camera had been rotated or installed at an angle (or upside-down), so we tried different models for that, without much luck (low accuracy, lots of false positives on regular camera-like frames). Some were not permissively licensed. Out of despair, we decided to train our own. We didn't expect it to come out this good. It is now called RightWayUp. It estimates how far an image is rotated from upright, all 360°, and abstains when there's no clear "up" (sky, ground, close-ups, etc.). We are releasing code and weights under Apache-2.0, in six sizes from Pico (small enough to run in a browser) to Max (ahead of the other models we tried on most of our tests). We tested it on many test images, including held-out ones (which the model never saw before). In tests with the held-out set, RightWayUp Max was within 10° on 93.0% of them vs 88.4% for Woehrer 2026 (one of the better other models we liked). In the Woehrer 2026 own COCO-based benchmark, it was 98.8% accurate within 10° (five-seed mean) vs Woehrer's 98.0%. It also gets every image right on RotBench. While training and testing, we found something we didn't expect: saving the images from the COCO-based rotation benchmark as JPEG q90 drops Woehrer 2026 from 98.0% to 30.2% (five-seed mean), while our models barely move. We suspect the rotated JPEG grid of the source photos gives the angle away. We found that in our early experiments, and made an effort to remove its effect. I hope it will be useful to the community. For transparency: parts of the engineering were done with Claude and Codex. Here is a full write-up with a demo video: https://cheqit.ortusai.io/resources/rightwayup/ Code (with a link to the weights): https://github.com/ortusaitech/rightwayup Questions and failure cases welcome.
Original Article

Similar Articles

PanoWorld: Real-World Panoramic Generation

Hugging Face Daily Papers

PanoWorld proposes a method for long-range memory in panoramic world models using rotation-equivariant representations, with a three-stage training pipeline and a new large-scale dataset World360. The model outperforms alternatives by a large margin.