Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

BoxAnnotator is deprecated

$
0
0

I'm uploading a project from Roboflow to my program. returns an error:

Supervision Warnings: BoxAnnotator is deprecated: BoxAnnotator is deprecated and will be removed in supervision-0.22.0. Use Bounding Box Annotation and Label Annotator insteadvisit https://app.roboflow.com/auth-cli to get your authentication token.

program code:

import cv2import numpy as npimport tkinter as tkfrom PIL import Image, ImageTkimport roboflow  from inference import get_modelroboflow.login()#export ROBOFLOW_API_KEY="my_key"rf = Roboflow(api_key="my_key")project = rf.workspace("bottle-ixxqe").project("bottle-al9vg")version = project.version(1)dataset = version.download("yolov8")model = get_model(model_id="yolov8n-640")results = model.infer("https://media.roboflow.com/inference/people-walking.jpg")

what's wrong?

recommendations about the BoxAnnotator I didn't find it.


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>