chineseocr / darknet-ocr

darknet text detect and darknet cnn ocr
MIT License
1.14k stars 287 forks source link

服务起不来network_predict_image_vgg找不到 #23

Closed akorezhao closed 4 years ago

akorezhao commented 4 years ago

$ python3 app.py 8080 app.py:81: SyntaxWarning: "is not" with a literal. Did you mean "!="? if 'uuid' is not None and (url is not None or imgString is not None): Traceback (most recent call last): File "app.py", line 14, in from dnn.text import detect_lines File "/Users/akore/Downloads/darknet-ocr-master/dnn/text.py", line 13, in from dnn.darknet import load_net,predict_image,array_to_image File "/Users/akore/Downloads/darknet-ocr-master/dnn/darknet.py", line 112, in predict_image =lib.network_predict_image_vgg File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/init.py", line 382, in getattr func = self.getitem(name) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/init.py", line 387, in getitem func = self._FuncPtr((name_or_ordinal, self)) AttributeError: dlsym(0x7ff287681f10, network_predict_image_vgg): symbol not found

wenlihaoyu commented 4 years ago

需要替换darknet项目network.c文件为本项目的network.c,请按照readme.md文件编译即可

wenlihaoyu commented 4 years ago

需要替换darknet项目network.c文件为本项目的network.c,请按照readme.md文件编译即可

akorezhao commented 4 years ago

感谢, 这个问题已经搞定了,但是现在只能出各种box,不出汉子

--

赵国强 qq: 1343754319 mobile: 18601147667 mail: akore@126.com

在 2019-12-31 22:31:52,"lywen" notifications@github.com 写道:

需要替换darknet项目network.c文件为本项目的network.c,请按照readme.md文件编译即可

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

akorezhao commented 4 years ago

好吧,翻了历史的评价记录,当前项目还没有ocr,期望尽快能出