-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
## Usage | ||
|
||
1. Install PaddlePaddle. | ||
|
||
You can refer to https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.6/doc/doc_en/quickstart_en.md#1-installation. | ||
|
||
2. Install third-party libraries. | ||
|
||
`pip install -r requirements.txt` | ||
|
||
3. Prepare the dataset. | ||
|
||
Unzip archive in `./data/`. Your directory & file structure should look like this, | ||
|
||
``` | ||
Tiktok_OCR | ||
│ | ||
└───data | ||
│ │ train.txt | ||
│ │ eval.txt | ||
│ │ | ||
│ └───train_set_random | ||
│ | │ v0d00fg10000cb9gacjc77u3gp5qggd0_0_.jpg | ||
│ | │ ... | ||
│ │ | ||
│ └───test_set_random | ||
│ │ v0d00fg10000cb9gacjc77u3gp5qggd0_2_.jpg | ||
│ │ ... | ||
``` | ||
|
||
4. Execute the shell script. | ||
|
||
`sh run.sh ` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.