edufolly / flutter_mobile_vision

Flutter implementation of Google Mobile Vision.
MIT License
455 stars 168 forks source link

Not working on android real device #64

Open PhanithNoch opened 3 years ago

PhanithNoch commented 3 years ago

D/skia ( 9591): onFlyCompress D/ViewRootImpl@1acb3a9OcrCaptureActivity: ViewPostImeInputStage processKey 1 W/DynamiteModule( 9591): Local module descriptor class for com.google.android.gms.vision.dynamite.ocr not found. I/DynamiteModule( 9591): Considering local module com.google.android.gms.vision.dynamite.ocr:0 and remote module com.google.android.gms.vision.dynamite.ocr:0 D/TextNativeHandle( 9591): Cannot load feature, fall back to load dynamite module. W/DynamiteModule( 9591): Local module descriptor class for com.google.android.gms.vision.ocr not found. I/DynamiteModule( 9591): Considering local module com.google.android.gms.vision.ocr:0 and remote module com.google.android.gms.vision.ocr:0 E/Vision ( 9591): Error loading module com.google.android.gms.vision.ocr optional module true: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0. W/DynamiteModule( 9591): Local module descriptor class for com.google.android.gms.vision.dynamite.ocr not found. I/DynamiteModule( 9591): Considering local module com.google.android.gms.vision.dynamite.ocr:0 and remote module com.google.android.gms.vision.dynamite.ocr:0 D/TextNativeHandle( 9591): Cannot load feature, fall back to load dynamite module. W/DynamiteModule( 9591): Local module descriptor class for com.google.android.gms.vision.ocr not found. I/DynamiteModule( 9591): Considering local module com.google.android.gms.vision.ocr:0 and remote module com.google.android.gms.vision.ocr:0 E/Vision ( 9591): Error loading module com.google.android.gms.vision.ocr optional module true: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0. D/Camera ( 9591): app passed NULL surface D/SurfaceView( 9591): Relayout returned: oldFrame=[0,0][1440,2560] newFrame=[0,0][1440,2560] result=0x7 surface={Surface(name=null)/@0xca7f73d isValid=true 523259174400} D/mali_winsys( 9591): EGLint new_window_surface(egl_winsys_display, void, EGLSurface, EGLConfig, egl_winsys_surface*, egl_color_buffer_format, EGLBoolean) returns 0x3000, [1440x2560]-format:1 D/ViewRootImpl@ba1dfcMainActivity: Relayout returned: oldFrame=[0,0][1440,2560] newFrame=[0,0][1440,2560] result=0x7 surface={isValid=true 522841735680} surfaceGenerationChanged=true D/ViewRootImpl@ba1dfcMainActivity: mHardwareRenderer.initialize() mSurface={isValid=true 522841735680} hwInitialized=true D/mali_winsys( 9591): EGLint new_window_surface(egl_winsys_display, void, EGLSurface, EGLConfig, egl_winsys_surface*, egl_color_buffer_format, EGLBoolean) returns 0x3000, [1440x2560]-format:1 D/ViewRootImpl@1acb3a9OcrCaptureActivity: MSG_WINDOW_FOCUS_CHANGED 0 D/ViewRootImpl@ba1dfcMainActivity: MSG_WINDOW_FOCUS_CHANGED 1 D/ViewRootImpl@ba1dfcMainActivity: mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true 522841735680} V/InputMethodManager( 9591): Starting input: tba=android.view.inputmethod.EditorInfo@77259ea nm : th.co.imake.getx.ed.flutter_vision_testing ic=null I/InputMethodManager( 9591): [IMM] startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport( 9591): Input channel constructed: fd=88 D/InputTransport( 9591): Input channel destroyed: fd=103 D/SurfaceView( 9591): Relayout returned: oldFrame=[-240,0][1680,2560] newFrame=[-240,0][1680,2560] result=0x5 surface={Surface(name=null)/@0x4c62ee1 isValid=false 0} D/ViewRootImpl@1acb3a9OcrCaptureActivity: mHardwareRenderer.destroy()#1 D/ViewRootImpl@1acb3a9OcrCaptureActivity: Relayout returned: oldFrame=[0,0][1440,2560] newFrame=[0,0][1440,2560] result=0x5 surface={isValid=false 0} surfaceGenerationChanged=true D/ViewRootImpl@1acb3a9OcrCaptureActivity: mHardwareRenderer.destroy()#4 D/ViewRootImpl@1acb3a9OcrCaptureActivity: dispatchDetachedFromWindow D/InputTransport( 9591): Input channel destroyed: fd=99

giovannism20 commented 3 years ago

Hey @PhanithNoch can you put output formated and a little piece of how you have implemented this ?