Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

tesseract 5.2.0 available on raspi4?

327 views
Skip to first unread message

Topas Topas

unread,
Dec 26, 2022, 5:20:52 PM12/26/22
to tesseract-ocr
Hi,

I would like to use tesseract 5.2.0 on my raspberry pi 4.

I execute:
 
pi@raspberrypi:~ $ sudo apt update
pi@raspberrypi:~ $ sudo apt upgrade
pi@raspberrypi:~ $ sudo add-apt-repository ppa:alex-p/tesseract-ocr5
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/buster
    
Regarding this, I have some questions:

  1. Do I understand it correctly, that there is no distribution for this version of tesseract available and foreseen for raspi 4?
  2. Whom could I probably ask to supply it?
  3. If that is not likely to come: would it be easily possible for me to build it myself for raspi?
  4. Or would it make more sense to install ubuntu on this hardware?
  5. Or would it be the easiest to run this version of tesseract only on a non-ARM computer?
Thanks in advance!

Zdenko Podobny

unread,
Dec 27, 2022, 2:53:39 PM12/27/22
to tesser...@googlegroups.com
Hello,

that commands are for IMO for Ubuntu and AFAIK Raspbian is based on Debian... So you get the correct reply about not being supported Raspbian/buster...

Try these steps/commands for Raspberry:

sudo apt update
sudo apt install apt-transport-https

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak-$(date +%Y%m%d)
echo "deb https://notesalexp.org/tesseract-ocr5/$(lsb_release -cs)/ $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update -oAcquire::AllowInsecureRepositories=true
sudo apt-get install notesalexp-keyring -oAcquire::AllowInsecureRepositories=true
sudo apt-get update

sudo apt-get install tesseract-ocr


Zdenko


po 26. 12. 2022 o 23:20 'Topas Topas' via tesseract-ocr <tesser...@googlegroups.com> napísal(a):
--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/c8e450ff-e480-47f7-abdf-12b378626d1cn%40googlegroups.com.

Topas Topas

unread,
Dec 30, 2022, 3:15:20 PM12/30/22
to tesseract-ocr
Hi Zdenko,

this worked perfectly. Thanks a lot!!!

Pratik Ghute

unread,
Jan 5, 2025, 5:35:59 AMJan 5
to tesseract-ocr

Subject: Insights on Deploying Tesseract OCR + YOLOv5 on Raspberry Pi for Real-Time Inference

Hi everyone,

I noticed some of you have experience deploying Tesseract OCR on Raspberry Pi. I’d love to hear your insights on resource usage:

  • How much CPU and memory does Tesseract typically consume on a Raspberry Pi?
  • Which version/model of Raspberry Pi are you using?

I’m planning to deploy a system that combines Tesseract OCR and YOLOv5 for a single camera stream.

  • Can you suggest which Raspberry Pi model (4/5) and version (2GB/4GB/8GB) would be capable of handling this setup for real-time inference?

Any tips or experiences would be greatly appreciated!

Thank you!

Reply all
Reply to author
Forward
0 new messages