Building a Real-Time Object Recognition App with Tensorflow and OpenCV
Dat Tran
2.6K41

Nicely explained.

I was trying to execute object_detection_app.py and getting below error message.

Traceback (most recent call last):
 File “object_detection_app.py”, line 26, in <module>
 label_map = label_map_util.load_labelmap(PATH_TO_LABELS)
 File “F:\Jupyter_notebook\Object-Detector-App-master\object_detection\utils\label_map_util.py”, line 107, in load_labelmap
 text_format.Merge(label_map_string, label_map)
 File “C:\Python35\lib\site-packages\google\protobuf\text_format.py”, line 477, in Merge
 text.split(‘\n’),
TypeError: a bytes-like object is required, not ‘str’

Is there anything I am missing particularly?

I am using Python 3.5 , TensorFlow 1.0 and protobuf 3.3 in windows platform.

Thanks.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.