Video Intelligence는 동영상 파일에 사람이 있는지 감지하고 동영상 또는 동영상 세그먼트에서 각 사람의 경계 상자를 추적할 수 있습니다.
사람 감지
동영상에서 사람을 감지하려면 Video Intelligence에 동영상 주석 요청을 전송하고 PERSON_DETECTION 플래그를 포함합니다. 주석 요청은 사람이 감지된 동영상 세그먼트 위치를 포함하여 동영상에서 감지된 각 사람에 대한 세부정보를 반환합니다.
주석 요청은 경계 상자도 제공할 수 있습니다.
또한 사람 감지는 특정 신체 부위의 위치를 nose, left_shoulder, right_shoulder와 같은 '랜드마크'로 감지할 수 있습니다.
또한 사람 감지는 의복 색상, 의복 종류를 비롯한 다른 특징도 감지할 수 있습니다. 사람 감지가 인식할 수 있는 자세한 특징은 다음 표를 참조하세요.
| 특징 또는 랜드마크 | 가능한 값 |
|---|---|
| 신체 부위 | nose, left_eye,
right_eye, left_ear, right_ear,
left_shoulder, right_shoulder,
left_elbow, right_elbow,
left_wrist, right_wrist,
left_hip, right_hip,
left_knee, right_knee,
left_ankle, right_ankle
|
| 상의 의복 색상 | UpperCloth:Black, UpperCloth:Blue,
UpperCloth:Brown, UpperCloth:Gray,
UpperCloth:Green, UpperCloth:MultiColor,
UpperCloth:Orange, UpperCloth:Purple,
UpperCloth:Red, UpperCloth:White,
UpperCloth:Yellow |
| 상의 의복 종류 | UpperCloth:Coat, UpperCloth:Dress,
UpperCloth:Jacket, UpperCloth:Shirt,
UpperCloth:Suit, UpperCloth:Sweater,
UpperCloth:T-Shirt, UpperCloth:TankTop |
| 상의 의복 패턴 | UpperCloth:Floral, UpperCloth:Graphics,
UpperCloth:Plaid, UpperCloth:Plain,
UpperCloth:Spotted, UpperCloth:Striped |
| 소매 길이 | UpperCloth:LongSleeve, UpperCloth:ShortSleeve,
UpperCloth:NoSleeve |
| 하의 의복 유형 | LowerCloth:LongPants, LowerCloth:ShortPants,
LowerCloth:LongSkirt, LowerCloth:ShortSkirt |
Video Intelligence API 시각화에서 이 기능의 사용 사례를 참조하세요.
예시를 보려면 사람 감지를 참조하세요.