kcg2015 / Vehicle-Detection-and-Tracking

Computer vision based vehicle detection and tracking using Tensorflow Object Detection API and Kalman-filtering
537 stars 192 forks source link

module 'helpers' has no attribute 'draw_box_label' #22

Open graficoc opened 5 years ago

graficoc commented 5 years ago

[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'
zubairahmed-ai commented 5 years ago

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