Links

Photo Labelling API

The Photo Labelling API processes images of houses and generates the correct label for both indoor and outdoor images.
Foto labelen API voor het labelen van woningfoto's binnen en buiten

Labels

Initially the model outputs whether the picture was taken indoor or outdoor. If not recognized the API will label it as other.
For images taken indoors the model will label the following rooms with the output class mentioned in brackets:
  • Living room [‘living_room’]
  • Kitchen [‘kitchen’]
  • Bathroom [‘bathroom’]
  • Bedroom [‘bedroom’]
  • Other rooms [‘other_room’]
    • Hallway [‘hall_corridor’]
    • Room (empty room) [‘room’]
    • Scullery (bijkeuken) [‘scullery’]
Example indoor JSON response
{
"Output": {
"Image_Class": "indoor",
"ConfidencePercent_Image_Class": "100.0",
"Room_Class": "bedroom",
"ConfidencePercent_Room_Class": "99.22"
}
}
More specifically if an image belongs to the class Other rooms, the model will output also the specific subclass predicted for the image for example:
Image: the API labelled the image to be a hallway indoor, see output code below
{
"Output": {
"Image_Class": "indoor",
"ConfidencePercent_Image_Class": "99.9",
"Room_Class": "other_room",
"ConfidencePercent_Room_Class": "96.18",
"Room_Subclass": "hall_corridor",
"ConfidencePercent_Room_Subclass": "87.85"
}
}
Outdoor For images taken outdoors the model will label the following scenes:
  • Facade [‘facade’]
  • View [‘view’]
  • Street [‘street’]
  • Balcony/garden [‘balcony-garden’]
  • Building part [‘building_part’]
  • No building [‘no_building’]
Example outdoor response:
{
"Output": {
"Image_Class": "outdoor",
"ConfidencePercent_Image_Class": "99.99",
"Scene_Class1": "facade",
"ConfidencePercent_Scene_Class1": "93.89"
}
}
In case the confidence percent is lower than the threshold of 70.0, the model will output the top two predicted classes. This was developed to cover the cases where an image belongs to more than one class for example to balcony/garden and facade.
Image: the API labelled the image to be outdoor with the image belonging to show a balcony-garden and facade
{
"Output": {
"Image_Class": "outdoor",
"ConfidencePercent_Image_Class": "100.0",
"Scene_Class1": "balcony-garden",
"ConfidencePercent_Scene_Class1": "36.92",
"Scene_Class2": "facade",
"ConfidencePercent_Scene_Class2": "59.15"
}
}

Post a request

post
https://api.altum.ai
/labelling/img
IMG
post
https://api.altum.ai
/labelling/url
URL