<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'
```
