Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Stirling-PDF
  3. OCR - make folder "tessdata" writeable

OCR - make folder "tessdata" writeable

Scheduled Pinned Locked Moved Solved Stirling-PDF
7 Posts 5 Posters 418 Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    odie
    wrote on last edited by
    #1

    Hello

    The OCR feature is very useful. But I need to add addtional languages (Norwegian and Swedish). According to Striling documentation (here:), it should be possible to upload new xx.traineddata files containing more languages.

    I ran into a problem trying to do this. The /usr/share/tessdata folder is read-only, so I cannot add these languages. Can this be fixed? Either by finding a solution to make the tessdata folder wrtieable for end users (probably the best solution?), or by adding these lanuages to the standard pack?

    Thank you.

    1 Reply Last reply
    0
    • nebulonN Away
      nebulonN Away
      nebulon
      Staff
      wrote on last edited by
      #2

      Indeed such folders are read-only on Cloudron. Instead of attempting to make them read/write with some merging strategy for future updates, I have just added those two languages to the package. The initial selection was a bit random, so we can just add them one-by-one as requested here.

      The package update just got our with Swedish and Norwegian.

      O 1 Reply Last reply
      1
      • nebulonN nebulon marked this topic as a question on
      • nebulonN nebulon has marked this topic as solved on
      • nebulonN nebulon

        Indeed such folders are read-only on Cloudron. Instead of attempting to make them read/write with some merging strategy for future updates, I have just added those two languages to the package. The initial selection was a bit random, so we can just add them one-by-one as requested here.

        The package update just got our with Swedish and Norwegian.

        O Offline
        O Offline
        odie
        wrote on last edited by
        #3

        @nebulon Thank you very much, @nebulon! Much appreciated!

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Algaweb
          wrote on last edited by
          #4

          Hello @nebulon I was trying to do the same for Czech language. Would you please add the language to the package? Thank you.

          girishG 1 Reply Last reply
          3
          • scookeS Offline
            scookeS Offline
            scooke
            wrote on last edited by
            #5

            I had been using this on a free Crunchbits server that has now been cancelled, so I'm going to install it on my Cloudron. @nebulon, could also add these languages please (most likely they aren't by default included!):
            Kazak - https://github.com/tesseract-ocr/tessdata/blob/main/kaz.traineddata
            Uighur - https://github.com/tesseract-ocr/tessdata/blob/main/uig.traineddata

            I'll install once these are included. Is it safe to assume languages like German and French are included?

            A life lived in fear is a life half-lived

            1 Reply Last reply
            1
            • A Algaweb

              Hello @nebulon I was trying to do the same for Czech language. Would you please add the language to the package? Thank you.

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @Algaweb I have added it in the latest package.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Algaweb
                wrote on last edited by
                #7

                @girish Thank you very much!

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search