i’ve been searching for a while but none of the ones i find are great, the one i landed on hasn’t been updated in over a year

  • chrash0@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 months ago

    no need for Python. there’s a Google SDK, ML Kit, that will do the heavy lifting on this. if that’s not acceptable, TensorFlow, PyTorch, and ONNX support Android, albeit not as nicely integrated.

    your image processing pipeline will be imageSource -> RGB encoding -> OCR -> profit. your OCR just needs an RGB encoded image. doesn’t matter if that’s a JPEG or YUV video feed at the source.

    as for if there’s an app that fits OP’s exact use case, dunno.

    • filister@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      Man, you over complicated this task. OP, in F-Droid there are three apps that are based on a popular OCR Python library called tesseract. Just search for this term on F-Droid and give those apps a try.

      • chrash0@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 months ago

        i mean, you’re right. i’m just saying it’s a little silly to ship a Python interpreter when there are easier, better supported ways to do the same thing.

        looks like tesseract provides C bindings which are probably being utilized in those apps.