Adaptive Recognition Cloud - Vehicle API Client
A JavaScript/TypeScript client for the AR Cloud Vehicle API.
How to Install
npm install --save @adaptive-recognition/vehicle-api-client
Usage
import { VehicleAPIClient, Locations } from "@adaptive-recognition/vehicle-api-client";
const client = new VehicleAPIClient({
apiKey: "<YOUR_API_KEY>",
services: { anpr: true, mmr: true },
inputImageLocation: Locations.Europe.Hungary,
cloudServiceRegion: "EU"
});
async function recognizeVehicle() {
const response = await client.send("./car.jpg");
console.log(response);
}
recognizeVehicle()
.then()
.catch(err => console.error(err));
Development
See DEVELOPMENT.md
.