pastebin

Paste Search Dynamic
Recent pastes
cv2 imread
  1. import cv2
  2. import matplotlib.pyplot as plt
  3. import cvlib as cv
  4. from cvlib.object_detection import draw_bbox
  5. im = cv2.imread('myapple.jpg')
  6. bbox, label, conf = cv.detect_common_objects(im)
  7. output_image = draw_bbox(im, bbox, label, conf)
  8. plt.imshow(output_image)
  9. plt.show()
Parsed in 0.005 seconds