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 可視化工具,瞭解這項功能的運作方式。
如需範例,請參閱人物偵測。