inferencejs 참고 문서
Roboflow로 구축한 컴퓨터 비전 애플리케이션을 웹/JavaScript 환경에 배포하기 위한 엣지 라이브러리 `inferencejs` 참고 문서입니다.
설치
시작하기
import { InferenceEngine } from "inferencejs";
const PUBLISHABLE_KEY = "rf_a6cd..."; // Roboflow에서 받은 자신의 publishable key로 교체하세요
const inferEngine = new InferenceEngine();
// Roboflow의 모델 페이지에서 복사한 모델 id로 모델을 불러옵니다.
const workerId = await inferEngine.startWorkerByModelId("[MODEL ID]", PUBLISHABLE_KEY);
// 모델에 대해 추론을 수행합니다
const result = await inferEngine.infer(workerId, img);API
InferenceEngine
YOLO Lite YOLOv8 YOLOv5
GazeDetections
CVImage
생성자
메서드
마지막 업데이트
도움이 되었나요?