v0.0.4
This commit is contained in:
parent
3ca49eab31
commit
1814b59855
@ -149,8 +149,8 @@ class VideoConsumer(AsyncWebsocketConsumer):
|
||||
results = model.predict(source=cropped, save=False, verbose=False)
|
||||
|
||||
detected = False
|
||||
# annotated_img = img.copy()
|
||||
annotated_img = cropped # для отображения рабочей области нейронки
|
||||
annotated_img = img.copy()
|
||||
# annotated_img = cropped # для отображения рабочей области нейронки
|
||||
|
||||
for box in results[0].boxes:
|
||||
cls_id = int(box.cls[0])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user