Classification
This page details the endpoint for sending images for classification through Foyer Insight. An SDK is provided at https://www.npmjs.com/package/@foyer-inc/insight-sdk
Classify a single image
Headers
Name
Type
Description
Request Body
Name
Type
Description
{
"classifications": [
{
"name": "living_room",
"confidence": 0.9996274709701538,
"rank": 1
},
{
"name": "outdoor",
"confidence": 0.7036548946876468,
"rank": 2
}
],
"detections": [
{
"class": "floor",
"area": 0.1321029663085938,
"boundingBox": [
0,
0.091796875,
0.998046875,
0.896484375
],
"confidence": 0.4213932454586029,
"attributes": [
{
"name": "floor_type",
"value": "hardwood",
"confidence": 0.923857
}
],
"segmentation": {'size': [512, 512], 'counts': 'YWY62[`1OdoN0ZXd1'}
}
],
"metadata": {
"md5": "6897fa4c4cb0cc682ac75d90f83eafb5",
"width": 1937,
"height": 2583
}
}Example request body
Possible classifications
Possible object detections
Attributes
Possible flooring classifications
Classify images from a RESO object
Headers
Name
Type
Description
Request Body
Name
Type
Description
Example request body
Example request return
Last updated