BADBADBADBOY / pytorchOCR

基于pytorch的ocr算法库,包括 psenet, pan, dbnet, sast , crnn
674 stars 133 forks source link

推理需要下载C++的opencv吗? #43

Closed aishangmaxiaoming closed 3 years ago

aishangmaxiaoming commented 3 years ago

<img width="1072" alt="image" src="https://user-images.githubusercontent.com/67897601/124539601-61883b00-de50-11eb-929a-cf64d7023dfa.png"

aishangmaxiaoming commented 3 years ago
image
aishangmaxiaoming commented 3 years ago
image
fxwfzsxyq commented 3 years ago

把这个注释掉

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年7月6日(星期二) 中午11:51 收件人: @.>; 抄送: @.***>; 主题: Re: [BADBADBADBOY/pytorchOCR] 推理需要下载C++的opencv吗? (#43)

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

aishangmaxiaoming commented 3 years ago

把这个注释掉

image

注释掉from .cppdbprocess import db_cpp ,db_cpp就没定义啦,这怎么办呢

fxwfzsxyq commented 3 years ago

不是这里,下面,把这个换成Python的,注释掉c++的

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年7月6日(星期二) 中午11:58 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [BADBADBADBOY/pytorchOCR] 推理需要下载C++的opencv吗? (#43)

把这个注释掉 …

注释掉from .cppdbprocess import db_cpp ,db_cpp就没定义啦,这怎么办呢 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

fxwfzsxyq commented 3 years ago

https://orangeai.bestpay.com.cn/aipaas-gateway/u0zzg7d02lupv152-notebook/edit/pytorchOCR_version2/ptocr/postprocess/DBpostprocess.py

在这里把12行注释掉

------------------ 原始邮件 ------------------ 发件人: "BADBADBADBOY/pytorchOCR" @.>; 发送时间: 2021年7月6日(星期二) 中午11:58 @.>; @.**@.>; 主题: Re: [BADBADBADBOY/pytorchOCR] 推理需要下载C++的opencv吗? (#43)

把这个注释掉 …

注释掉from .cppdbprocess import db_cpp ,db_cpp就没定义啦,这怎么办呢 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

fxwfzsxyq commented 3 years ago

你做多类别检测,你的yaml文件是不是搞错了,用这个https://github.com/BADBADBADBOY/pytorchOCR/blob/version2/config/det_DB_resnet50_mul.yaml

aishangmaxiaoming commented 3 years ago

你做多类别检测,你的yaml文件是不是搞错了,用这个https://github.com/BADBADBADBOY/pytorchOCR/blob/version2/config/det_DB_resnet50_mul.yaml

谢谢大佬,我先试试单一类别的能不能跑通,还有效果,哈哈