Commit Graph

291 Commits

Author SHA1 Message Date
WenmuZhou bc0d766425 init commit for paddlestructure 2021-06-05 22:00:17 +08:00
WenmuZhou 794362481e add table eval and predict script 2021-06-03 16:39:31 +08:00
WenmuZhou bb5c6f3b2c slim code 2021-06-02 20:10:59 +08:00
WenmuZhou f896d5afa4 merge upstream 2021-06-01 19:09:24 +08:00
WenmuZhou 359d81e585 change infer args format from dict to list 2021-05-28 17:31:48 +08:00
LDOUBLEV c8cc0fb4b7 pre-commit 2021-05-26 10:55:53 +00:00
LDOUBLEV 0fd13fa410 process else 2021-05-26 10:54:54 +00:00
LDOUBLEV b8972b3675 add python benchmark for ocr 2021-05-26 10:40:16 +00:00
WenmuZhou eaf38b9b12 combine args in paddleocr and ppocr/infer/utility 2021-05-26 17:34:47 +08:00
LDOUBLEV 0707f74348 delete debug code 2021-05-26 07:36:44 +00:00
LDOUBLEV c946b386fd add trt min max opt shape 2021-05-26 07:18:40 +00:00
LDOUBLEV 9a68a6123a fix hub server error 2021-05-26 07:09:52 +00:00
LDOUBLEV 16d70fb74b add cpu_math_library_num_threads params 2021-05-26 07:08:56 +00:00
MissPenguin 64a3580f1b
Modify the resize operation to be consistent with the python version (#2651) 2021-04-27 00:08:53 +08:00
littletomatodonkey eafb157a05 add py impl of pr 2574 2021-04-23 08:23:24 +00:00
Jethong be5fdae573 fix config format 2021-04-14 15:02:54 +08:00
Jethong 84e25c556b fix dygraph infer post process 2021-04-12 18:59:05 +08:00
MissPenguin 3563c0f91f
Merge pull request #2429 from littletomatodonkey/dev/add_thread_pred
add supprt for multi process inference
2021-04-09 23:23:38 +08:00
littletomatodonkey 3de964a4b8 fix print 2021-04-09 12:30:42 +00:00
littletomatodonkey d6eb34f65c fix infer 2021-04-09 12:28:49 +00:00
littletomatodonkey 916cec34c6 unify predict mp and sp 2021-04-09 11:50:01 +00:00
littletomatodonkey 76320bf0db Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into dev/add_thread_pred 2021-04-09 10:29:21 +00:00
littletomatodonkey e19bedf523 fix infer 2021-04-09 10:28:06 +00:00
littletomatodonkey 86f4abf7d5 add supprt for multi process inference 2021-04-09 10:19:34 +00:00
zhoujun 52f45bc357
Merge branch 'dygraph' into dygraph_rc 2021-04-09 18:12:37 +08:00
Jethong a0d1f9236d add different post process 2021-04-09 16:04:02 +08:00
Jethong 6824db26e7 fix errors and add pretrain_model 2021-04-07 12:26:05 +08:00
Jethong f698142542 Merge branch 'pgnet-v1' of github.com:JetHong/PaddleOCR into pgnet-v1 2021-03-19 12:06:21 +08:00
Jethong 88964dc92f add visual png 2021-03-19 11:59:35 +08:00
Double_V 93c919e644
Merge branch 'dygraph' into pgnet-v1 2021-03-15 14:18:48 +08:00
Jethong 9711111270 fix error 2021-03-15 13:58:53 +08:00
WenmuZhou a0fd1a48a1 fix srn infer error when use custom max_text_length 2021-03-12 17:15:48 +08:00
Double_V e0908dd523
Merge branch 'dygraph' into fix_mem 2021-03-12 11:07:04 +08:00
LDOUBLEV 4c9d141c6f enable memory optim 2021-03-11 16:44:24 +08:00
WenmuZhou 1271db6d7c fix mem 2021-03-11 15:24:49 +08:00
LDOUBLEV 87f0aeed70 fix gap between train_model predict and inference 2021-02-24 15:09:37 +08:00
littletomatodonkey 3ce97f18ec
fix predict rec (#2065)
* fix predict rec

* fix lopp
2021-02-22 15:12:32 +08:00
LDOUBLEV cf550d0524 set dilation as False 2021-02-18 19:00:30 +08:00
LDOUBLEV bbd7665c47 fix commit 2021-02-18 18:53:28 +08:00
LDOUBLEV 5fc33c1213 keep dilation as False 2021-02-18 18:45:53 +08:00
LDOUBLEV bbdbf598d4 keep dilation as False 2021-02-18 18:42:47 +08:00
LDOUBLEV 6ec9aa4def Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into trt_cpp 2021-02-18 13:44:13 +08:00
WenmuZhou 4eb351866c predict_rec support rare 2021-02-08 14:05:48 +08:00
LDOUBLEV adc83ca9ae opt deploy doc 2021-02-02 21:08:13 +08:00
LDOUBLEV 56cbbdfb01 fix conflict 2021-02-01 03:19:56 +00:00
LDOUBLEV f896032255 pre-commit 2021-02-01 03:12:38 +00:00
xiaoting 6ebbbfe46c
Merge branch 'dygraph' into dygraph_for_srn 2021-01-29 11:37:19 +08:00
tink2123 8f52a73718 polish code 2021-01-26 15:24:13 +08:00
zhoujun 499ae66003 update utility 2021-01-01 21:53:15 +08:00
zhoujun c03b0b0604
Update utility.py 2020-12-31 16:31:21 +08:00
tink2123 c1fd46641e add srn for dygraph 2020-12-30 16:15:49 +08:00
LDOUBLEV 2a04e1a12a add export to limit GPU-memory-usage 2020-12-22 15:57:21 +08:00
WenmuZhou 3a0090dc00 delete fluid 2020-12-21 17:13:32 +08:00
WenmuZhou 59af7359be inference adaptation 2.0 2020-12-21 17:10:00 +08:00
WenmuZhou 7f76986c28 Remove duplicate definitions 2020-12-18 18:29:13 +08:00
zhoujun 0492ba4f86
Merge pull request #1503 from LDOUBLEV/dyg_db
add tensorrt args
2020-12-18 15:39:48 +08:00
LDOUBLEV 9039cca26d add tensorrt args 2020-12-18 15:27:44 +08:00
MissPenguin 263a9fc5d4
Merge pull request #1498 from MissPenguin/dygraph
fix sast inference bug
2020-12-18 14:12:11 +08:00
MissPenguin d489d3c27d fix sast inference bug 2020-12-18 03:40:22 +00:00
LDOUBLEV a6fd8f8066 adjust cls_batch_num to 6 for speed-up 2020-12-18 11:11:02 +08:00
LDOUBLEV 65b4cc0cf3 adjust rec_batch_num as 1 2020-12-17 20:58:23 +08:00
WenmuZhou 41c2af4924 update predict_det 2020-12-16 00:03:50 +08:00
WenmuZhou d3b609ee09 change DBHead output to dict 2020-12-15 23:49:50 +08:00
MissPenguin c9a8cd83b1 fix db eval 2020-12-15 14:13:04 +00:00
MissPenguin b596e70f14 fix db eval 2020-12-15 14:11:02 +00:00
MissPenguin 3f64d27b71 update inference for east & sast 2020-12-15 12:54:02 +00:00
MissPenguin edc0fd0ccd fix predict_det 2020-12-13 06:18:26 +00:00
WenmuZhou c12259091e Fix printing problem when multi-image prediction 2020-12-12 20:10:19 +08:00
WenmuZhou 4fd696ccdf update inference model name 2020-12-09 23:55:38 +08:00
MissPenguin 055f207fcf
Merge pull request #1371 from tink2123/update_multi
update multi dic and export
2020-12-09 20:37:35 +08:00
tink2123 7eeef5933c update multi dic and export 2020-12-09 11:56:37 +00:00
MissPenguin 45f90e9431
Merge pull request #1338 from WenmuZhou/dygraph_rc
[Dygraph] add hub serving
2020-12-09 15:46:53 +08:00
WenmuZhou 28b2d43e57 paddleocr whl adaptation dygraph 2020-12-07 19:10:19 +08:00
WenmuZhou 5d9c03890b merge upstream 2020-12-07 13:10:12 +08:00
WenmuZhou 2c8ba6a961 merge upstream 2020-12-07 12:51:40 +08:00
WenmuZhou 38f27a5339 merge upstream 2020-12-07 12:38:44 +08:00
zhoujun 99ee41d8db
Merge pull request #1299 from WenmuZhou/fix_predict_system
add predict_cls to predict_system
2020-12-06 20:28:37 -06:00
WenmuZhou 34cd39194d use logger.info replace print 2020-12-02 15:55:28 +08:00
WenmuZhou a804a97c92 add drop_score to args 2020-12-02 15:55:15 +08:00
WenmuZhou e696c7906d delete debug code 2020-12-02 15:53:55 +08:00
zhoujun 2985e7b897
use cls_batch_num replace rec_batch_num (#1298) 2020-12-02 12:22:41 +08:00
WenmuZhou a621bef893 add predict_cls to predict_system 2020-12-01 16:45:45 +08:00
WenmuZhou 902606499b add predict_cls to predict_system 2020-12-01 16:42:10 +08:00
WenmuZhou 1c43e8bbb4 Adapt to windows 2020-11-30 16:54:18 +08:00
WenmuZhou a44c2a699f Adapt to windows 2020-11-30 16:48:51 +08:00
WenmuZhou 835bfa456c Remove the channel conversion of the image and keep it consistent with the training phase 2020-11-27 15:29:14 +08:00
WenmuZhou 05dcfdec68 Fix the bug that the predict time is calculated incorrectly 2020-11-27 15:28:31 +08:00
WenmuZhou 0c287c41ea python端预测完成 2020-11-17 17:28:28 +08:00
WenmuZhou 4950c8458d 添加方向分类器 2020-11-17 12:54:24 +08:00
WenmuZhou 453c6f68bd 识别模型inference 2020-11-12 12:07:41 +08:00
WenmuZhou 4402e62959 修正export_model里的bug,添加predict_det 2020-11-09 18:19:30 +08:00
WenmuZhou 6241b8f9ca 添加静态图的create_predictor 2020-10-22 19:03:24 +08:00
WenmuZhou 60711bafe2 添加静态图的create_predictor 2020-10-22 18:24:42 +08:00
WenmuZhou aad3093a91 dygraph first commit 2020-10-13 17:13:33 +08:00
dyning 0791714b91
Merge pull request #594 from WenmuZhou/whl1
添加whl包的构建方式
2020-08-24 18:45:50 +08:00
littletomatodonkey 0a011e564a add python interface 2020-08-24 02:11:17 +00:00
zhoujun 3b1ecb1339
Update predict_system.py 2020-08-22 20:15:56 +08:00
WenmuZhou 684676f611 init commit for build whl 2020-08-22 19:42:14 +08:00
littletomatodonkey 3ebebae3e5 replace zero_copy_run to run for memory leak 2020-08-22 07:13:06 +00:00
MissPenguin 75cdc7dc9a
Merge pull request #519 from ZhangXinNan/zxdev
修改路径为绝对问题
2020-08-19 13:52:47 +08:00
licx 0c3b5d8e76 fix bug in predict_det for sast & update docs 2020-08-18 20:32:00 +08:00
licx cb7e481b4a fix bug in predict_det for sast & update docs 2020-08-18 16:05:12 +08:00
licx f96b873aa4 modify infer tools for sast 2020-08-17 20:29:28 +08:00
tink2123 d0d5de7f4d fix bug 2020-08-16 13:30:25 +08:00
tink2123 d179c7c446 fix bug 2020-08-16 12:58:05 +08:00
tink2123 9cb3072033 fix bug and update doc 2020-08-16 12:53:26 +08:00
zhangxin ab8d8aeab8 修改所有文件路径为绝对路径,避免在同级目录下时出问题 2020-08-12 12:56:44 +08:00
LDOUBLEV e494595945 fix score is nan 2020-08-03 22:22:08 +08:00
LDOUBLEV 2bec473e89 fix typo and opt doc 2020-08-03 17:44:41 +08:00
LDOUBLEV aa6e29cf04 remove unused code 2020-07-28 16:42:15 +08:00
LDOUBLEV 60ec95469a read gif read func 2020-07-28 11:18:48 +08:00
littletomatodonkey 0aebfbc26f fix save img for pred_det 2020-07-26 11:23:47 +00:00
dyning 4e427410a0 add parameter enable_mkldnn 2020-07-14 14:39:00 +08:00
dyning 814dc2fa37 add parameter enable_mkldnn 2020-07-14 14:35:18 +08:00
dyning fbdf80dc13 add parameter enable_mkldnn 2020-07-14 14:13:13 +08:00
dyning 8e05ffed7e move out visulization from hubserving 2020-07-13 17:25:30 +08:00
dyning e68ea88ddc fix cpu memory problem for a short time 2020-07-12 11:59:11 +08:00
dyning be48652127
Merge pull request #296 from LDOUBLEV/cpu_opt
opt cpu speed and fix wrong link of weights
2020-07-09 21:33:53 +08:00
dyning f09d1f730b add hub serving 2020-07-09 20:34:42 +08:00
LDOUBLEV dcf46b0c86 opt cpu speed and fix wrong link of weights 2020-07-09 20:29:33 +08:00
tink2123 bfdb7b7781 change name for use_space_char 2020-07-07 14:29:45 +08:00
tink2123 db3d78d8ea revert dict and add space in character 2020-07-07 14:13:13 +08:00
Double_V f2c4d6697e
Merge pull request #279 from LDOUBLEV/fixocr
fix Nan results and add test_reader func
2020-07-01 17:12:01 +08:00
LDOUBLEV 6f456775b0 fix bug 2020-07-01 13:30:03 +08:00
LDOUBLEV 3892a8ca02 fix Nan results and add test_reader func 2020-07-01 12:45:59 +08:00
tink2123 42a9a47ce5 close memory_optim for attention 2020-06-30 19:28:29 +08:00
tink2123 2cc1d00b04 revert modified for predict_rec 2020-06-30 14:47:24 +08:00
tink2123 25f16f2429 revert interpolate type 2020-06-30 11:18:49 +08:00
zhangxin 2eb6244c1f 修改英文注释 2020-06-27 23:29:29 +08:00
zhangxin 9e9a9a45da 识别infer时改回不同字符类型采用不同归一化 2020-06-24 19:50:10 +08:00
zhangxin 38192934ac 有几行没有用新的代码,旧代码注释了。 2020-06-24 19:42:46 +08:00
zhangxin 2814d997a4 Merge remote-tracking branch 'upstream/develop' into zxdev 2020-06-23 22:15:13 +08:00
zhangxin 9717944cde 识别文本框时,对文本框按宽高比进行排序。 2020-06-23 22:14:47 +08:00
MissPenguin db0aa24b5b
Merge pull request #237 from MissPenguin/develop
replace python lanms with c++ version, fix infer_det bug, fix test_im…
2020-06-23 16:55:24 +08:00
Double_V 4ca78a0748
Merge pull request #241 from ZhangXinNan/zxdev
优化predict_system.py代码
2020-06-23 15:59:04 +08:00
dyning b115cb4417 use enable_memory_optim for cpu and gpu, add paddlehelp QRcode 2020-06-23 15:02:13 +08:00
MissPenguin 160bb06e70
add config.enable_memory_optim() 2020-06-23 11:46:45 +08:00
zhangxin ef156b19e1 优化tools/infer/predict_system.py代码 2020-06-20 03:03:39 +08:00
Double_V fea9454dee
Merge pull request #210 from ZhangXinNan/zxdev
增加一个可视化函数
2020-06-17 13:56:15 +08:00
zhangxin edfbacf4d2 Merge remote-tracking branch 'upstream/develop' into zxdev 2020-06-16 16:28:50 +08:00
zhangxin 5d63991136 不增加args.out_dir 2020-06-16 13:29:01 +08:00
zhangxin af6b5fef00 增加可视化效果图 2020-06-16 13:24:19 +08:00
zhangxin 22e8cf8c6b 修改显示方式,微调显示参数 2020-06-15 20:05:34 +08:00
zhangxin 3f402caea7 增加一个画图函数,可以更方便更直观的看检测和识别结果,对横排、竖排文本都可以显示 2020-06-15 18:40:01 +08:00
LDOUBLEV 1636c8c156 discard export PYTHONPATH manually 2020-06-15 10:00:36 +08:00
LDOUBLEV cc6c606f14 discard export PYTHONPATH manually 2020-06-12 13:49:24 +08:00
zhangxin ed9065c72b 在程序中使用os.path.append添加环境变量,不再使用命令设置 2020-06-11 09:45:01 +08:00
tink2123 9393a1b311 polish error message 2020-06-05 11:29:02 +08:00
tink2123 b55b8eda22 add windows doc 2020-06-04 19:41:42 +08:00
tink2123 9023a5c57a update infer doc and fix yml 2020-06-03 17:38:44 +08:00