People Demography

Step by Step on How to Use People Demography

Parameters

In postman, send a POST to localhost:4004/NFFS-PDEM/v1/people-demography-classification

{
  "images": ["base64"]
}

Response

Success

{
    "job": {
        "id": "2022122814242800807d33521b3af452ffc366c361adf30f082265c42ea43aef1e59139396c892f28",
        "result": {
            "analytic_type": "PEOPLE_DEMOGRAPHY_CLASSIFICATION_PIPELINE",
            "result": [
                {
                    "people_demography": [
                      {
                        "age": 
                        {
                          "category": "Age18-60", 
                          "confidence": 0.9628
                        }, 
                        "gender": 
                        {
                          "category": "Male", 
                          "confidence": 0.6356
                        }
                      }, 
                      {
                        "age": 
                        {
                          "category": "AgeOver60", 
                          "confidence": 0.785
                        }, 
                        "gender": 
                        {
                          "category": "Female", 
                          "confidence": 0.874
                        }
                      }
                    ]
                }
            ],
            "status": "success"
        }
    },
    "message": "People Demography Classification Success",
    "ok": true
}

Error

{
  "job": {
    "id": "hex",
    "result": null
  },
  "message": "string",
  "ok": false
}

Last updated