🚀 The TensorFlow Object Counting API is an open source framework built on top of TensorFlow and Keras that makes it easy to develop object counting systems!
Hi, I'm getting this error when trying to load the API. I've installed the modified utils files and I've verified that visualization_utils.py in the utils folder has the correct function. Thanks!
AttributeError Traceback (most recent call last)
in
17 deviation = 1 # the constant that represents the object counting area
18
---> 19 object_counting_api.cumulative_object_counting_x_axis(input_video, detection_graph, category_index, is_color_recognition_enabled, fps, width, height, roi, deviation) # counting all the objects
~\AppData\Local\Programs\Python\Python37\Lib\site-packages\tensorflow\models\research\object_detection\api\object_counting_api.py in cumulative_object_counting_x_axis(input_video, detection_graph, category_index, is_color_recognition_enabled, fps, width, height, roi, deviation)
72
73 # Visualization of the results of a detection.
---> 74 counter, csv_line, counting_mode = vis_util.visualize_boxes_and_labels_on_image_array_x_axis(cap.get(1),
75 input_frame,
76 1,
AttributeError: module 'utils.visualization_utils' has no attribute 'visualize_boxes_and_labels_on_image_array_x_axis'
Hi, I'm getting this error when trying to load the API. I've installed the modified utils files and I've verified that visualization_utils.py in the utils folder has the correct function. Thanks!
AttributeError Traceback (most recent call last)