DS4SD / docling

🥚 Transform PDF to JSON or Markdown with ease and speed 🐣
MIT License
606 stars 61 forks source link

Investigate how to remove dependency of OpenCV #124

Open PeterStaar-IBM opened 13 hours ago

nikos-livathinos commented 12 hours ago

The OpenCV is a dependency for docling-ibm-models(https://github.ibm.com/DeepSearch/docling-ibm-models), where it is used to load and resize images for the TableFormer model.

Here are the places where opencv is called:

Additionally in order to correctly evaluate the effect of replacing opencv with another image library, we should measure the impact at: