#๐Ÿ”’ Will someone help me making an object detector model

19 messages ยท Page 1 of 1 (latest)

thin night
#

I need to submit for a project help me

zinc valeBOT
#

@thin night

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

high folio
thin night
#

Its dead

#

And it was urgent

#

Closed it

olive bramble
#

!rule hw

zinc valeBOT
#

8. Do not help with ongoing exams. When helping with homework, help people learn how to do the assignment without doing it for them.

thin night
olive bramble
thin night
#

heres the code
import cv2
import cvlib as cv
from cvlib.object_detection import draw_bbox

Start webcam

video = cv2.VideoCapture(0)

while True:
ret, frame = video.read()
if not ret:
break

# Detect objects (using YOLOv3-tiny by default)
bbox, label, conf = cv.detect_common_objects(frame, model='yolov3-tiny')

# Draw bounding boxes
output_image = draw_bbox(frame, bbox, label, conf)

# Show result
cv2.imshow("Object Detection", output_image)

# Press 'q' to quit
if cv2.waitKey(1) & 0xFF == ord('q'):
    break

video.release()
cv2.destroyAllWindows()

olive bramble
#

!code

zinc valeBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

thin night
#

!code
import cv2
import cvlib as cv
from cvlib.object_detection import draw_bbox

Start webcam

video = cv2.VideoCapture(0)

while True:
ret, frame = video.read()
if not ret:
break

# Detect objects (using YOLOv3-tiny by default)
bbox, label, conf = cv.detect_common_objects(frame, model='yolov3-tiny')

# Draw bounding boxes
output_image = draw_bbox(frame, bbox, label, conf)

# Show result
cv2.imshow("Object Detection", output_image)

# Press 'q' to quit
if cv2.waitKey(1) & 0xFF == ord('q'):
    break

video.release()
cv2.destroyAllWindows()

zinc valeBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

thin night
#

!close

zinc valeBOT
#
Python help channel closed with !close

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.