Vehicle-Detection-and-Tracking icon indicating copy to clipboard operation
Vehicle-Detection-and-Tracking copied to clipboard

module 'helpers' has no attribute 'draw_box_label'

Open graficoc opened this issue 5 years ago • 1 comments

[420 4 457 68] , confidence: 0.44781974 ratio: 0.5780346820809248 [424 225 451 263] , confidence: 0.32874542 ratio: 0.7103393843725336 Frame: 1

AttributeError Traceback (most recent call last) in 198 for i in range(len(images))[0:7]: 199 image = images[i] --> 200 image_box = pipeline(image) 201 plt.imshow(image_box) 202 plt.show()

in pipeline(img) 100 if debug: 101 for i in range(len(z_box)): --> 102 img1= helpers.draw_box_label(img, z_box[i], box_color=(255, 0, 0)) 103 plt.imshow(img1) 104 plt.show()

AttributeError: module 'helpers' has no attribute 'draw_box_label'

graficoc avatar Jul 01 '19 11:07 graficoc

Not on this but on a different function I got the same error so I did this to fix it and it works

from helpers import box_iou2

zubairahmed-ai avatar Jul 31 '19 01:07 zubairahmed-ai