omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Cv2 alternative?

    Pythonista
    4
    8
    1299
    Loading More Posts
    • 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.
    • Jonathano
      Jonathano last edited by

      image = cv2.imread(image_path)
      jpeg_image = cv2.imencode(".jpg", image)[1]
      data = jpeg_image.tobytes()

      As you know cv2 is not working in pythonista.
      But I need to make same as above for ocr api.
      Is there any way to do that?

      1 Reply Last reply Reply Quote 0
      • ccc
        ccc last edited by

        https://pyto.app has CV2 https://pyto.readthedocs.io/en/latest/opencv.html

        cvp Jonathano 2 Replies Last reply Reply Quote 0
        • cvp
          cvp @ccc last edited by ccc

          @ccc About Pyto's programmer, she seems to have moved to Switzerland, where you also live. If you know her, could you ask her to give a sample of UI script on Apple Watch (not a complication). Already asked via email and Discord, but no answer. Thanks

          1 Reply Last reply Reply Quote 0
          • Jonathano
            Jonathano @ccc last edited by

            @ccc thanks for your suggestion.
            I used pyto but that app is not stable.
            And I would like to use pythonista.

            henryaukc 1 Reply Last reply Reply Quote 0
            • ccc
              ccc last edited by

              app is not stable.

              Like it crashes or what?

              1 Reply Last reply Reply Quote 0
              • Jonathano
                Jonathano last edited by

                There are crashes.

                Anyway I just solved this with pythonista.
                I used pil instead cv2
                Thanks again.

                cvp 1 Reply Last reply Reply Quote 0
                • cvp
                  cvp @Jonathano last edited by

                  @Jonathano @ccc agree, a lot

                  1 Reply Last reply Reply Quote 0
                  • henryaukc
                    henryaukc @Jonathano last edited by henryaukc

                    @Jonathano agree. I will move if it makes its editor and interface more user friendly and more stable. also wanna see pythonista can resume its development. I suggest it can change to subscription model

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Powered by NodeBB Forums | Contributors