### Fingertip Detection API Request Example Source: https://ai.baidu.com/tech/body/fingertip This example shows how to make a POST request to the Fingertip Detection API. Ensure you replace '您的access_token' with your actual access token. The 'image' parameter should contain the Base64 encoded image. ```bash POST https://aip.baidubce.com/rest/2.0/image-classify/v1/fingertip?access_token="您的access_token" Header header: Content-Type: "application/x-www-form-urlencoded" Params image="图片的Base64编码" ``` -------------------------------- ### Instrument Dashboard Reading Recognition API Request Example Source: https://ai.baidu.com/tech/ocr/meter This example demonstrates how to construct a POST request to the Instrument Dashboard Reading Recognition API, including the image data and access token in the header. ```HTTP POST image="图片的Base64编码" Header https://aip.baidubce.com/rest/2.0/ocr/v1/meter?access_token="您的access_token" ``` -------------------------------- ### Passport Recognition API Request Example Source: https://ai.baidu.com/tech/ocr_cards/passport This example demonstrates how to make a POST request to the passport recognition API. Ensure the 'image' parameter contains the Base64 encoded image. ```bash POST https://aip.baidubce.com/rest/2.0/ocr/v1/passport Header Content-Type: "application/x-www-form-urlencoded" Params image="图片的Base64编码" ``` -------------------------------- ### Seal Recognition API Request Example Source: https://ai.baidu.com/tech/ocr/seal This example shows the parameters and endpoint for making a request to the Seal Recognition API. Ensure you replace '图片的Base64编码' with the actual Base64 encoded image and '您的access_token' with your valid access token. ```HTTP Post https://aip.baidubce.com/rest/2.0/ocr/v1/seal?access_token="您的access_token" Header Content-Type: "application/x-www-form-urlencoded" Params image="图片的Base64编码" ``` -------------------------------- ### Web Image OCR JSON Response Example Source: https://ai.baidu.com/tech/ocr_others/webimage This is an example of the JSON response received after processing a web image with the OCR API. It contains the recognized text and its number. ```JSON { "words_result": [ { "words": "春宵苦短," }, { "words": "少女前进吧!" } ], "words_result_num": 2, "log_id": 2040333502667991300 } ``` -------------------------------- ### General Object and Scene Recognition API Request Source: https://ai.baidu.com/tech/imagerecognition/general This is an example of a POST request to the General Object and Scene Recognition API. Ensure you replace '图片的Base64编码' with the actual Base64 encoded image and '您的access_token' with your valid access token. The Content-Type header must be set to 'application/x-www-form-urlencoded'. ```bash Post https://aip.baidubce.com/rest/2.0/image‐classify/v2/advanced_general?access_token="您的access_token" Header header: Content-Type: "application/x-www-form-urlencoded" Params image="图片的Base64编码" ``` -------------------------------- ### Face Search API Request Example Source: https://ai.baidu.com/tech/face/search This snippet shows the parameters and endpoint for performing a 1:N face search. Ensure you replace placeholder values with your actual group ID, image Base64 encoding, and access token. ```bash Post https://aip.baidubce.com/rest/2.0/face/v2/identify?access_token=‘您的access_token’ Header header: Content-Type: "application/x-www-form-urlencoded" Params group_id="人脸库ID" image="图片的Base64编码" user_top_num=4 ```