Computer Vision

Score Interior

POST
Score interior images in terms of quality and condition. Ranges is from 0 (disrepair) to 1 (excellent).

Request

This endpoint expects an object.
image_urls
list of stringsRequired
A list of image URLs to send to the computer vision API.

Response

This endpoint returns an object
property_score
double
The score of the property's interior. It's a weighted average of the room qualities by their individual weights, calibrated based on observed correlations with rents. Feel free to build your own weights based on your business logic, for example if you want to give more importance to the kitchen quality than the bathroom quality. A number between 0 and 1.
qualities
list of objects
A list of detected qualities and their probabilities for each image. The list is in the same order as the input image URLs.
POST
1curl -X POST https://api.hellodata.ai/qualityscore/score_interior \
2 -H "x-api-key: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "image_urls": [
6 "https://example.com/image1.jpg",
7 "https://example.com/image2.jpg"
8 ]
9}'
200Successful
1{
2 "property_score": 0.9,
3 "qualities": [
4 {
5 "features": [
6 [
7 {
8 "probability": 0.9,
9 "feature": "stainless_steel_appliances"
10 }
11 ]
12 ],
13 "quality": 0.9,
14 "function": "kitchen",
15 "url": "https://example.com/image1.jpg"
16 }
17 ]
18}