inferencejs Reference
Reference for `inferencejs`, an edge library for deploying computer vision applications built with Roboflow to web/JavaScript environments
Installation
Getting Started
import { InferenceEngine } from "inferencejs";
const PUBLISHABLE_KEY = "rf_a6cd..."; // replace with your own publishable key from Roboflow
const inferEngine = new InferenceEngine();
const workerId = await inferEngine.startWorker("[PROJECT URL SLUG]", [VERSION NUMBER], PUBLISHABLE_KEY);
//make inferences against the model
const result = await inferEngine.infer(workerId, img);API
InferenceEngine
YOLO Lite YOLOv8 YOLOv5
YOLO Lite YOLOv8 YOLOv5GazeDetections
GazeDetectionsCVImage
CVImageConstructor
Methods
Last updated
Was this helpful?