jetpacapp / DeepBeliefSDK

The SDK for Jetpac's iOS Deep Belief image recognition framework
Other
2.86k stars 437 forks source link

just balck screen on android #42

Open jackyzhangjia opened 9 years ago

jackyzhangjia commented 9 years ago

I run android example and i found the below errors:

@@@ ABORTING: LIBC: ARGUMENT IS INVALID HEAP ADDRESS IN dlfree addr=0x65b6e000 Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 6374 (com.example.cam)

davidtian02 commented 9 years ago

try it on an galaxy S5? it's one of the better devices. it kept crashing periodically for me as well on certain devices.

Alternatively, you can write your own Sample activity to avoid camera callback. For example, provide the images from your Media store/Gallery app, and you might avoid more of these memory errors (this worked for me on the lower end devices)