schenkerx / GrabCutDemo

An Android demonstration of segmenting an image by Grab-Cut algorithm.
MIT License
26 stars 4 forks source link

Update to OpenCV 3.2 and demo app #1

Open avipars opened 7 years ago

avipars commented 7 years ago

Hi, can you update your sample to the newest OpenCV version?

Also, can you publish the demo app to the play store?

schenkerx commented 7 years ago

Hi @avipars, thanks for your advice. Currently I am busy with handling exams. I will update the repo with newer version of OpenCV once I done with my exams.

BTW, I am not going to publish the demo app to the play store, because there's still lots of work to do to make it a usable demo. If you are interested in improving the demo app, pull requests are welcome.

avipars commented 7 years ago

your app seems to crash on my device. It's a ZTE Axon 7 with android 7.1. Can you tell me the test device you are using and how you avoid these crashes?

schenkerx commented 7 years ago

The apps was developed on LGE Nexus 4 (it was on Android 6.0). What's the stack trace? I doubt if there's some compatibility issues for the old version of OpenCV library.

avipars commented 7 years ago

A few things, the image picked doesn't load into the ImageView. And after processing, the app just closes.

avipars commented 7 years ago

03-22 12:23:25.020 29062-29127/cvworkout2.graphcutdemo D/OpenGLRenderer: endAllActiveAnimators on 0x7f91b44000 (MenuPopupWindow$MenuDropDownListView) with handle 0x7f9087eb40

schenkerx commented 7 years ago

Sorry for replying late! I will test on this issue tonight.

avipars commented 7 years ago

Thanks. I'm sorry I couldn't be more clear about the exact issue. I can do a screen recording if you would like.

I'm actually thinking there is some sort of leak, although I'm not an expert. I'm going to set it up with Leak Canary or a similar test and will give you the results.

On Sat, Mar 25, 2017, 1:32 AM Xie, Yongsheng notifications@github.com wrote:

Sorry for replying late! I will test on this issue tonight.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/schenkerx/GrabCutDemo/issues/1#issuecomment-289158742, or mute the thread https://github.com/notifications/unsubscribe-auth/AFd7fxyJFOFB3Q-hq_NfsW6gILdP_dgMks5rpESCgaJpZM4Mhupt .