Problem with ImageDetectorDemo from GtiHub


#1

Hi,
I tried the example ImageDetectorDemo https://github.com/Affectiva/android-sdk-samples

In loadInitialImage() I replaced ‘bitmap = getBitmapFromAsset(this, “images/default.jpg”)’
with ‘bitmap = BitmapFactory.decodeFile("/mnt/sdcard/DCIM/Camera/mm.jpg");’

I expected that the picture would be displayed immediately after starting the application, but it was not.
Nevertheless, detector successfully recognized emotions.
But after pushing button ROT LEFT or ROT RIGHT the picture was displayed successfully.

Did I do something wrong?