the-paperless-project / paperless

Scan, index, and archive all of your paper documents
GNU General Public License v3.0
7.85k stars 498 forks source link

Does paperless work on a RPi Zero? #603

Open xavierfiechter opened 4 years ago

xavierfiechter commented 4 years ago

Is there a list of supported hardware? Did not found it in the docs.

Looking for a small footprint server board and thingking about a RPi Zero. Andy suggestions?

Tooa commented 4 years ago

I think the compute intense factor here is the OCR via tesseract. So, I wouldn't recommend running 'Paperless' on a RPi Zero. Probably, a RPi 4 might work, but I haven't tested this on my own.

How long the OCR process takes also depends on the size of the document (page size). It will certainly take longer with something like a RPi due to its limited computing power (memory).

However, installing 'Paperless' via Docker might not work out of the box for a RPi due to the different platform architecture and the given Docker base image. So, you have to either create your own Docker container with a different base image oder install 'Paperless' from scratch.

HeinerDD commented 4 years ago

I have installed it on a RPi4 but it still does not work, see issue #604.

HeinerDD commented 4 years ago

Did anyone get the program running on the Raspberry?

stephansgit commented 4 years ago

Yes, I did get it running on a RasPi 3+. However, as @Tooa pointed out, Tesseract and the OCR is resource intense and some documents ran for eternity. I think this discussion adds to the problem. I have not yet tried setting export OMP_THREAD_LIMIT=1 to see whether that helps.

On the point regarding Docker and Paperless, I followed this guide to install docker and then the paperless guide. This worked - I have not tried using an existing paperless image though.