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