日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

手勢關鍵點檢測

本文介紹人臉人體(facebody)類目下的手勢關鍵點檢測HandPosture的語法及示例。

功能描述

手勢關鍵點檢測能力可以獲取手勢的二十一個關鍵點信息。

關于該接口功能的示例圖如下:

說明
  • 您可以進入在線咨詢獲取在線人工幫助。
  • 當前能力可在視覺智能開放平臺有完整的免費產品體驗,您可以單擊立即試用對該能力進行更直觀試用以及在線購買。
  • 阿里云視覺智能開放平臺視覺AI能力API接入、接口使用或問題咨詢等,請通過釘釘群(23109592)加入阿里云視覺智能開放平臺咨詢群聯系我們。

接入指引

1. 注冊阿里云賬號:打開阿里云官網,在阿里云官網右上角,單擊立即注冊,按照操作提示完成賬號注冊。

2. 開通能力:請確保您已開通人臉人體服務,若未開通服務請立即開通

說明 本能力支持企業或個人認證用戶開通。更多實名認證操作信息,請參見實名認證

3. 創建AccessKey:請確保您已創建AccessKey,如果您使用的是子賬號AccessKey,您需要給子賬號賦予AliyunVIAPIFullAccess權限,具體操作,請參見RAM授權

4. 在線調試(可選):您可以通過OpenAPI Explorer在線調試能力,查看完整的調用示例代碼及SDK依賴信息,也可以下載完整的工程。

5. 開發接入步驟:

  • SDK總覽中選擇您要接入使用的SDK語言。
  • 在對應語言的SDK文檔中找到AI類目為人臉人體(facebody)的SDK包進行安裝。
  • 參考文檔中提供的示例代碼進行適當修改后調用。

6. 客戶端直接調用:該能力常用的客戶端調用方式包括以下幾種。

輸入限制

  • 圖像格式:JPEG、JPG、BMP、PNG。
  • 圖像大小:不超過4 MB。
  • URL地址中不能包含中文字符。

計費說明

手勢關鍵點檢測能力目前處于公測期,可免費調用。

調試

您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

請求參數

名稱

類型

是否必選

示例值

描述

Action String HandPosture

系統規定參數。取值:HandPosture

ImageURL String http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/HandPosture/HandPosture3.jpg

圖像URL地址。推薦使用上海地域的OSS鏈接,對于文件在本地或者非上海地域OSS鏈接的情況,請參見文件URL處理

返回數據

名稱

類型

示例值

描述

RequestId String 99CE0601-FA61-4A41-BBF0-72D3E1FF5139

請求ID。

Data Object

返回的結果數據內容。

Outputs Array of Output

手勢檢測結果。

HandCount Integer 1

手掌的個數。

Results Array of Result

手勢類別。

Hands Object

手勢關鍵點信息。

KeyPoints Array of KeyPoint

關鍵點坐標,是相對坐標,即相對于圖像尺寸的坐標。

Positions Array of Position

相對于圖像尺寸的關鍵點坐標。

Points Array of Float [0.5656, 0.4567]

關鍵點的坐標,x和y的取值范圍為0~1。相對于圖像寬度width和圖像高度height的相對坐標,實際坐標為x*widthy*height

Label String thumb

關鍵點的標簽。

Confident Float 0.555

置信度。

Box Object

手勢的檢測框信息。

Positions Array of Position

手的檢測框信息。格式為 [左上, 右上, 右下, 左下]

Points Array of Float [0.5656, 0.4567]

手體檢測框的坐標,x和y的取值范圍為0~1。相對于圖像寬度width和圖像高度height的相對坐標,實際坐標為x*widthy*height

Confident Float 0.555

手勢檢測框的置信度。

MetaObject Object

圖像基本信息。

Width Integer 500

圖像寬度,單位像素。

Height Integer 600

圖像高度,單位像素。

SDK參考

阿里云視覺AI人臉人體類目下的手勢關鍵點檢測能力推薦使用SDK調用,支持多種編程語言,調用時請選擇AI類目為人臉人體(facebody)的SDK包,文件參數通過SDK調用可支持本地文件及任意URL,具體可參見SDK總覽

示例

請求示例

http(s)://facebody.cn-shanghai.aliyuncs.com/?Action=HandPosture   //更多關于訪問域名(Endpoint)信息,請參見:http://m.bestwisewords.com/document_detail/143103.html
&ImageURL=http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/HandPosture/HandPosture3.jpg
&<公共請求參數>

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<RequestId>99CE0601-FA61-4A41-BBF0-72D3E1FF5139</RequestId>
<Data>
    <MetaObject>
        <Height>360</Height>
        <Width>640</Width>
    </MetaObject>
    <Outputs>
        <Results>
            <Hands>
                <Confident>0.99994850158691406</Confident>
                <KeyPoints>
                    <Label>0</Label>
                    <Positions>
                        <Points>0.60814106464385986</Points>
                        <Points>0.57843714952468872</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>1</Label>
                    <Positions>
                        <Points>0.5954553484916687</Points>
                        <Points>0.53584885597229</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>2</Label>
                    <Positions>
                        <Points>0.58072149753570557</Points>
                        <Points>0.52881228923797607</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>3</Label>
                    <Positions>
                        <Points>0.55731791257858276</Points>
                        <Points>0.53051036596298218</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>4</Label>
                    <Positions>
                        <Points>0.556272029876709</Points>
                        <Points>0.54263561964035034</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>5</Label>
                    <Positions>
                        <Points>0.58563053607940674</Points>
                        <Points>0.5606304407119751</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>6</Label>
                    <Positions>
                        <Points>0.55570542812347412</Points>
                        <Points>0.56016099452972412</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>7</Label>
                    <Positions>
                        <Points>0.527125895023346</Points>
                        <Points>0.53607034683227539</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>8</Label>
                    <Positions>
                        <Points>0.50249892473220825</Points>
                        <Points>0.52858757972717285</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>9</Label>
                    <Positions>
                        <Points>0.58144932985305786</Points>
                        <Points>0.600288450717926</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>10</Label>
                    <Positions>
                        <Points>0.548987090587616</Points>
                        <Points>0.57786983251571655</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>11</Label>
                    <Positions>
                        <Points>0.51771032810211182</Points>
                        <Points>0.56192481517791748</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>12</Label>
                    <Positions>
                        <Points>0.48404961824417114</Points>
                        <Points>0.55325514078140259</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>13</Label>
                    <Positions>
                        <Points>0.57908332347869873</Points>
                        <Points>0.62439030408859253</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>14</Label>
                    <Positions>
                        <Points>0.5494731068611145</Points>
                        <Points>0.615152895450592</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>15</Label>
                    <Positions>
                        <Points>0.52025854587554932</Points>
                        <Points>0.58855414390563965</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>16</Label>
                    <Positions>
                        <Points>0.48847651481628418</Points>
                        <Points>0.55619245767593384</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>17</Label>
                    <Positions>
                        <Points>0.57136648893356323</Points>
                        <Points>0.65912783145904541</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>18</Label>
                    <Positions>
                        <Points>0.54293251037597656</Points>
                        <Points>0.617222249507904</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>19</Label>
                    <Positions>
                        <Points>0.53020155429840088</Points>
                        <Points>0.606507420539856</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>20</Label>
                    <Positions>
                        <Points>0.50880300998687744</Points>
                        <Points>0.58464843034744263</Points>
                    </Positions>
                </KeyPoints>
            </Hands>
            <Box>
                <Confident>0.71226352453231812</Confident>
                <Positions>
                    <Points>0.4974265992641449</Points>
                    <Points>0.50328123569488525</Points>
                </Positions>
                <Positions>
                    <Points>0.62906938791275024</Points>
                    <Points>0.50328123569488525</Points>
                </Positions>
                <Positions>
                    <Points>0.62906938791275024</Points>
                    <Points>0.65238773822784424</Points>
                </Positions>
                <Positions>
                    <Points>0.4974265992641449</Points>
                    <Points>0.65238773822784424</Points>
                </Positions>
            </Box>
        </Results>
        <Results>
            <Hands>
                <Confident>0.9999852180480957</Confident>
                <KeyPoints>
                    <Label>0</Label>
                    <Positions>
                        <Points>0.393640398979187</Points>
                        <Points>0.59868341684341431</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>1</Label>
                    <Positions>
                        <Points>0.42132681608200073</Points>
                        <Points>0.62495428323745728</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>2</Label>
                    <Positions>
                        <Points>0.43745431303977966</Points>
                        <Points>0.689828097820282</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>3</Label>
                    <Positions>
                        <Points>0.4462774395942688</Points>
                        <Points>0.77660030126571655</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>4</Label>
                    <Positions>
                        <Points>0.45127806067466736</Points>
                        <Points>0.83825963735580444</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>5</Label>
                    <Positions>
                        <Points>0.44249773025512695</Points>
                        <Points>0.71941894292831421</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>6</Label>
                    <Positions>
                        <Points>0.44476762413978577</Points>
                        <Points>0.81073153018951416</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>7</Label>
                    <Positions>
                        <Points>0.45668521523475647</Points>
                        <Points>0.86831820011138916</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>8</Label>
                    <Positions>
                        <Points>0.45888024568557739</Points>
                        <Points>0.93340605497360229</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>9</Label>
                    <Positions>
                        <Points>0.41096386313438416</Points>
                        <Points>0.7522350549697876</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>10</Label>
                    <Positions>
                        <Points>0.41827210783958435</Points>
                        <Points>0.83636075258255</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>11</Label>
                    <Positions>
                        <Points>0.43387466669082642</Points>
                        <Points>0.87332594394683838</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>12</Label>
                    <Positions>
                        <Points>0.44423216581344604</Points>
                        <Points>0.9019133448600769</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>13</Label>
                    <Positions>
                        <Points>0.38739094138145447</Points>
                        <Points>0.76350539922714233</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>14</Label>
                    <Positions>
                        <Points>0.39671486616134644</Points>
                        <Points>0.82768404483795166</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>15</Label>
                    <Positions>
                        <Points>0.41303998231887817</Points>
                        <Points>0.84740370512008667</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>16</Label>
                    <Positions>
                        <Points>0.43770962953567505</Points>
                        <Points>0.86880898475646973</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>17</Label>
                    <Positions>
                        <Points>0.3712017834186554</Points>
                        <Points>0.760955810546875</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>18</Label>
                    <Positions>
                        <Points>0.387716680765152</Points>
                        <Points>0.83686923980712891</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>19</Label>
                    <Positions>
                        <Points>0.39462429285049438</Points>
                        <Points>0.84625548124313354</Points>
                    </Positions>
                </KeyPoints>
                <KeyPoints>
                    <Label>20</Label>
                    <Positions>
                        <Points>0.41109806299209595</Points>
                        <Points>0.83971405029296875</Points>
                    </Positions>
                </KeyPoints>
            </Hands>
            <Box>
                <Confident>0.59800052642822266</Confident>
                <Positions>
                    <Points>0.35801595449447632</Points>
                    <Points>0.54407310485839844</Points>
                </Positions>
                <Positions>
                    <Points>0.47501063346862793</Points>
                    <Points>0.54407310485839844</Points>
                </Positions>
                <Positions>
                    <Points>0.47501063346862793</Points>
                    <Points>0.93112361431121826</Points>
                </Positions>
                <Positions>
                    <Points>0.35801595449447632</Points>
                    <Points>0.93112361431121826</Points>
                </Positions>
            </Box>
        </Results>
        <HandCount>2</HandCount>
    </Outputs>
</Data>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "99CE0601-FA61-4A41-BBF0-72D3E1FF5139",
  "Data" : {
    "MetaObject" : {
      "Height" : 360,
      "Width" : 640
    },
    "Outputs" : [ {
      "Results" : [ {
        "Hands" : {
          "Confident" : "0.99994850158691406",
          "KeyPoints" : [ {
            "Label" : "0",
            "Positions" : [ {
              "Points" : [ "0.60814106464385986", "0.57843714952468872" ]
            } ]
          }, {
            "Label" : "1",
            "Positions" : [ {
              "Points" : [ "0.5954553484916687", "0.53584885597229" ]
            } ]
          }, {
            "Label" : "2",
            "Positions" : [ {
              "Points" : [ "0.58072149753570557", "0.52881228923797607" ]
            } ]
          }, {
            "Label" : "3",
            "Positions" : [ {
              "Points" : [ "0.55731791257858276", "0.53051036596298218" ]
            } ]
          }, {
            "Label" : "4",
            "Positions" : [ {
              "Points" : [ "0.556272029876709", "0.54263561964035034" ]
            } ]
          }, {
            "Label" : "5",
            "Positions" : [ {
              "Points" : [ "0.58563053607940674", "0.5606304407119751" ]
            } ]
          }, {
            "Label" : "6",
            "Positions" : [ {
              "Points" : [ "0.55570542812347412", "0.56016099452972412" ]
            } ]
          }, {
            "Label" : "7",
            "Positions" : [ {
              "Points" : [ "0.527125895023346", "0.53607034683227539" ]
            } ]
          }, {
            "Label" : "8",
            "Positions" : [ {
              "Points" : [ "0.50249892473220825", "0.52858757972717285" ]
            } ]
          }, {
            "Label" : "9",
            "Positions" : [ {
              "Points" : [ "0.58144932985305786", "0.600288450717926" ]
            } ]
          }, {
            "Label" : "10",
            "Positions" : [ {
              "Points" : [ "0.548987090587616", "0.57786983251571655" ]
            } ]
          }, {
            "Label" : "11",
            "Positions" : [ {
              "Points" : [ "0.51771032810211182", "0.56192481517791748" ]
            } ]
          }, {
            "Label" : "12",
            "Positions" : [ {
              "Points" : [ "0.48404961824417114", "0.55325514078140259" ]
            } ]
          }, {
            "Label" : "13",
            "Positions" : [ {
              "Points" : [ "0.57908332347869873", "0.62439030408859253" ]
            } ]
          }, {
            "Label" : "14",
            "Positions" : [ {
              "Points" : [ "0.5494731068611145", "0.615152895450592" ]
            } ]
          }, {
            "Label" : "15",
            "Positions" : [ {
              "Points" : [ "0.52025854587554932", "0.58855414390563965" ]
            } ]
          }, {
            "Label" : "16",
            "Positions" : [ {
              "Points" : [ "0.48847651481628418", "0.55619245767593384" ]
            } ]
          }, {
            "Label" : "17",
            "Positions" : [ {
              "Points" : [ "0.57136648893356323", "0.65912783145904541" ]
            } ]
          }, {
            "Label" : "18",
            "Positions" : [ {
              "Points" : [ "0.54293251037597656", "0.617222249507904" ]
            } ]
          }, {
            "Label" : "19",
            "Positions" : [ {
              "Points" : [ "0.53020155429840088", "0.606507420539856" ]
            } ]
          }, {
            "Label" : "20",
            "Positions" : [ {
              "Points" : [ "0.50880300998687744", "0.58464843034744263" ]
            } ]
          } ]
        },
        "Box" : {
          "Confident" : "0.71226352453231812",
          "Positions" : [ {
            "Points" : [ "0.4974265992641449", "0.50328123569488525" ]
          }, {
            "Points" : [ "0.62906938791275024", "0.50328123569488525" ]
          }, {
            "Points" : [ "0.62906938791275024", "0.65238773822784424" ]
          }, {
            "Points" : [ "0.4974265992641449", "0.65238773822784424" ]
          } ]
        }
      }, {
        "Hands" : {
          "Confident" : "0.9999852180480957",
          "KeyPoints" : [ {
            "Label" : "0",
            "Positions" : [ {
              "Points" : [ "0.393640398979187", "0.59868341684341431" ]
            } ]
          }, {
            "Label" : "1",
            "Positions" : [ {
              "Points" : [ "0.42132681608200073", "0.62495428323745728" ]
            } ]
          }, {
            "Label" : "2",
            "Positions" : [ {
              "Points" : [ "0.43745431303977966", "0.689828097820282" ]
            } ]
          }, {
            "Label" : "3",
            "Positions" : [ {
              "Points" : [ "0.4462774395942688", "0.77660030126571655" ]
            } ]
          }, {
            "Label" : "4",
            "Positions" : [ {
              "Points" : [ "0.45127806067466736", "0.83825963735580444" ]
            } ]
          }, {
            "Label" : "5",
            "Positions" : [ {
              "Points" : [ "0.44249773025512695", "0.71941894292831421" ]
            } ]
          }, {
            "Label" : "6",
            "Positions" : [ {
              "Points" : [ "0.44476762413978577", "0.81073153018951416" ]
            } ]
          }, {
            "Label" : "7",
            "Positions" : [ {
              "Points" : [ "0.45668521523475647", "0.86831820011138916" ]
            } ]
          }, {
            "Label" : "8",
            "Positions" : [ {
              "Points" : [ "0.45888024568557739", "0.93340605497360229" ]
            } ]
          }, {
            "Label" : "9",
            "Positions" : [ {
              "Points" : [ "0.41096386313438416", "0.7522350549697876" ]
            } ]
          }, {
            "Label" : "10",
            "Positions" : [ {
              "Points" : [ "0.41827210783958435", "0.83636075258255" ]
            } ]
          }, {
            "Label" : "11",
            "Positions" : [ {
              "Points" : [ "0.43387466669082642", "0.87332594394683838" ]
            } ]
          }, {
            "Label" : "12",
            "Positions" : [ {
              "Points" : [ "0.44423216581344604", "0.9019133448600769" ]
            } ]
          }, {
            "Label" : "13",
            "Positions" : [ {
              "Points" : [ "0.38739094138145447", "0.76350539922714233" ]
            } ]
          }, {
            "Label" : "14",
            "Positions" : [ {
              "Points" : [ "0.39671486616134644", "0.82768404483795166" ]
            } ]
          }, {
            "Label" : "15",
            "Positions" : [ {
              "Points" : [ "0.41303998231887817", "0.84740370512008667" ]
            } ]
          }, {
            "Label" : "16",
            "Positions" : [ {
              "Points" : [ "0.43770962953567505", "0.86880898475646973" ]
            } ]
          }, {
            "Label" : "17",
            "Positions" : [ {
              "Points" : [ "0.3712017834186554", "0.760955810546875" ]
            } ]
          }, {
            "Label" : "18",
            "Positions" : [ {
              "Points" : [ "0.387716680765152", "0.83686923980712891" ]
            } ]
          }, {
            "Label" : "19",
            "Positions" : [ {
              "Points" : [ "0.39462429285049438", "0.84625548124313354" ]
            } ]
          }, {
            "Label" : "20",
            "Positions" : [ {
              "Points" : [ "0.41109806299209595", "0.83971405029296875" ]
            } ]
          } ]
        },
        "Box" : {
          "Confident" : "0.59800052642822266",
          "Positions" : [ {
            "Points" : [ "0.35801595449447632", "0.54407310485839844" ]
          }, {
            "Points" : [ "0.47501063346862793", "0.54407310485839844" ]
          }, {
            "Points" : [ "0.47501063346862793", "0.93112361431121826" ]
          }, {
            "Points" : [ "0.35801595449447632", "0.93112361431121826" ]
          } ]
        }
      } ],
      "HandCount" : 2
    } ]
  }
}

錯誤碼

關于手勢關鍵點檢測的錯誤碼,詳情請參見常見錯誤碼

開源模型體驗

更多開源免費模型體驗及下載,詳見魔搭社區:全身關鍵點檢測-通用領域-2DYOLOX-PAI手部檢測模型

安全聲明

  • 請確保上傳的圖片或文件來源符合相應的法律法規。
  • 通過體驗調試上傳的臨時文件有效期為1小時,在24小時后會被系統自動清理刪除。