UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Python + device Camera? (nexus5)

    Scheduled Pinned Locked Moved App Development
    4 Posts 3 Posters 503 Views 3 Watching
    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.
    • M Offline
      masterchop
      last edited by

      I was testing opencv on python and just found out that i cant access the camera.
      When i look into dev/video* i get like 7 devices and none work.
      anyone had expirience with this?

      Thanks

      CiberSheepC flohackF 2 Replies Last reply Reply Quote 0
      • CiberSheepC Online
        CiberSheep @masterchop
        last edited by

        @masterchop Meybe you want to look into the Camera Scanner app as it's using opencv as well (it's using c++ though):

        https://open-store.io/app/camerascanner.jonnius

        Another planet, another time, another universe!

        M 1 Reply Last reply Reply Quote 1
        • M Offline
          masterchop @CiberSheep
          last edited by

          @cibersheep Thank you for the repo. unfotunatelly i was not able to find the reference in the code i dont know C but still i google it and try to find it there but i was not able to find the src, just mat manipulations.

          1 Reply Last reply Reply Quote 0
          • flohackF Offline
            flohack @masterchop
            last edited by

            @masterchop Normally you cannot access the Android camera via v4l devices. If they are there, they are only used internally by the camera blob drivers. You would need to access the camera via an abstraction layer, as we do with our camera services for QML/Qt applications, since it needs to be initialized, activated in the correct way.

            My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better πŸ’—

            Register Login
            • First post
              Last post