inferencejs 레퍼런스
Roboflow로 만든 컴퓨터 비전 애플리케이션을 웹/JavaScript 환경에 배포하기 위한 엣지 라이브러리인 `inferencejs` 레퍼런스입니다.
설치
시작하기
import { InferenceEngine } from "inferencejs";
const PUBLISHABLE_KEY = "rf_a6cd..."; // Roboflow에서 가져온 본인의 publishable key로 교체하세요
const inferEngine = new InferenceEngine();
const workerId = await inferEngine.startWorker("[PROJECT URL SLUG]", [VERSION NUMBER], PUBLISHABLE_KEY);
// 모델에 대해 추론 실행
const result = await inferEngine.infer(workerId, img);API
InferenceEngine
YOLO Lite YOLOv8 YOLOv5
YOLO Lite YOLOv8 YOLOv5GazeDetections
GazeDetectionsCVImage
CVImage생성자
메서드
마지막 업데이트
도움이 되었나요?