Metadata-Version: 2.1
Name: sdsv-dewarp
Version: 1.0.0
Summary: Dewarp document
Home-page: 
License: Apache License 2.0
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown

<p align="center">
  <h1 align="center">Dewarp</h1>
</p>

***Feature***
- Align document


## I. Setup 
***Dependencies***
- Python: 3.8
- Torch: 1.10.2
- CUDA: 11.6
- transformers: 4.28.1
### 1. Install PaddlePaddle
```
python -m pip install paddlepaddle-gpu==2.4.2.post116 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
```

### 2. Install sdsv_dewarp
```
pip install -v -e .
```


## II. Test
```
python test.py --input samples --out demo/outputs --device 'cuda'
```
