Android Question read bar-code width DJI Drone

Discussion in 'Android Questions' started by Roberto P., Apr 28, 2018.

Similar threads

B4A Library DJI Drones
B4J Library [B4X] Ryze/DJI Tello drone SDK -app
B4A Question DRONE: DJI Tello
B4A Question DJI Drones read video info
B4A Question DJI Drones UI
  1. Roberto P.

    Roberto P. Well-Known Member Licensed User

    tips for reading the bar tails from a DJI drone? I know it is supported by the camera. Is there any library that allows you to do it? tips?

    I use a Phantom 4 pro-plus

    thank you
     
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. Roberto P.

    Roberto P. Well-Known Member Licensed User

  4. Roberto P.

    Roberto P. Well-Known Member Licensed User

    Hi Erel
    the example works very well with smartphones. I tried the example with the DJI 4 Pro-Plus drone (which has the integrated device), but did not see the camera.
    Do I have to integrate the demo app of the drone with this example?

    thank you
    roberto
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    You need to start with the drone example.

    You can use JavaObject to get a bitmap from the view returned from Camera.CreateVideoView.

    Code:
    Dim jo As JavaObject = View
    jo.RunMethod(
    "getBitmap"Array(MutableBitmap))
    MutableBitmap is a bitmap you created with Bitmap.InitializeMutable.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice