text-detection-ctpn icon indicating copy to clipboard operation
text-detection-ctpn copied to clipboard

no module named 'utils.bbox.bbox'

Open Curry30h opened this issue 5 years ago • 6 comments

Curry30h avatar Jun 10 '19 02:06 Curry30h

do you fix it?

521alice avatar Jun 11 '19 02:06 521alice

do you fix it?

you need compile the make.sh file first

Curry30h avatar Jun 11 '19 02:06 Curry30h

do you fix it?

you need compile the make.sh file first

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

521alice avatar Jun 11 '19 08:06 521alice

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

mrxiaohe avatar Jun 20 '19 17:06 mrxiaohe

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

yuxiaomu avatar Aug 01 '19 06:08 yuxiaomu

@yuxiaomu 下载gcc环境了吗?

VictorYang097 avatar Feb 02 '20 15:02 VictorYang097