Vehicle Image Classification

Vehicle Image Classification Endpoint

Classify car body, interior, glazings, or other vehicle pictures

This endpoint allows you to submit a list of vehicle images (as URLs), and receive classifications by type (car body, interior, glazings, or other). As of yet, results are returned in the response, and they cannot be returned over a webhook, nor they can be consulted on our Hub.

Input
Output

{ "predictedClasses": [ "cabin", "dashboard" ]

{ "predictedClasses": [ "document"]

Classify a List of Images - Endpoint

POST https://alto.tchek.fr/apiV1/classification/image

Request Body

Name
Type
Description

urls

Array

List of file URLs. Example: { "urls": [ "https://tchek-images.s3.eu-west-3.amazonaws.com/swagger/classify/image1.jpeg", "https://tchek-images.s3.eu-west-3.amazonaws.com/swagger/classify/image2.jpeg", "https://tchek-images.s3.eu-west-3.amazonaws.com/swagger/classify/image3.jpeg", "https://tchek-images.s3.eu-west-3.amazonaws.com/swagger/classify/image4.jpeg", "https://tchek-images.s3.eu-west-3.amazonaws.com/swagger/classify/image5.jpeg" ] }

Response

{
  "id": "e798ef3ba67e5652",
  "status": 200,
  "data": [
    {
      "message": "Image processing successful.",
      "predictedClasses": [
        "cabin",
        "dashboard"
      ],
      "scores": {
        "accessory": 0.015633463859558105,
        "cabin": 0.9715495109558105,
        "carbody": 0.013804078102111816,
        "dashboard": 0.9615957140922546,
        "document": 0.03086721897125244,
        "glass": 0.016594767570495605,
        "licence_plate": 0.013472139835357666,
        "tire": 0.015939056873321533,
        "vin": 0.016034364700317383
      },
      "status_code": 200,
      "url": "https://tchek-images.s3.eu-west-3.amazonaws.com/swagger/classify/image1.jpeg"
    },
    {
      "message": "Image processing successful.",
      "predictedClasses": [
        "document"
      ],
      "scores": {
        "accessory": 0.009783029556274414,
        "cabin": 0.027354001998901367,
        "carbody": 0.02467721700668335,
        "dashboard": 0.022370994091033936,
        "document": 0.7731029987335205,
        "glass": 0.10858988761901855,
        "licence_plate": 0.028744637966156006,
        "tire": 0.036657631397247314,
        "vin": 0.05632579326629639
      },
      "status_code": 200,
      "url": "https://tchek-images.s3.eu-west-3.amazonaws.com/swagger/classify/image2.jpeg"
    },
    {
      "message": "Image processing successful.",
      "predictedClasses": [
        "carbody"
      ],
      "scores": {
        "accessory": 0.016119062900543213,
        "cabin": 0.06037038564682007,
        "carbody": 0.93216872215271,
        "dashboard": 0.018812477588653564,
        "document": 0.05532640218734741,
        "glass": 0.16170084476470947,
        "licence_plate": 0.041737377643585205,
        "tire": 0.19769150018692017,
        "vin": 0.05560237169265747
      },
      "status_code": 200,
      "url": "https://tchek-images.s3.eu-west-3.amazonaws.com/swagger/classify/image3.jpeg"
    },
    {
      "message": "Image processing successful.",
      "predictedClasses": [
        "cabin"
      ],
      "scores": {
        "accessory": 0.032152771949768066,
        "cabin": 0.776010274887085,
        "carbody": 0.006949424743652344,
        "dashboard": 0.09647578001022339,
        "document": 0.07652932405471802,
        "glass": 0.105785071849823,
        "licence_plate": 0.014162123203277588,
        "tire": 0.026241540908813477,
        "vin": 0.016241252422332764
      },
      "status_code": 200,
      "url": "https://tchek-images.s3.eu-west-3.amazonaws.com/swagger/classify/image4.jpeg"
    },
    {
      "message": "Image processing successful.",
      "predictedClasses": [
        "tire"
      ],
      "scores": {
        "accessory": 0.02280813455581665,
        "cabin": 0.01954561471939087,
        "carbody": 0.0548974871635437,
        "dashboard": 0.0214882493019104,
        "document": 0.014559686183929443,
        "glass": 0.04344755411148071,
        "licence_plate": 0.026197969913482666,
        "tire": 0.9352311491966248,
        "vin": 0.007956206798553467
      },
      "status_code": 200,
      "url": "https://tchek-images.s3.eu-west-3.amazonaws.com/swagger/classify/image5.jpeg"
    }
  ]
}

Name
Type
Description

id

integer

The internal id of the request

status

string

The status of the request.

data

array

See below

data array

Name
Type
Description

message

string

A message confirming whether the images were processed.

predictedClasses

array of strings

The classes which obtained the highest prediction score

status_code

string

The status of the request.

url

string

the url of the image

scores array

Name
Type
Description

accessory

number

The probability score (between 0 and 1) that the image contains an accessory (i.e Tyre inflation kit, tools, electric vehicle charger, Safety triangle, safety jacket, spare wheel, charging cable)

cabin

number

The probability score (between 0 and 1) that the image contains a car cabin

carbody

number

The probability score (between 0 and 1) that the image contains a car body

dashboard

number

The probability score (between 0 and 1) that the image contains a car dashboard

document

number

The probability score (between 0 and 1) that the image contains a document

glass

number

The probability score (between 0 and 1) that the image contains glazings

licence_plate

number

The probability score (between 0 and 1) that the image contains a license plate

tire

number

The probability score (between 0 and 1) that the image contains a tire

vin

number

The probability score (between 0 and 1) that the image contains a Vehicle Identification Number (VIN)

Last updated

Was this helpful?