API Documentation

Face Detection API

Face Detection For Single Face

POST https://api.iapp.co.th/face_detect_single

This URL allows you to find a face on the image and also locates the bounding box and extracting the feature on the face.

Headers

Name
Type
Description

apikey*

String

The API Key to call this API

Request Body

Name
Type
Description

file*

File

The binary data of the image

company

String

The company name

{
    "bbox": {
        "xmax": 336.96875,
        "xmin": 0.8846354484558105,
        "ymax": 485.84490966796875,
        "ymin": 45.80070114135742
    },
    "detection_score": 0.9967709183692932,
    "face": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQoKCgoKBggLDAsKDAkKCgr/2wBDAQICAgICAgUDAwUKBwYHCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgr/wAARCABwAHADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIR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TU9Js/NikDb49wG0kEHqMYwfbH4CvJda+GF9fTbG8KsvzfeaCMjPsVrqf2T/26fD3xK8Np4J+J15FD4jhJti9xhF1MKp/ep2LkKxZB3VmAC9PTb/UfCd1CXsrlOemPSubG4LFZbiZUK8bSX3PzXkz6PC8Q4nEYSMqNa8bfNeR5R4Q+G1hogWaW2+fjAVeB+VdI0K2I8yMbRjBzWnq+saPZpv86MADk7hXC6/8Qre9uWs9NcFckNKPu/n3/CuFt3POrVZ1Juc3dss+JfEjQxMkEgLc4y1fnj8UPix4s/aS+KpWz1Rxomn6mbaPSIwMSQqVmadx1eQqqL1IQFgv323/AE7+2J8Uofhv+zx4m14TD7TcWJsrTM5jYyzkRBlI53KGaQY/uHtXxD+xXYS6hZal441+58i30+eZnEjcysQFXJ5wPmwCe5TtnHRQpKdOUnsjhrVZe0jBdT0n44ajqmipoU91pU8VrbWgikuJIGZH2yMjIGxgNuiU45JC+lVl+IhuLcXKTCZ1YQIGYgNn5c5/Et+Ar7M8K/DbQfHPw8j8E+PNFi1C0u7EfaVlU8uxDs3ByG3fNkEEHkEHBr5u+LX7AvxT8F+LdK8MfBTTNS8U2XiLWY7HS7S3tvMu7Wd23Ikm0YKAK377hQAd23gtyUaynU5eoq8JU43Z/9k=",
    "message": "successfully performed",
    "process_time": 0.9728856086730957
}

Parameter in Response

Name
Type
Description

bbox

Dictionary

Face bounding boxes of personal

xmax

Float

Maximum value in the x-axis

xmin

Float

Minimum value in the x-axis

ymax

Float

Maximum value in the y-axis

ymin

Float

Minimum value in the y-axis

detection_score

String

Detection score of face in image.

face

Base64

Face image in base64 format

message

String

The processing status

process_time

Float

The processing time

Sample Requests

//Use default score
curl --location --request POST 'https://api.iapp.co.th/face_detect_single' \
--header 'apikey: {Your API Key}' \
--form 'file=@"{Your Image File Path}"'

//Use score of each company
curl --location --request POST 'https://api.iapp.co.th/face_detect_single' \
--header 'apikey: {Your API Key}' \
--form 'file=@"{Your Image File Path}"'
--form 'company="{Your Company Name}"'

Face Detection For Multiple Face

POST https://api.iapp.co.th/face_detect_multi

This endpoint allows you to find faces on the image and also locates the bounding box and extracting the feature on the face.

Headers

Name
Type
Description

apikey*

String

The API Key to call this API

Request Body

Name
Type
Description

file*

File

The binary data of the image

company

String

The company name

{
    "message": "successfully performed",
    "process_time": 4.195805549621582,
    "result": [
        {
            "bbox": {
                "xmax": 3232.673095703125,
                "xmin": 2972.33984375,
                "ymax": 1944.851318359375,
                "ymin": 1592.1239013671875
            },
            "detection_score": 0.9998928308486938,
            "face": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQoKCgoKBggLDAsKDAkKCgr/2wBDAQICAgICAgUDAwUKBwYHCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgr/wAARCABwAHADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk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Oh13PQ1ofECxyNcW12V3EjGear6hquWMzuQ3f3q3H8GPET2q31vfoU25A3ckev1pLz4a65YWAvLqUFUxv3HJxn610Jwb3CVKcVdo6Dwb4/mgHlTtviZeX9K9D8K+LJZ4GjEx2dVJPb2rwvQLG6stQkEU++AkYGe/eu18O6q1nF5Kt8o6jPes50Iyd0YxryirNnpV7qpZyHbO7nBHFexfs1aJby+GJdamt1ElzOcEgH5Rx1/A18++HJtR1fVYtPsYvNedsJEOc17b8PLr4/6F4dXTrHwDYiOJyqyT3WGIx1wDz1rrwlBt6M5MRWi9LnuVikaRhQ2B2PtUl3DC8gZm6dDXmWmar+0DcoM6XpcOMZ3SMeT19OKuzad8dNTgJTV9OtmaM/KkTHae2c/5+teh7FL7SORSRzP/AAyroT/I3ijVpYwFBSS8Yk446g81Yb9lDwA4X7Ut46Dll+2PyfxJr1WMqp2Fe/UU55FKnKHp601XqdWZcqPmX48/s/8Agb4deAdR8VeE9IaG6t1DSOZGYOu75gc+or5xl1Xyyr5OGPBHTNfbv7TsBn+C2vxjGTYyMD6YGRX5+31/PbzoHyEPY8ba58T7yjJnRh29UdSmtCU+W7nOOPennTJtUBa3bbJ6461yFtrnl3STFxtDDIIycV2el65aJC00EoAyDkH0/lXnVm4rQ9ClZuzNC2s/Hlnp7QWlyQMZBZzzj/8AVVDW7XxNcxIb29JLL8+TkEZxV69+ISNF5IlQ5+UMQeuKxH8bpdym2YqRnAPpz2rmi6l9jrlOPLZshjg+wKYlONvXmmx60yS+VFLg55wetVte8S2AUxK2TjkA9KxLW6luDlMnnse9d8E3G7POno2fV37EmgweI9TvNa1OJXexdUgkfsSvP9K+rLa0gSHy1GBxkGvmT/gniHHhbWJJ2Df8TAEE9RwOfevp6MhsENgV0Ub8hyvWTuPhtEwduMZ6YqW2hjaXDvjA4FNVx0Q4+lKrKrfMccVqFkf/2Q==",
        }
    ]
}

Parameter in Response

Name
Type
Description

message

String

The processing status

process_time

Float

The processing time

result

Array

The data in dictionary for each personal

bbox

Dictionary

Face bounding boxes of personal

xmax

Float

Maximum value in the x-axis

xmin

Float

Minimum value in the x-axis

ymax

Float

Maximum value in the y-axis

ymin

Float

Minimum value in the y-axis

detection_score

String

Detection score of face in image.

face

Base64

Face image in base64 format

Sample Requests

//Use default score
curl --location --request POST 'https://api.iapp.co.th/face_detect_multi' \
--header 'apikey: {Your API Key}' \
--form 'file=@"{Your Image File Path}"'

//Use score of each company
curl --location --request POST 'https://api.iapp.co.th/face_detect_multi' \
--header 'apikey: {Your API Key}' \
--form 'file=@"{Your Image File Path}"'
--form 'company="{Your Company Name}"'

Face Detection Tool

Default Score Configuration

GET https://api.iapp.co.th/face_config_score

This URL be for configure the default score of face detection for each company or check the default score

Query Parameters

Name
Type
Description

detection*

String

The default score of face detection

company*

String

The name of customer company

password*

String

The password of customer company

Headers

Name
Type
Description

apikey*

String

The API Key to call this API

{
    "company": "iApp",
    "detection_score": 0.99,
    "message": "the minimum score of detection has configuration completed.",
}

Parameter in Response

Name
Type
Description

company

String

The company name

detection_score

Float

The default score of face detection

message

String

The Processing status

****

Sample Requests

// Configure Score
curl --location -g --request GET 'https://api.iapp.co.th/face_config_score?detection={Detection Value}&company={Your Company Name}&password={Your Company Password}' \
--header 'apikey: {Your API Key}'
  
// Show Score
curl --location -g --request GET 'https://api.iapp.co.th/face_config_score?detection&company={Your Company Name}&password={Your Company Password}' \
--header 'apikey: {Your API Key}'

Last updated