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
dbea8e74
Commit
dbea8e74
authored
Dec 16, 2020
by
WenmuZhou
Browse files
update whl doc
parent
57e6edd9
Changes
2
Hide 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 @
dbea8e74
...
...
@@ -166,7 +166,7 @@ paddleocr -h
*
检测+分类+识别全流程
```
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包含了文本框,文字和识别置信度
```
bash
...
...
@@ -190,7 +190,7 @@ paddleocr --image_dir PaddleOCR/doc/imgs/11.jpg
*
分类+识别
```
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只包含识别结果和识别置信度
...
...
@@ -222,7 +222,7 @@ paddleocr --image_dir PaddleOCR/doc/imgs_words/ch/word_1.jpg --det false
*
单独执行分类
```
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只包含分类结果和分类置信度
...
...
@@ -258,7 +258,7 @@ im_show.save('result.jpg')
### 通过命令行使用
```
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数组作为输入
...
...
doc/doc_en/whl_en.md
View file @
dbea8e74
...
...
@@ -172,7 +172,7 @@ paddleocr -h
*
detection classification and recognition
```
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
...
...
@@ -198,7 +198,7 @@ Output will be a list, each item contains bounding box, text and recognition con
*
classification and recognition
```
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
...
...
@@ -221,7 +221,7 @@ Output will be a list, each item only contains bounding box
*
only recognition
```
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
...
...
@@ -231,7 +231,7 @@ Output will be a list, each item contains text and recognition confidence
*
only classification
```
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
...
...
@@ -268,7 +268,7 @@ im_show.save('result.jpg')
### Use by command line
```
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
...
...
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