sample-tensorflow-imageclassifier icon indicating copy to clipboard operation
sample-tensorflow-imageclassifier copied to clipboard

Camera callback never called

Open yihanseattle opened this issue 7 years ago • 3 comments

The capture callback is never called. I'm using Raspberry Pi Camera Module V2 - 8 Megapixel,1080p 0.5.1-devpreview

The last log seen was: L165

It means that the camera and everything was ready, right? But never got any thing back at: L180 onCaptureProgressed or L188 onCaptureCompleted

Please help. Where can I look into next?

yihanseattle avatar Nov 03 '17 07:11 yihanseattle

@yihanseattle Are you using this sample as it is? Can you test with DP6.1 (latest)?

mangini avatar Dec 20 '17 00:12 mangini

BTW, I just tested with RPI3, Camera module V2.1 and Android Things 0.6-devpreview and it works perfectly fine.

mangini avatar Dec 20 '17 00:12 mangini

Same answer just copy the answer here. Hope will give some help.

After some study, just found this is also causing by the security setting. Can be solved by the following step: #1. Install the app #2. Reboot, #3. Start the app again

It was said Android 3.0 already know it is AndroidThings, and will grand the permission automatically, But my IDE is Android 3.01, still need to reboot.

forqzy avatar Feb 10 '18 22:02 forqzy