Commit Graph

249 Commits

Author SHA1 Message Date
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
tink2123 be3a164424 fix inference in tps 2020-06-03 15:49:18 +08:00
tink2123 b722eb56c8 fix infer_rec for attention 2020-06-03 13:44:07 +08:00
LDOUBLEV 9058e002d8 fix multi-line txt display 2020-05-29 15:23:09 +08:00
LDOUBLEV e0b641cc57 fix visual bug 2020-05-28 20:06:26 +08:00
LDOUBLEV 00e9e07976 fix bug in results visualization 2020-05-28 15:46:05 +08:00
LDOUBLEV b090627a11 opt visualized func and add docker usage in cpu 2020-05-27 15:03:12 +08:00
LDOUBLEV 59d0a00e1d opt visualized func and add docker usage in cpu 2020-05-27 14:58:22 +08:00
LDOUBLEV 4af1810909 opt visualized func and add docker usage in cpu 2020-05-27 14:55:58 +08:00
LDOUBLEV 93bd46e9e2 delete support multi-line txt display 2020-05-25 20:54:26 +08:00
LDOUBLEV eec9155ee8 adjust txt word in line 2020-05-25 20:31:40 +08:00
LDOUBLEV 75d2c47d8a support multi-line text display 2020-05-25 20:28:25 +08:00
LDOUBLEV 8a6f106237 fix predict_det not found unclip_ratio 2020-05-25 18:14:13 +08:00
LDOUBLEV 2bd6323642 modify batch num in rec and fix sorted_box func 2020-05-20 16:19:49 +08:00
LDOUBLEV 0758f91361 modify batch num in rec and fix sorted_box func 2020-05-20 16:05:46 +08:00
dyning 25a5ca6cca
Update utility.py 2020-05-15 22:46:06 +08:00
dyning d661c3d8c3
Update predict_det.py 2020-05-15 22:18:09 +08:00
dyning c7ef62df04 updata doc of infer 2020-05-15 22:07:18 +08:00
LDOUBLEV 7259370cbd solve predicts diff between cpu and gpu running 2020-05-15 17:32:32 +08:00
LDOUBLEV 1e9683b426 add visualized code for det results 2020-05-15 17:06:43 +08:00
LDOUBLEV 72ebbf2de1 sorted outputs when export model 2020-05-15 16:51:45 +08:00
LDOUBLEV d539508e76 valid det inference 2020-05-15 14:22:57 +08:00
dyning 3b931056c4
Update predict_system.py 2020-05-14 14:43:20 +08:00
Double_V 2a6f5046c1
Merge pull request #20 from LDOUBLEV/fixocr
RGB 2 BGR
2020-05-14 14:40:33 +08:00
LDOUBLEV 55492911dd RGB 2 BGR 2020-05-14 14:38:23 +08:00
Double_V f3cf94a296
Merge pull request #18 from LDOUBLEV/fixocr
change the saved path of visualized image
2020-05-14 14:27:23 +08:00
LDOUBLEV 010533bd57 change the saved path of visualized image 2020-05-14 14:25:00 +08:00
dyning adbe225aa3
Merge pull request #17 from LDOUBLEV/fixocr
fix rec bug and delete infer/predict_eval.py
2020-05-14 14:17:50 +08:00
LDOUBLEV c65f330890 fix rec bug and delete infer/predict_eval.py 2020-05-14 14:16:18 +08:00
tink2123 d94cde77e2 rm anno 2020-05-14 13:53:17 +08:00
tink2123 576cbfa78e update readme 2020-05-14 13:49:28 +08:00
LDOUBLEV c15d3bb09a add visualize code to predict_eval 2020-05-14 12:08:11 +08:00
LDOUBLEV 759e7385db fix infer 2020-05-13 21:29:54 +08:00
LDOUBLEV 5d70fd442a add visulize code 2020-05-13 20:29:45 +08:00
LDOUBLEV e3f171a3bb fix det inference bug and optimize save path 2020-05-13 16:05:00 +08:00
LDOUBLEV b2e2bb98fb fix problems responding to inference 2020-05-12 21:12:52 +08:00
LDOUBLEV 5b4675e06d fix problems refer comments 2020-05-12 19:40:57 +08:00
LDOUBLEV 268ed03b3e update detection doc and infer code 2020-05-11 19:59:07 +08:00
LDOUBLEV af39902217 fix tools/infer/utility.py 2020-05-11 15:33:54 +08:00
LDOUBLEV 3f2d384faa add doc、infer_det.py、requirments.txt 2020-05-11 15:27:52 +08:00
tink2123 1a84472df9 del tmp 2020-05-10 12:46:42 +00:00
LDOUBLEV 338ba3ee4a upload PaddleOCR code 2020-05-10 16:26:57 +08:00