Based on the information provided in the extracts, it seems like youâre trying to use a âDetectionâ attribute from the âsupervisionâ module, but itâs not recognized. This could be due to a few reasons:
The âDetectionâ attribute might not exist in the version of âsupervisionâ youâre using. The extracts mention the use of âsupervisionâ version 0.1.0. You can install this specific version using the following command:
You might be trying to use an attribute or method that doesnât exist in the âsupervisionâ module. The extracts provided donât mention a âDetectionâ attribute. You might want to double-check the attribute or method youâre trying to use.
There could be an issue with how youâre importing the âsupervisionâ module or its components. Make sure youâre importing the necessary components correctly. For example:
from supervision.video.dataclasses import VideoInfo
from supervision.video.sink import VideoSink
from supervision.video.source import get_video_frames_generator
Hi! Iâm Roboflowâs AI powered bot. This is an automated response powered using AI with knowledge from our docs, blog, knowledge base, and previous forum responses. If you find this to be a helpful answer, please mark it as the solution using the checkbox icon below. If this doesnât solve your issue, please follow up with what youâve tried/why, and the community will continue to chime in as usual.
Hello aravi_kravi
Could you please give a detailed description of the code you wrote , or paste a snippet of the code , including the imports , better if you could share the snippet in colab ipynb, so that we can have a look and help you with the solution.
Thank you