Body Shape Analyzer

FREEMIUM
By RemoAPI | Updated a month ago | Medical
Popularity

0.3 / 10

Latency

18ms

Service Level

0%

Health Check

N/A

README

API List

Endpoint Method URL PATH
analyze images POST /image/analyze

API Details

1. Analyze images

정면 전신사진과 측면 전신사진을 이용하여 체형을 분석합니다.

요청 파라미터 형태

해당 API를 호출하기 위해서는 요청의 content-type이 'multipart/form-data’이여야 하며, 두개의 Field에 정면사진과 측면사진을 첨부하면 됩니다. ‘forigFile’ 필드에는 정면 전신사진을, 'sorigFile’인 필드에 측면 전신사진을 각각 한장씩 첨부합니다.

Description
Method POST
URL PATH /image/analyze
Content-Type multipart/form-data
Field 1 forigFile (append front full body image file)
Field 2 sorigFile (append side full body image file)

[ 주의사항 ]

  • 각 이미지 파일 크기가 1MB를 초과하면 안됩니다.
  • 현재 지원되는 이미지 파일 형식은 JPG와 PNG 입니다.

응답 파라미터 형태

정상적인 응답 형태는 아래와 같습니다.

{
  "data": {
    "state": 0,
    "fBase64": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAIBAQE...",
    "far_coords": "[[426, 287], [443, 271], [418, 271], [459, 279], ... ]",
    "far_head_bal_m_": 9090,
    "far_knee_bal_m_": 0,
    "far_left_qang_m_": 176316,
    "far_pelvic_bal_m_": 0,
    "far_right_qang_m_": 2476,
    "far_shoulder_bal_m_": -1602,
    "far_tilt_m_": -179345,
    "sBase64": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAIBAQE...",
    "sar_coords": "[[511, 274], [-1, -1], [496, 259], [-1, -1], ... ]",
    "sar_fwd_head": 0,
    "sar_head_tilt_m_": 13309,
    "sar_tilt_m_": -1720,
  },
}

각 항목별 내용은 다음과 같습니다.

설명
state 0 이면 정상 응답
fBase64 정면 분석결과 이미지 base64 형태
far_coords 정면 이미지 신체 부위 주요 좌표
far_tilt_m_ 전면 기울기 (단위: 1/1000 deg)
far_head_bal_m_ 머리 좌우 균형도 (단위: 1/1000 deg)
far_shoulder_bal_m_ 어깨 좌우 균형도 (단위: 1/1000 deg)
far_pelvic_bal_m_ 골반 좌우 균형도 (단위: 1/1000 deg)
far_knee_bal_m_ 무릎 좌우 균형도 (단위: 1/1000 deg)
far_right_qang_m_ Right Q-Angle (단위: 1/1000 deg)
far_left_qang_m_ Left Q-Angle (단위: 1/1000 deg)
sBase64 측면 분석결과 이미지 base64 형태
sar_coords 측면 신체 부위 주요 좌표
sar_tilt_m_ 측면 이미지 기울기 (단위: 1/1000 deg)
sar_head_tilt_m_ 머리 전후 기울기 (단위: 1/1000 deg)
sar_fwd_head 거북목 여부 (1: 참, 0: 거짓)

에러 발생

에러 발생시 응답 형태는 아래와 같습니다.

{
  "error": "Error: Error message"
}

주요 에러 메시지

설명
Error: File too large 이미지 파일 크기 1MB 초과
Error: Not supported image file type 미지원 이미지 파일 형식
Error: Fail to analyze 이미지 분석 불가
Followers: 0
API Creator:
Rapid account: Remo API
RemoAPI
remoapi
Log In to Rate API
Rating: 5 - Votes: 1