--- title: Front Back View Api emoji: 🐠 colorFrom: gray colorTo: blue sdk: docker pinned: false license: mit short_description: Mediapipe API for front and back view --- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference ## API ### `POST /classify` Classifies a single image URL as front-facing (`1`) or not-front (`0`). Request body (any of these shapes): ```json { "image_url": "https://example.com/image.jpg" } ``` ```json { "url": "https://example.com/image.jpg" } ``` Response: ```json { "is_front": 1 } ```