-
How to use Web Cam + yolov5+Sahi |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Hello @totoadel ! |
Beta Was this translation helpful? Give feedback.
-
@fcakyon why? |
Beta Was this translation helpful? Give feedback.
-
I mean |
Beta Was this translation helpful? Give feedback.
-
@fcakyon thank you. |
Beta Was this translation helpful? Give feedback.
-
@totoadel you can get these info from the result = get_sliced_prediction(
"demo_data/small-vehicles1.jpeg",
detection_model,
slice_height = 256,
slice_width = 256,
overlap_height_ratio = 0.2,
overlap_width_ratio = 0.2
)
result .object_prediction_list[0]
>> ObjectPrediction<
bbox: BoundingBox: <(447, 308, 496, 342), w: 49, h: 34>,
mask: None,
score: PredictionScore: <value: 0.91552734375>,
category: Category: <id: 2, name: car>> |
Beta Was this translation helpful? Give feedback.
-
Check demo notebooks for more detail: https://github.com/obss/sahi/blob/main/demo/inference_for_yolov5.ipynb |
Beta Was this translation helpful? Give feedback.
I mean
sahi
can support it but the implementation is not present at the moment. Feel free to open a PR for the camera feed support 👍