chineseocr / darknet-ocr

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

exec app.py error #24

Closed NUAAwanghe closed 4 years ago

NUAAwanghe commented 4 years ago

Traceback (most recent call last): File "app.py", line 14, in from dnn.text import detect_lines File "/home/wanghe/darknet-ocr/dnn/text.py", line 13, in from dnn.darknet import load_net,predict_image,array_to_image File "/home/wanghe/darknet-ocr/dnn/darknet.py", line 112, in predict_image =lib.network_predict_image_vgg File "/usr/lib64/python3.6/ctypes/init.py", line 356, in getattr func = self.getitem(name) File "/usr/lib64/python3.6/ctypes/init.py", line 361, in getitem func = self._FuncPtr((name_or_ordinal, self)) AttributeError: ../darknet/libdarknet.so: undefined symbol: network_predict_image_vgg

this is my error,i git clone darknet and make it,then exec /bin/python3 app.py 8080 i make the darknet-ocr,but it does not work,prompt make: *** There are no rules to create the target "obj" required by "all". stop