get https://api.neuronsinc.com/predict/v2/images//aois
Pre-requisites
You must have an existing image with an associated media_id
Use the media_id to send the GET request to the endpoint /predict/v2/images/media_id/aois
Example of a successful response
If your image contains any AOIs, they should look like this:
{
"aois": {
"0c9e8470-1bc4-4e83-b82f-2da605273ab4": {
"spec": {
"points": [
{
"x": 0.1,
"y": 0.1
},
{
"x": 0.1,
"y": 0.3
},
{
"x": 0.4,
"y": 0.3
},
{
"x": 0.4,
"y": 0.1
}
],
"name": "AOI testing",
"autodetected": false
},
"attentionpercent": 3.0183477327227592,
"focus_first_two": 4.848102107644081,
"focus_last_two": 0.6302486639469862,
"cognitive_percent": 0.9335138729779904,
"clarity_percent": 6.58610862724483,
"engagement_percent": 3.8307876538485286,
"percentage_seen": 17.595168063907714,
"tot_fix_duration": 0.20957151052745265
}
},
"version": "AOI_IMG_20232809_TIME-SPENT-SCALE-FIX"
}