FR Carte Grise

The .NET SDK supports the Mindee V1 Carte Grise API.

Product Specifications

Specification
Details

Endpoint Name

carte_grise

Recommended Version

v1.1

Supports Polling/Webhooks

❌ No

Support Synchronous HTTP Calls

✔️ Yes

Geography

🇫🇷 France

Quick-Start

Using the sample below, we are going to illustrate how to extract the data that we want using the SDK.

Carte Grise Sample

Sample Code

Sample Output (rST)

Standard Fields

These fields are generic and used in several products.

BaseField

Each prediction object contains a set of fields that inherit from the generic BaseField class. A typical BaseField object will have the following attributes:

  • Confidence (double?): the confidence score of the field prediction.

  • BoundingBox (BoundingBox): contains exactly 4 relative vertices (points) coordinates of a right rectangle containing the field in the document.

  • Polygon (Polygon): contains the relative vertices coordinates (Polygon extends List<Point>) of a polygon containing the field in the image.

  • PageId (int?): the ID of the page, always null when at document-level.

A Point simply refers to a List of double.

Aside from the previous attributes, all basic fields have access to a custom ToString method that can be used to print their value as a string.

StringField

The text field StringField extends BaseField, but also implements:

  • Value (string): corresponds to the field value.

  • RawValue (string): corresponds to the raw value as it appears on the document.

DateField

The date field DateField extends StringField, but also implements:

  • DateObject (DateTime?): an accessible representation of the value as a C# object. Can be null.

Attributes

The following fields are extracted for Carte Grise V1:

a

A: The vehicle's license plate number.

b

B: The vehicle's first release date.

c1

C1: The vehicle owner's full name including maiden name.

c3

C3: The vehicle owner's address.

c41

C41: Number of owners of the license certificate.

c4a

C4A: Mentions about the ownership of the vehicle.

d1

D1: The vehicle's brand.

d3

D3: The vehicle's commercial name.

e

E: The Vehicle Identification Number (VIN).

f1

F1: The vehicle's maximum admissible weight.

f2

F2: The vehicle's maximum admissible weight within the license's state.

f3

F3: The vehicle's maximum authorized weight with coupling.

Formula Number

FormulaNumber: The document's formula number.

g

G: The vehicle's weight with coupling if tractor different than category M1.

g1

G1: The vehicle's national empty weight.

i

I: The car registration date of the given certificate.

j

J: The vehicle's category.

j1

J1: The vehicle's national type.

j2

J2: The vehicle's body type (CE).

j3

J3: The vehicle's body type (National designation).

MRZ Line 1

Mrz1: Machine Readable Zone, first line.

MRZ Line 2

Mrz2: Machine Readable Zone, second line.

Owner's First Name

OwnerFirstName: The vehicle's owner first name.

Owner's Surname

OwnerSurname: The vehicle's owner surname.

p1

P1: The vehicle engine's displacement (cm3).

p2

P2: The vehicle's maximum net power (kW).

p3

P3: The vehicle's fuel type or energy source.

p6

P6: The vehicle's administrative power (fiscal horsepower).

q

Q: The vehicle's power to weight ratio.

s1

S1: The vehicle's number of seats.

s2

S2: The vehicle's number of standing rooms (person).

u1

U1: The vehicle's sound level (dB).

u2

U2: The vehicle engine's rotation speed (RPM).

v7

V7: The vehicle's CO2 emission (g/km).

x1

X1: Next technical control date.

y1

Y1: Amount of the regional proportional tax of the registration (in euros).

y2

Y2: Amount of the additional parafiscal tax of the registration (in euros).

y3

Y3: Amount of the additional CO2 tax of the registration (in euros).

y4

Y4: Amount of the fee for managing the registration (in euros).

y5

Y5: Amount of the fee for delivery of the registration certificate in euros.

y6

Y6: Total amount of registration fee to be paid in euros.

Last updated

Was this helpful?