B4A Library NewHandwave - detecting hand motion (left, right, up, down) with front facing camera

I came across this Github project and thought it might be interesting to see if I could "shortcut" wrap it and make it work "from B4A".

The B4A library files are too large to post here. You can download them from here:
https://www.dropbox.com/s/83w5g8tolgd4n31/NewHandWaveLibFiles.zip?dl=0

...or you can download the B4A generated APK files from here and install the trial app:
https://www.dropbox.com/s/1s6d15owfkqzldd/b4aNewHandWave.apk?dl=0

You need to enable AppCompat V3.20 and DesignSupport V2.00 to make use of this app.

Start the app and then move your have from left to right, right to left, bottom to top, and top to bottom over the front facing camera (about 15cm or so above the camera) - it should report the detected motion via a toast message.

Extract resource.zip, DemoRes.Zip, and LibRes.zip and copy the folders with their contents to be on the same folder level as that of the /Files and /Objects folders of the B4A project

Have tested this on S4 mini with KitKat and also on a device with Lollipop.

I will spend some time on it and try to convert this to a library that can be used 100% from within B4A - but this posting just to demonstrate the motion detection via the front facing camera

1.png


2.png


3.png


4.png


5.png
 

Attachments

  • LibRes.zip
    446 bytes · Views: 354
  • resource.zip
    424 bytes · Views: 356
  • b4aNewHandWave.zip
    8.3 KB · Views: 357
  • DemoRes.zip
    32.9 KB · Views: 347
Last edited:

Johan Schoeman

Expert
Licensed User
Longtime User
I can´t use this 3 parameters AFTER loadlayout because this error (with hv in layout)

This last error is in load layout when creating HV object
I will spend some time on it this coming weekend to trace the logic in the library and see if I can sort it out. Just for interest sake - what happens when you do this to Activity_Create:
B4X:
Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
   
    hv.ExposureCompensation = 2
    hv.Enable_ISO_setting = False
    hv.EnableWhiteBalance = False
       
    Activity.LoadLayout("main")
    'hv.Initialize("hv")
    hv.ShowToast = False
   
End Sub
 

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User
Hey Johan,

Now works with Nexus 4!

But, I tried with Samsung S4, Samsung S5 and Nexus 4 and all of them not recognize VERY WELL, in 80% when you pass your hand in front of camera, NOT start the events, in rest of 20% works but sometimes when you pass your hand to up, start left, or down....

Maybe some problem in original library.... I don´t know
 

Johan Schoeman

Expert
Licensed User
Longtime User
Hey Johan,

Now works with Nexus 4!

But, I tried with Samsung S4, Samsung S5 and Nexus 4 and all of them not recognize VERY WELL, in 80% when you pass your hand in front of camera, NOT start the events, in rest of 20% works but sometimes when you pass your hand to up, start left, or down....

Maybe some problem in original library.... I don´t know
Don't move your hand too fast past the camera, be at least 10 to 15cm away from the camera, and beware of casting a shadow over the camera from different directions as what you hand is moving. It will confuse it to death...

I have tried a different library but even the APK crashes. So, this is the next best that I could find. Library makes use of .so files so will have to check the Java code and see if I can find where it actually tries to recognize the hand movement.

But for me this is more about the principle of what could be done than anything else. Will nevertheless see if I can find something.
 

Johan Schoeman

Expert
Licensed User
Longtime User

Johan Schoeman

Expert
Licensed User
Longtime User
look this


I tried with 5,10,15 and 30cm
Alberto, will you please run the attached B4A project and then copy and post the string that it writes to the B4A log (using your Nexus 4). The attached project uses inline java code to extract a whole lot of info about your camera. Please note that I have set....
B4X:
mCamera = Camera.open(1);
....in the inline Java code to get the parameters of the front facing camera (ID = 1)

You need to make sure that the JavaObject library (I have version 2.05) are enabled and take note of permission added to the B4A manifest file
B4X:
AddPermission("android.permission.CAMERA")

This is for eg what my Vodaphone (Lollipop 5.1) returns:
B4X:
flat = 3dnr-mode=off;3dnr-mode-values=off;afeng-max-focus-step=0;afeng-min-focus-step=0;antibanding=50hz;antibanding-values=50hz,60hz,auto;auto-exposure-lock-supported=true;auto-whitebalance-lock-supported=false;brightness_value=0;burst-num=1;cap-mode=normal;cap-mode-values=normal,face_beauty,continuousshot;capfname=/sdcard/DCIM/cap00;cshot-indicator=true;cshot-indicator-supported=true;effect=none;effect-values=none,mono,negative,sepia,sepiablue;eng-s-shad-t=0;eng-shad-t=0;exposure-compensation=0;exposure-compensation-step=1.0;fb-enlarge-eye=0;fb-enlarge-eye-max=4;fb-enlarge-eye-min=-4;fb-extreme-beauty=true;fb-face-pos=-2000:-2000;fb-sharp=0;fb-sharp-max=0;fb-sharp-max-values=0;fb-sharp-min=0;fb-sharp-min-values=0;fb-skin-color=0;fb-skin-color-max=12;fb-skin-color-max-values=12;fb-skin-color-min=-12;fb-skin-color-min-values=-12;fb-slim-face=0;fb-slim-face-max=12;fb-slim-face-max-values=12;fb-slim-face-min=-12;fb-slim-face-min-values=-12;fb-smooth-level=0;fb-smooth-level-max=12;fb-smooth-level-max-values=12;fb-smooth-level-min=-12;fb-smooth-level-min-values=-12;fb-touch-pos=-2000:-2000;flash-duty-max=1;flash-duty-min=0;flash-duty-value=-1;flash-mode=off;flash-mode-values=off;flash-step-max=0;flash-step-min=0;focal-length=3.5;focus-distances=0.95,1.9,Infinity;focus-fs-fi=0;focus-fs-fi-max=65535;focus-fs-fi-min=0;focus-mode=fixed;focus-mode-values=fixed;gesture-shot=false;gesture-shot-supported=true;horizontal-view-angle=71;iso-speed=auto;iso-speed-values=auto;jpeg-quality=100;jpeg-thumbnail-height=128;jpeg-thumbnail-quality=100;jpeg-thumbnail-size-values=0x0,160x128,256x192;jpeg-thumbnail-width=160;m-sr-g=0;m-ss=0;max-exposure-compensation=1;max-num-detected-faces-hw=15;max-num-detected-faces-sw=0;max-num-focus-areas=0;max-num-metering-areas=0;max-num-ot=2;max-zoom=10;min-exposure-compensation=-1;mtk-123-shad-s=false;mtk-awb-s=false;mtk-cam-mode=0;mtk-shad-s=false;native-pip=false;native-pip-supported=false;picture-format=jpeg;picture-format-values=jpeg;picture-size=640x480;picture-size-values=176x144,320x240,640x480,640x368,1024x768,1280x720,1280x960,1600x1200,1920x1088;preferred-preview-size-for-video=1280x720;preview-format=yuv420sp;preview-format-values=yuv420sp,yuv420p,yuv420i-yyuvyy-3plane;preview-fps-range=5000,60000;preview-fps-range-values=(5000,60000);preview-frame-rate=30;preview-frame-rate-values=10,20,15,30;preview-size=320x240;preview-size-values=176x144,320x240,352x288,480x320,480x368,640x480,720x480,800x480,800x600,864x480,960x540,1280x720;rotation=0;scene-mode=auto;scene-mode-values=auto,night;sen-mode-s=0;sensor-type=254;smooth-zoom-supported=true;sr-awb-s=false;sr-shad-s=false;sv1-s=0;sv2-s=0;vertical-view-angle=40;vfb-supported=true;vfb-supported-values=true;video-frame-format=android-opaque;video-size=320x240;video-size-values=176x144,320x240,352x288,480x320,640x480,720x480,854x480,864x480,1280x720;video-snapshot-supported=true;video-stabilization=false;video-stabilization-supported=true;vr-buf-count=10;vrd-s=false;whitebalance=auto;whitebalance-values=auto,incandescent,daylight,cloudy-daylight,fluorescent,tungsten;zoom=0;zoom-ratios=100,114,132,151,174,200,229,263,303,348,400;zoom-supported=true;zsd-mode=off;zsd-mode-values=off
 

Attachments

  • b4aCameraParameters.zip
    6.9 KB · Views: 201

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User
This result you need?

And Yes, my Javaobject is 2.05

flat = ae-bracket-hdr=Off;ae-bracket-hdr-values=Off,HDR;antibanding=auto;antibanding-values=off,50hz,60hz,auto;auto-exposure=center-weighted;auto-exposure-lock=false;auto-exposure-lock-supported=true;auto-exposure-values=frame-average,center-weighted,spot-metering;auto-whitebalance-lock=false;auto-whitebalance-lock-supported=true;camera-mode=1;camera-mode-values=0,1;capture-burst-captures-values=2;capture-burst-exposures=;capture-burst-exposures-values=-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12;capture-burst-interval=1;capture-burst-interval-max=10;capture-burst-interval-min=1;capture-burst-interval-supported=true;capture-burst-retroactive=0;capture-burst-retroactive-max=2;contrast=5;denoise=denoise-on;denoise-values=denoise-off,denoise-on;effect=none;effect-values=none,mono,negative,solarize,sepia,posterize,aqua,emboss,sketch,neon;exposure-compensation=0;exposure-compensation-step=0.166667;face-detection=off;face-detection-values=off,on;focal-length=4.6;focus-areas=(0,0,0,0,0);focus-distances=Infinity,Infinity,Infinity;focus-mode=fixed;focus-mode-values=fixed;hfr-size-values=800x480,640x480;histogram=disable;histogram-values=enable,disable;horizontal-view-angle=54.8;iso=auto;iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600;jpeg-quality=90;jpeg-thumbnail-height=384;jpeg-thumbnail-quality=90;jpeg-thumbnail-size-values=512x288,480x288,432x288,512x384,352x288,320x240,176x144,0x0;jpeg-thumbnail-width=512;lensshade=enable;lensshade-values=enable,disable;luma-adaptation=3;max-contrast=10;max-exposure-compensation=12;max-num-detected-faces-hw=2;max-num-focus-areas=0;max-num-metering-areas=0;max-saturation=10;max-sharpness=30;max-zoom=59;mce=enable;mce-values=enable,disable;metering-areas=(0,0,0,0,0);min-exposure-compensation=-12;no-display-mode=0;num-snaps-per-shutter=1;overlay-format=265;picture-format=jpeg;picture-format-values=jpeg,raw;picture-size=640x480;picture-size-values=1280x960,1280x720,720x480,800x480,640x480,352x288,320x240,176x144;power-mode=Low_Power;power-mode-supported=true;preferred-preview-size-for-video=1280x960;preview-format=yuv420sp;preview-format-values=yuv420sp,yuv420sp-adreno,yuv420p,yuv420p,nv12;preview-fps-range=5000,30000;preview-fps-range-values=(5000,30000);preview-frame-rate=30;preview-frame-rate-mode=frame-rate-auto;preview-frame-rate-modes=frame-rate-auto,frame-rate-fixed;preview-frame-rate-values=5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30;preview-size=640x480;preview-size-values=1280x960,1280x720,800x480,720x480,640x480,576x432,480x320,384x288,352x288,320x240,240x160,176x144;qc-camera-features=1;qc-max-num-requested-faces=2;redeye-reduction=disable;redeye-reduction-values=enable,disable;saturation=5;scene-detect=off;scene-detect-values=off,on;scene-mode=auto;scene-mode-values=auto,asd,action,portrait,landscape,night,night-portrait,theatre,beach,snow,sunset,steadyphoto,fireworks,sports,party,candlelight,backlight,flowers,AR,hdr;selectable-zone-af=auto;selectable-zone-af-values=;sharpness=10;single-isp-output-enabled=false;skinToneEnhancement=0;skinToneEnhancement-values=enable,disable;strtextures=OFF;touch-af-aec=touch-off;touch-af-aec-values=;touchAfAec-dx=200;touchAfAec-dy=200;vertical-view-angle=42.5;video-frame-format=yuv420sp;video-hfr=off;video-hfr-values=off;video-size=1280x720;video-size-values=1280x720,800x480,720x480,640x480,480x320,352x288,320x240,176x144;video-snapshot-supported=true;video-zoom-support=true;whitebalance=auto;whitebalance-values=auto,incandescent,fluorescent,daylight,cloudy-daylight;zoom=0;zoom-ratios=100,102,104,107,109,112,114,117,120,123,125,128,131,135,138,141,144,148,151,155,158,162,166,170,174,178,182,186,190,195,200,204,209,214,219,224,229,235,240,246,251,257,263,270,276,282,289,296,303,310,317,324,332,340,348,356,364,373,381,390;zoom-supported=true;zsl=off;zsl-values=off,on
 

Johan Schoeman

Expert
Licensed User
Longtime User
This result you need?

And Yes, my Javaobject is 2.05

flat = ae-bracket-hdr=Off;ae-bracket-hdr-values=Off,HDR;antibanding=auto;antibanding-values=off,50hz,60hz,auto;auto-exposure=center-weighted;auto-exposure-lock=false;auto-exposure-lock-supported=true;auto-exposure-values=frame-average,center-weighted,spot-metering;auto-whitebalance-lock=false;auto-whitebalance-lock-supported=true;camera-mode=1;camera-mode-values=0,1;capture-burst-captures-values=2;capture-burst-exposures=;capture-burst-exposures-values=-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12;capture-burst-interval=1;capture-burst-interval-max=10;capture-burst-interval-min=1;capture-burst-interval-supported=true;capture-burst-retroactive=0;capture-burst-retroactive-max=2;contrast=5;denoise=denoise-on;denoise-values=denoise-off,denoise-on;effect=none;effect-values=none,mono,negative,solarize,sepia,posterize,aqua,emboss,sketch,neon;exposure-compensation=0;exposure-compensation-step=0.166667;face-detection=off;face-detection-values=off,on;focal-length=4.6;focus-areas=(0,0,0,0,0);focus-distances=Infinity,Infinity,Infinity;focus-mode=fixed;focus-mode-values=fixed;hfr-size-values=800x480,640x480;histogram=disable;histogram-values=enable,disable;horizontal-view-angle=54.8;iso=auto;iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600;jpeg-quality=90;jpeg-thumbnail-height=384;jpeg-thumbnail-quality=90;jpeg-thumbnail-size-values=512x288,480x288,432x288,512x384,352x288,320x240,176x144,0x0;jpeg-thumbnail-width=512;lensshade=enable;lensshade-values=enable,disable;luma-adaptation=3;max-contrast=10;max-exposure-compensation=12;max-num-detected-faces-hw=2;max-num-focus-areas=0;max-num-metering-areas=0;max-saturation=10;max-sharpness=30;max-zoom=59;mce=enable;mce-values=enable,disable;metering-areas=(0,0,0,0,0);min-exposure-compensation=-12;no-display-mode=0;num-snaps-per-shutter=1;overlay-format=265;picture-format=jpeg;picture-format-values=jpeg,raw;picture-size=640x480;picture-size-values=1280x960,1280x720,720x480,800x480,640x480,352x288,320x240,176x144;power-mode=Low_Power;power-mode-supported=true;preferred-preview-size-for-video=1280x960;preview-format=yuv420sp;preview-format-values=yuv420sp,yuv420sp-adreno,yuv420p,yuv420p,nv12;preview-fps-range=5000,30000;preview-fps-range-values=(5000,30000);preview-frame-rate=30;preview-frame-rate-mode=frame-rate-auto;preview-frame-rate-modes=frame-rate-auto,frame-rate-fixed;preview-frame-rate-values=5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30;preview-size=640x480;preview-size-values=1280x960,1280x720,800x480,720x480,640x480,576x432,480x320,384x288,352x288,320x240,240x160,176x144;qc-camera-features=1;qc-max-num-requested-faces=2;redeye-reduction=disable;redeye-reduction-values=enable,disable;saturation=5;scene-detect=off;scene-detect-values=off,on;scene-mode=auto;scene-mode-values=auto,asd,action,portrait,landscape,night,night-portrait,theatre,beach,snow,sunset,steadyphoto,fireworks,sports,party,candlelight,backlight,flowers,AR,hdr;selectable-zone-af=auto;selectable-zone-af-values=;sharpness=10;single-isp-output-enabled=false;skinToneEnhancement=0;skinToneEnhancement-values=enable,disable;strtextures=OFF;touch-af-aec=touch-off;touch-af-aec-values=;touchAfAec-dx=200;touchAfAec-dy=200;vertical-view-angle=42.5;video-frame-format=yuv420sp;video-hfr=off;video-hfr-values=off;video-size=1280x720;video-size-values=1280x720,800x480,720x480,640x480,480x320,352x288,320x240,176x144;video-snapshot-supported=true;video-zoom-support=true;whitebalance=auto;whitebalance-values=auto,incandescent,fluorescent,daylight,cloudy-daylight;zoom=0;zoom-ratios=100,102,104,107,109,112,114,117,120,123,125,128,131,135,138,141,144,148,151,155,158,162,166,170,174,178,182,186,190,195,200,204,209,214,219,224,229,235,240,246,251,257,263,270,276,282,289,296,303,310,317,324,332,340,348,356,364,373,381,390;zoom-supported=true;zsl=off;zsl-values=off,on

Here is a link to new library files (https://www.dropbox.com/s/6wms8ls0rszwgl8/NewHandWaveLibFiles_V_1_03.zip?dl=0). Also see the attached B4A project.
From your data dump it seems to me as if you should use:
B4X:
    hv.IsoParameterName = "iso"           'see popup help when using these two methods for possible values and also the B4A Log.....
    hv.IsoParameterValue = "ISO400"          '.....for what your camera(s) support (values returned by the inline Java code)

Change the code in the attached B4A project to the above and see if it runs/crashes.

New sample code:
B4X:
#Region  Project Attributes
    #ApplicationLabel: b4aNewHandWave
    #VersionCode: 1
    #VersionName:
    'SupportedOrientations possible values: unspecified, landscape or portrait.
    #SupportedOrientations: landscape
    #CanInstallToExternalStorage: False
#End Region

'#AdditionalRes: ..\DemoRes
'#AdditionalRes: ..\LibRes
'#AdditionalRes: ..\resource

'#AdditionalRes: C:\Android\extras\android\support\v7\appcompat\res, android.support.v7.appcompat
'#AdditionalRes: C:\Android\extras\google\google-play-services\libproject\google-play-services_lib\res, com.google.android.gms
'#AdditionalRes: C:\Android\extras\android\support\design\res, android.support.design

'#Extends: android.support.v7.app.AppCompatActivity

#Region  Activity Attributes
    #FullScreen: False
    #IncludeTitle: True
#End Region

Sub Process_Globals
    'These global variables will be declared once when the application starts.
    'These variables can be accessed from all modules.
   
    Private nativeMe As JavaObject

End Sub

Sub Globals
    'These global variables will be redeclared each time the activity is created.
    'These variables can only be accessed from this module.
   
    Private hv As NewHandWave
    Private Label2 As Label

   
End Sub

Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
   
    nativeMe.InitializeContext

    Log("BACK CAMERA:")
    Dim back As String = nativeMe.RunMethod("LogCameraSettings", Array(0))  'we are not intersted in this but added it so that one can....
                                                                            '....see the difference between back and front camera available settings
    Dim data As String = ""
    For i = 0 To back.Length - 1
        If back.CharAt(i) <> ";" Then
            data = data & back.CharAt(i)
        Else
            Log("" & data)   
            data = ""
        End If
    Next
    Log("" & data)   
   
    Log(" ")
    Log(" ")
   
    Log("FRONT CAMERA:")   
    Dim front As String = nativeMe.RunMethod("LogCameraSettings", Array(1))  'we are actually only interested in these values and not that....
                                                                             '.....of the back facing camera.
    data = ""
    For i = 0 To front.Length - 1
        If front.CharAt(i) <> ";" Then
            data = data & front.CharAt(i)
        Else
            Log("" & data)   
            data = ""
        End If
    Next   
    Log("" & data)   
   
   
    'USE THE EXTRACTED DATA FROM ABOVE TO EXTRACT AND SET IsoParameterName and IsoParameterValue FOR SPECIFIC DEVICES
    hv.IsoParameterName = "iso"           'see popup help when using these two methods for possible values and also the B4A Log.....
    hv.IsoParameterValue = "400"          '.....for what your camera(s) support (values returned by the inline Java code)
    hv.ExposureCompensation = 2
       
    Activity.LoadLayout("main")

    hv.ShowToast = False
   
End Sub

Sub Activity_Resume
   

End Sub

Sub Activity_Pause (UserClosed As Boolean)
   
hv.Stop
   

End Sub



Sub hv_gesture_left
   
    If Label2.Left <> 0%x Then
        Label2.SetLayoutAnimated(200, Label2.Left - 5%x, Label2.Top, Label2.Width, Label2.Height)
    End If
   
   
End Sub

Sub hv_gesture_right
   
   
    If Label2.Left <> 100%x Then
        Label2.SetLayoutAnimated(200, Label2.Left + 5%x, Label2.Top, Label2.Width, Label2.Height)
    End If
   
   
End Sub

Sub hv_gesture_up
   
    If Label2.top <> 0%y Then
        Label2.SetLayoutAnimated(200, Label2.Left, Label2.Top - 5%y, Label2.Width, Label2.Height)
    End If
   
   
End Sub

Sub hv_gesture_down
   
    If Label2.top <> 100%y - Label2.height Then
        Label2.SetLayoutAnimated(200, Label2.Left, Label2.Top + 5%y, Label2.Width, Label2.Height)
    End If   
   
   
End Sub


#If Java

import android.hardware.Camera.Parameters;
import android.hardware.Camera;

    Camera mCamera;
    Camera.Parameters mParameters;
   
    public String LogCameraSettings(int camnumber) {            
        mCamera = Camera.open(camnumber);
        mParameters = mCamera.getParameters();

        String flat = mParameters.flatten();
        if (mCamera != null) {
            mCamera.stopPreview();
            mCamera.release();
            mCamera = null;
        }
       
        return flat;     
}
   
#End If

See comments added in the B4A code...
 

Attachments

  • b4aNewHandWave.zip
    9.1 KB · Views: 233

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User
I see all parameters in the log, look:

** Service (starter) Create **
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
BACK CAMERA:
ae-bracket-hdr=Off
ae-bracket-hdr-values=Off,HDR
antibanding=auto
antibanding-values=off,50hz,60hz,auto
auto-exposure=center-weighted
auto-exposure-lock=false
auto-exposure-lock-supported=true
auto-exposure-values=frame-average,center-weighted,spot-metering
auto-whitebalance-lock=false
auto-whitebalance-lock-supported=true
camera-mode=1
camera-mode-values=0,1
capture-burst-captures-values=2
capture-burst-exposures=
capture-burst-exposures-values=-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12
capture-burst-interval=1
capture-burst-interval-max=10
capture-burst-interval-min=1
capture-burst-interval-supported=true
capture-burst-retroactive=0
capture-burst-retroactive-max=2
contrast=5
denoise=denoise-on
denoise-values=denoise-off,denoise-on
effect=none
effect-values=none,mono,negative,solarize,sepia,posterize,aqua,emboss,sketch,neon
exposure-compensation=0
exposure-compensation-step=0.166667
face-detection=off
face-detection-values=off,on
flash-mode=off
flash-mode-values=off,auto,on,torch
focal-length=4.6
focus-areas=(0,0,0,0,0)
focus-distances=1.213779,2.109811,8.059373
focus-mode=auto
focus-mode-values=auto,infinity,normal,macro,continuous-picture,continuous-video
hfr-size-values=800x480,640x480
histogram=disable
histogram-values=enable,disable
horizontal-view-angle=54.8
iso=auto
iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600
jpeg-quality=90
jpeg-thumbnail-height=384
jpeg-thumbnail-quality=90
jpeg-thumbnail-size-values=512x288,480x288,432x288,512x384,352x288,320x240,176x144,0x0
jpeg-thumbnail-width=512
lensshade=enable
lensshade-values=enable,disable
luma-adaptation=3
max-contrast=10
max-exposure-compensation=12
max-num-detected-faces-hw=2
max-num-focus-areas=1
max-num-metering-areas=1
max-saturation=10
max-sharpness=30
max-zoom=59
mce=enable
mce-values=enable,disable
metering-areas=(0,0,0,0,0)
min-exposure-compensation=-12
no-display-mode=0
num-snaps-per-shutter=1
overlay-format=265
picture-format=jpeg
picture-format-values=jpeg,raw
picture-size=640x480
picture-size-values=3264x2448,3264x1836,3264x2176,2592x1944,2048x1536,1920x1080,1600x1200,1280x960,1280x720,720x480,800x480,640x480,352x288,320x240,176x144
power-mode=Low_Power
power-mode-supported=true
preferred-preview-size-for-video=1280x960
preview-format=yuv420sp
preview-format-values=yuv420sp,yuv420sp-adreno,yuv420p,yuv420p,nv12
preview-fps-range=5000,30000
preview-fps-range-values=(5000,30000)
preview-frame-rate=30
preview-frame-rate-mode=frame-rate-auto
preview-frame-rate-modes=frame-rate-auto,frame-rate-fixed
preview-frame-rate-values=5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30
preview-size=640x480
preview-size-values=1280x960,1280x720,800x480,720x480,640x480,576x432,480x320,384x288,352x288,320x240,240x160,176x144
qc-camera-features=1
qc-max-num-requested-faces=2
redeye-reduction=disable
redeye-reduction-values=enable,disable
saturation=5
scene-detect=off
scene-detect-values=off,on
scene-mode=auto
scene-mode-values=auto,asd,action,portrait,landscape,night,night-portrait,theatre,beach,snow,sunset,steadyphoto,fireworks,sports,party,candlelight,backlight,flowers,AR,hdr
selectable-zone-af=auto
selectable-zone-af-values=auto,spot-metering,center-weighted,frame-average
sharpness=10
single-isp-output-enabled=false
skinToneEnhancement=0
skinToneEnhancement-values=enable,disable
strtextures=OFF
touch-af-aec=touch-off
touch-af-aec-values=touch-off,touch-on
touchAfAec-dx=200
touchAfAec-dy=200
vertical-view-angle=42.5
video-frame-format=yuv420sp
video-hfr=off
video-hfr-values=off
video-size=1920x1080
video-size-values=1920x1080,1280x720,800x480,720x480,640x480,480x320,352x288,320x240,176x144
video-snapshot-supported=true
video-zoom-support=true
whitebalance=auto
whitebalance-values=auto,incandescent,fluorescent,daylight,cloudy-daylight
zoom=0
zoom-ratios=100,102,104,107,109,112,114,117,120,123,125,128,131,135,138,141,144,148,151,155,158,162,166,170,174,178,182,186,190,195,200,204,209,214,219,224,229,235,240,246,251,257,263,270,276,282,289,296,303,310,317,324,332,340,348,356,364,373,381,390
zoom-supported=true
zsl=off
zsl-values=off,on


FRONT CAMERA:
ae-bracket-hdr=Off
ae-bracket-hdr-values=Off,HDR
antibanding=auto
antibanding-values=off,50hz,60hz,auto
auto-exposure=center-weighted
auto-exposure-lock=false
auto-exposure-lock-supported=true
auto-exposure-values=frame-average,center-weighted,spot-metering
auto-whitebalance-lock=false
auto-whitebalance-lock-supported=true
camera-mode=1
camera-mode-values=0,1
capture-burst-captures-values=2
capture-burst-exposures=
capture-burst-exposures-values=-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12
capture-burst-interval=1
capture-burst-interval-max=10
capture-burst-interval-min=1
capture-burst-interval-supported=true
capture-burst-retroactive=0
capture-burst-retroactive-max=2
contrast=5
denoise=denoise-on
denoise-values=denoise-off,denoise-on
effect=none
effect-values=none,mono,negative,solarize,sepia,posterize,aqua,emboss,sketch,neon
exposure-compensation=0
exposure-compensation-step=0.166667
face-detection=off
face-detection-values=off,on
focal-length=4.6
focus-areas=(0,0,0,0,0)
focus-distances=Infinity,Infinity,Infinity
focus-mode=fixed
focus-mode-values=fixed
hfr-size-values=800x480,640x480
histogram=disable
histogram-values=enable,disable
horizontal-view-angle=54.8
iso=auto
iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600
jpeg-quality=90
jpeg-thumbnail-height=384
jpeg-thumbnail-quality=90
jpeg-thumbnail-size-values=512x288,480x288,432x288,512x384,352x288,320x240,176x144,0x0
jpeg-thumbnail-width=512
lensshade=enable
lensshade-values=enable,disable
luma-adaptation=3
max-contrast=10
max-exposure-compensation=12
max-num-detected-faces-hw=2
max-num-focus-areas=0
max-num-metering-areas=0
max-saturation=10
max-sharpness=30
max-zoom=59
mce=enable
mce-values=enable,disable
metering-areas=(0,0,0,0,0)
min-exposure-compensation=-12
no-display-mode=0
num-snaps-per-shutter=1
overlay-format=265
picture-format=jpeg
picture-format-values=jpeg,raw
picture-size=640x480
picture-size-values=1280x960,1280x720,720x480,800x480,640x480,352x288,320x240,176x144
power-mode=Low_Power
power-mode-supported=true
preferred-preview-size-for-video=1280x960
preview-format=yuv420sp
preview-format-values=yuv420sp,yuv420sp-adreno,yuv420p,yuv420p,nv12
preview-fps-range=5000,30000
preview-fps-range-values=(5000,30000)
preview-frame-rate=30
preview-frame-rate-mode=frame-rate-auto
preview-frame-rate-modes=frame-rate-auto,frame-rate-fixed
preview-frame-rate-values=5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30
preview-size=640x480
preview-size-values=1280x960,1280x720,800x480,720x480,640x480,576x432,480x320,384x288,352x288,320x240,240x160,176x144
qc-camera-features=1
qc-max-num-requested-faces=2
redeye-reduction=disable
redeye-reduction-values=enable,disable
saturation=5
scene-detect=off
scene-detect-values=off,on
scene-mode=auto
scene-mode-values=auto,asd,action,portrait,landscape,night,night-portrait,theatre,beach,snow,sunset,steadyphoto,fireworks,sports,party,candlelight,backlight,flowers,AR,hdr
selectable-zone-af=auto
selectable-zone-af-values=
sharpness=10
single-isp-output-enabled=false
skinToneEnhancement=0
skinToneEnhancement-values=enable,disable
strtextures=OFF
touch-af-aec=touch-off
touch-af-aec-values=
touchAfAec-dx=200
touchAfAec-dy=200
vertical-view-angle=42.5
video-frame-format=yuv420sp
video-hfr=off
video-hfr-values=off
video-size=1280x720
video-size-values=1280x720,800x480,720x480,640x480,480x320,352x288,320x240,176x144
video-snapshot-supported=true
video-zoom-support=true
whitebalance=auto
whitebalance-values=auto,incandescent,fluorescent,daylight,cloudy-daylight
zoom=0
zoom-ratios=100,102,104,107,109,112,114,117,120,123,125,128,131,135,138,141,144,148,151,155,158,162,166,170,174,178,182,186,190,195,200,204,209,214,219,224,229,235,240,246,251,257,263,270,276,282,289,296,303,310,317,324,332,340,348,356,364,373,381,390
zoom-supported=true
zsl=off
zsl-values=off,on
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = true **


I will try now to works very well, because is not detect very well the hand movements......
 
Top