darkmatter18 / WhatsThere

Pytorch based Android app, which classifies images using MobileNet-V2 model, takes image using CameraX API
https://github.arkadip.me/WhatsThere/
Apache License 2.0
21 stars 10 forks source link

at androidx.camera. #180

Open KangChou opened 11 months ago

KangChou commented 11 months ago

D/UseCaseAttachState: All use case: [androidx.camera.core.ImageAnalysis-363243cc-9dfa-4221-a621-f07e9ad2455d225614689, androidx.camera.core.Preview-688c94fe-d026-4a9e-b7fe-eb2e30b843f9107609800] for camera: 0 D/UseCaseAttachState: Active and attached use case: [androidx.camera.core.ImageAnalysis-363243cc-9dfa-4221-a621-f07e9ad2455d225614689] for camera: 0 E/AndroidRuntime: FATAL EXCEPTION: main Process: com.arkadip.whatsthere, PID: 7361 java.lang.NoSuchMethodError: No virtual method getCamera()Landroidx/camera/core/Camera; in class Landroidx/camera/core/SurfaceRequest; or its super classes (declaration of 'androidx.camera.core.SurfaceRequest' appears in /data/data/com.arkadip.whatsthere/code_cache/.overlay/base.apk/classes.dex) at androidx.camera.view.PreviewView.lambda$createSurfaceProvider$1$PreviewView(PreviewView.java:240) at androidx.camera.view.-$$Lambda$PreviewView$n1PRP3s6fDboGjmt9Yty7nYrFM0.onSurfaceRequested(Unknown Source:2) at androidx.camera.core.Preview.lambda$sendSurfaceRequestIfReady$1(Preview.java:389) at androidx.camera.core.-$$Lambda$Preview$cQQSNpTD_vzDR540rq5dmfARJz4.run(Unknown Source:4) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7656) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) D/Camera2CameraImpl: {Camera@a06afe[id=0]} Resetting Capture Session