Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
0576e4a2
Unverified
Commit
0576e4a2
authored
Dec 16, 2020
by
dyning
Committed by
GitHub
Dec 16, 2020
Browse files
Merge pull request #1455 from WenmuZhou/update_whl_doc
[Dygraph] update whl doc
parents
ba7cedd4
dbea8e74
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
doc/doc_ch/whl.md
doc/doc_ch/whl.md
+4
-4
doc/doc_en/whl_en.md
doc/doc_en/whl_en.md
+5
-5
No files found.
doc/doc_ch/whl.md
View file @
0576e4a2
...
@@ -166,7 +166,7 @@ paddleocr -h
...
@@ -166,7 +166,7 @@ paddleocr -h
*
检测+分类+识别全流程
*
检测+分类+识别全流程
```
bash
```
bash
paddleocr
--image_dir
PaddleOCR/doc/imgs/11.jpg
--use_angle_cls
true
--cls
true
paddleocr
--image_dir
PaddleOCR/doc/imgs/11.jpg
--use_angle_cls
true
```
```
结果是一个list,每个item包含了文本框,文字和识别置信度
结果是一个list,每个item包含了文本框,文字和识别置信度
```
bash
```
bash
...
@@ -190,7 +190,7 @@ paddleocr --image_dir PaddleOCR/doc/imgs/11.jpg
...
@@ -190,7 +190,7 @@ paddleocr --image_dir PaddleOCR/doc/imgs/11.jpg
*
分类+识别
*
分类+识别
```
bash
```
bash
paddleocr
--image_dir
PaddleOCR/doc/imgs_words/ch/word_1.jpg
--use_angle_cls
true
--cls
true
--det
false
paddleocr
--image_dir
PaddleOCR/doc/imgs_words/ch/word_1.jpg
--use_angle_cls
true
--det
false
```
```
结果是一个list,每个item只包含识别结果和识别置信度
结果是一个list,每个item只包含识别结果和识别置信度
...
@@ -222,7 +222,7 @@ paddleocr --image_dir PaddleOCR/doc/imgs_words/ch/word_1.jpg --det false
...
@@ -222,7 +222,7 @@ paddleocr --image_dir PaddleOCR/doc/imgs_words/ch/word_1.jpg --det false
*
单独执行分类
*
单独执行分类
```
bash
```
bash
paddleocr
--image_dir
PaddleOCR/doc/imgs_words/ch/word_1.jpg
--use_angle_cls
true
--cls
true
--det
false
--rec
false
paddleocr
--image_dir
PaddleOCR/doc/imgs_words/ch/word_1.jpg
--use_angle_cls
true
--det
false
--rec
false
```
```
结果是一个list,每个item只包含分类结果和分类置信度
结果是一个list,每个item只包含分类结果和分类置信度
...
@@ -258,7 +258,7 @@ im_show.save('result.jpg')
...
@@ -258,7 +258,7 @@ im_show.save('result.jpg')
### 通过命令行使用
### 通过命令行使用
```
bash
```
bash
paddleocr
--image_dir
PaddleOCR/doc/imgs/11.jpg
--det_model_dir
{
your_det_model_dir
}
--rec_model_dir
{
your_rec_model_dir
}
--rec_char_dict_path
{
your_rec_char_dict_path
}
--cls_model_dir
{
your_cls_model_dir
}
--use_angle_cls
true
--cls
true
paddleocr
--image_dir
PaddleOCR/doc/imgs/11.jpg
--det_model_dir
{
your_det_model_dir
}
--rec_model_dir
{
your_rec_model_dir
}
--rec_char_dict_path
{
your_rec_char_dict_path
}
--cls_model_dir
{
your_cls_model_dir
}
--use_angle_cls
true
```
```
### 使用网络图片或者numpy数组作为输入
### 使用网络图片或者numpy数组作为输入
...
...
doc/doc_en/whl_en.md
View file @
0576e4a2
...
@@ -172,7 +172,7 @@ paddleocr -h
...
@@ -172,7 +172,7 @@ paddleocr -h
*
detection classification and recognition
*
detection classification and recognition
```
bash
```
bash
paddleocr
--image_dir
PaddleOCR/doc/imgs_en/img_12.jpg
--use_angle_cls
true
-cls
true
--lang
en
paddleocr
--image_dir
PaddleOCR/doc/imgs_en/img_12.jpg
--use_angle_cls
true
--lang
en
```
```
Output will be a list, each item contains bounding box, text and recognition confidence
Output will be a list, each item contains bounding box, text and recognition confidence
...
@@ -198,7 +198,7 @@ Output will be a list, each item contains bounding box, text and recognition con
...
@@ -198,7 +198,7 @@ Output will be a list, each item contains bounding box, text and recognition con
*
classification and recognition
*
classification and recognition
```
bash
```
bash
paddleocr
--image_dir
PaddleOCR/doc/imgs_words_en/word_10.png
--use_angle_cls
true
-cls
true
--det
false
--lang
en
paddleocr
--image_dir
PaddleOCR/doc/imgs_words_en/word_10.png
--use_angle_cls
true
--det
false
--lang
en
```
```
Output will be a list, each item contains text and recognition confidence
Output will be a list, each item contains text and recognition confidence
...
@@ -221,7 +221,7 @@ Output will be a list, each item only contains bounding box
...
@@ -221,7 +221,7 @@ Output will be a list, each item only contains bounding box
*
only recognition
*
only recognition
```
bash
```
bash
paddleocr
--image_dir
PaddleOCR/doc/imgs_words_en/word_10.png
--det
false
--cls
false
--lang
en
paddleocr
--image_dir
PaddleOCR/doc/imgs_words_en/word_10.png
--det
false
--lang
en
```
```
Output will be a list, each item contains text and recognition confidence
Output will be a list, each item contains text and recognition confidence
...
@@ -231,7 +231,7 @@ Output will be a list, each item contains text and recognition confidence
...
@@ -231,7 +231,7 @@ Output will be a list, each item contains text and recognition confidence
*
only classification
*
only classification
```
bash
```
bash
paddleocr
--image_dir
PaddleOCR/doc/imgs_words_en/word_10.png
--use_angle_cls
true
-cls
true
--det
false
--rec
false
paddleocr
--image_dir
PaddleOCR/doc/imgs_words_en/word_10.png
--use_angle_cls
true
--det
false
--rec
false
```
```
Output will be a list, each item contains classification result and confidence
Output will be a list, each item contains classification result and confidence
...
@@ -268,7 +268,7 @@ im_show.save('result.jpg')
...
@@ -268,7 +268,7 @@ im_show.save('result.jpg')
### Use by command line
### Use by command line
```
bash
```
bash
paddleocr
--image_dir
PaddleOCR/doc/imgs/11.jpg
--det_model_dir
{
your_det_model_dir
}
--rec_model_dir
{
your_rec_model_dir
}
--rec_char_dict_path
{
your_rec_char_dict_path
}
--cls_model_dir
{
your_cls_model_dir
}
--use_angle_cls
true
--cls
true
paddleocr
--image_dir
PaddleOCR/doc/imgs/11.jpg
--det_model_dir
{
your_det_model_dir
}
--rec_model_dir
{
your_rec_model_dir
}
--rec_char_dict_path
{
your_rec_char_dict_path
}
--cls_model_dir
{
your_cls_model_dir
}
--use_angle_cls
true
```
```
### Use web images or numpy array as input
### Use web images or numpy array as input
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment