Can i detect on my own video?
babymilo opened this issue · comments
Can i detect on my own video?
Yes sure have a look at this code snippet. You just need to replace the video source with your video.
I got error when i running your code .
Traceback (most recent call last):
File "po.py", line 70, in
tf.import_graph_def(od_graph_def, name='')
File "/Users/PEE/tensorflow/lib/python2.7/site-packages/tensorflow/python/framework/importer.py", line 258, in import_graph_def
op_def = op_dict[node.op]
KeyError: u'TensorArrayV3'
Hey this seems to be related to this issue: tensorflow/models#1603. I also use Python 3.5 so probably this is because you're using 2.7.
I try to running with Python 2.7 again.It work!
Thank you very much
How to detect with Traffic Sign?
Well you need to train a model that is able to detect traffic signs. Either you collect the data by yourself and then you fine-tune it (also check my new article on how to do it) or you need to research if there is a already a dataset for this and then also do the fine-tuning.