front-back-view-api / README.md
CooLLegend's picture
feat(api): add classify endpoint for single image URL detection
0316c00
|
Raw
History Blame Contribute Delete
571 Bytes
metadata
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):

{ "image_url": "https://example.com/image.jpg" }
{ "url": "https://example.com/image.jpg" }

Response:

{ "is_front": 1 }