eragonruan / text-detection-ctpn

text detection mainly based on ctpn model in tensorflow, id card detect, connectionist text proposal network
MIT License
3.44k stars 1.34k forks source link

no module named 'utils.bbox.bbox' #375

Open Curry30h opened 5 years ago

521alice commented 5 years ago

do you fix it?

Curry30h commented 5 years ago

do you fix it?

you need compile the make.sh file first

521alice commented 5 years ago

do you fix it?

you need compile the make.sh file first

在win10系统下 已经执行过这个操作,但是依然会报错

mrxiaohe commented 5 years ago

Two things:

(1) you might need to create __init__.py files in the relevant folders. I put one in the \text-detection-ctpn\utils folder, and one in the text-detection-ctpn\utils\bbox folder.

(2). After you finished compilation in the text-detection-ctpn\utils\bbox folder (I did python setup.py install), you might need to copy the two .pyd files (produced by the compilation) from the build folder (see screenshot below) into the text-detection-ctpn\utils\bbox folder.

image

On my computer, the specific folder that the two .pyd files are initially located in is:

...\text-detection-ctpn\utils\bbox\build\lib.win-amd64-3.7\utils\bbox

image

yuxiaomu commented 5 years ago

@mrxiaohe 请问你知道我这是怎么回事吗 image

VictorYang097 commented 4 years ago

@yuxiaomu 下载gcc环境了吗?