Link 404 error in DNN tutorial
Hi, the link provided for DNN tutorial at DNN Tutorial. The name of the file is - classification_classes_ILSVRC2012.txt
Hi, the link provided for DNN tutorial at DNN Tutorial. The name of the file is - classification_classes_ILSVRC2012.txt
Hi Christof,
Yes, I had to tweak the code a bit to get the answer. Firstly, the code in the tutorial is updated in the actual repository. This is my reference code - classification.py
So the command line changes to this -
python classification.py --model=bvlc_googlenet.caffemodel --config=bvlc_googlenet.prototxt --width=224 --height=224 --classes=classification_classes_ILSVRC2012.txt --input=sample.jpg
Instead of this -
python classification.py --model=bvlc_googlenet.caffemodel --config=bvlc_googlenet.prototxt --width=224 --height=224 --classes=classification_classes_ILSVRC2012.txt --input=space_shuttle.jpg --mean="104 117 123"
Also, I used matplotlib to get the result, because cv.namedWindow(winName, cv.WINDOW_NORMAL), wasn't working on my system, and a few answers on StackOverflow don't recommend using it either. So, I am using the following -
import matplotlib.pyplot as plt
plt.imshow(frame)
plt.show(block=True)
I am also having trouble with the waitkey function. So, I mostly need to reinstall a few things. Hope this helps.
Hi, You can find the file here as well: https://github.com/opencv/opencv/blob...
Nevertheless I have problems running the example. I do not get the result as shown in the linked DNN Tutorial. Are you able to reproduce the result? Christof
Asked: 2019-03-27 08:11:31 -0600
Seen: 299 times
Last updated: Apr 03 '19
Do all opencv functions support in-place mode for their arguments?
How to add documentation to a class?
Best site for general documentation
how to understand which functions available in python bindings?
sphinx documentation validation process ?
Are the windows installation instructions for 2.4.3 out of date?
thanks, but someone beat you
That's okay. I wasn't able to find it on GitHub. Thanks!