View all files | ||||
Install the DeepSeek-OCR environment.
Download the ckpt files from huggingface and put them in ./DeepSeek-OCR/DeepSeek-OCR-master/DeepSeek-OCR-ckpt.
Replace the corresponding files or add new files with our code and the added part can be searched by "[modified]".
Run the following command:
The evaluation code follows the pipeline of OmniDocBench, olmOCR-Bench and Ocean-OCR Benchmark.
The evaluation for prefilling time and decoding time is provided in our code.
We also provide the implementations of VisionZip, DivPrune and CDPruner on DeepSeek-OCR.
This work is built upon DeepSeek-OCR. We thank them for their excellent open-source contributions.
We also thank VisionZip, DivPrune, CDPruner, and others for their contributions, which have provided valuable insights.