Android Question [Firebase ML-Vision lib]: usage of GraphicOverlay and other questions

Discussion in 'Android Questions' started by peacemaker, May 7, 2019.

  1. peacemaker

    peacemaker Well-Known Member Licensed User

    @DonManfred, thanks for the lib.

    1) GraphicOverlay: somehow showing of the found texts can be disabled on GraphicOverlay ?
    2) overlayBitmappathName: how this bitmap is practically used ?
    3) Camera focusing: any control available ? Seems, the camera is working without periodical auto-focusing (NOT SURE)
    4) Camera's preview size: it's scaled in landscape. How to set up to see the preview with correct proportions ?
    5) Dependencies in the Manifest:
    Code:
    AddApplicationText(<meta-data
                android:name=
    "com.google.android.gms.version"
                android:value=
    "@integer/google_play_services_version" />
            <meta-data
                android:name=
    "com.google.firebase.ml.vision.DEPENDENCIES"
                android:value=
    "barcode,text,label,face" />)
    Comma separated values are not parsed well by the IDE... :(
     
    Last edited: May 7, 2019
  2. DonManfred

    DonManfred Expert Licensed User

    Not as yet but it should be possible.
    :D Not really. I came from one example and i do not know where it is used...
    i guess i need to find out how to configure the cameraproperties using the CameraManager used....
    i don´t know. Check Firebasedocumentation if you find something about.
    I had the same issue. Worth making a request for this.
     
    peacemaker likes this.
  3. DonManfred

    DonManfred Expert Licensed User

    i found out that it does work only with one item in the string if you use the correct regocnizer. Faces are found even with not mentioning face here.

    I guess this dependency will download anything when first using the library or so. If i remember correctly i did read something similar somewhere.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Comma is a special character in the manifest editor. You need to escape it:
    Code:
    android:value="barcode,,text,,label,,face"
     
    DonManfred and peacemaker like this.
  5. peacemaker

    peacemaker Well-Known Member Licensed User

    I guess, this dependency just makes the app incompatible in the Play Market with the devices without correct PlayServices. Just cannot be installed.

    GraphicOverlay: if visible=false, it works, but no preview at all :)
     
  6. peacemaker

    peacemaker Well-Known Member Licensed User

    @DonManfred, please, detail about "overlayBitmappathName": what is internal Java object uses it ?
    I mean any info how to google it.
    I guess, it should be the edge area for recognition within it. But... no info yet.
     
  7. DonManfred

    DonManfred Expert Licensed User

    I don´t know! I´ll post a link to the examples the lib is based on later today.
     
  8. DonManfred

    DonManfred Expert Licensed User

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