flutter-simple-edge-detection icon indicating copy to clipboard operation
flutter-simple-edge-detection copied to clipboard

Not working in SignedAPk in Android

Open AamilSilawat26 opened this issue 4 years ago • 14 comments

Not working in signedAPK in Android, It is detecting edge very well in release mode, But when I convert release APK to sign APK it is not working and even not detecting edges.

AamilSilawat26 avatar Feb 19 '21 13:02 AamilSilawat26

Hey there. Can you extract any error so that we can investigate the issue?

flutter-clutter avatar Feb 21 '21 22:02 flutter-clutter

Hello, I am not getting any kind of error but edge are not detecting in Android SIgnAPK, I have already spend two days for this but still not able to find what's issue is.

AamilSilawat26 avatar Feb 22 '21 06:02 AamilSilawat26

That's strange. And the output of the build command does also not give you any clue? I don't see why there should be any difference between those two. Are you completely sure that the image you are testing with is supposed to be recognized by the algorithm?

flutter-clutter avatar Feb 22 '21 07:02 flutter-clutter

Yes I am testing this from last 3 days in Release APK it is working well but in Sign APK there is no error performing just edge not detecting in Sign APK you can test it by creating sign APK in Android

AamilSilawat26 avatar Feb 23 '21 05:02 AamilSilawat26

Hello Marc, Any update on above issue ? Did you checking on this ?

AamilSilawat26 avatar Feb 25 '21 06:02 AamilSilawat26

@AamilSilawat26 Sorry for the late response. I just checked it. Used this way of creating a signed APK: https://stackoverflow.com/questions/55536637/how-to-build-signed-apk-from-android-studio-for-flutter and copied the APK file on my phone where I installed and executed it. No problem, edges are being detected.

It seems that your issue is not particularly related to this edge detection package.

flutter-clutter avatar Mar 21 '21 12:03 flutter-clutter

@AamilSilawat26 Hey there! Has there been an update? Are you able to build the signed APK now? I hope so!

flutter-clutter avatar Mar 29 '21 20:03 flutter-clutter

Unfortunately not, I am not able to detect edges in Sign APK, as you suggest link and I have tried it, But Still not able to detect edges.

AamilSilawat26 avatar Mar 30 '21 04:03 AamilSilawat26

Hi @AamilSilawat26

Were you able to solve this issue? We seem to be stuck with a similar problem.

cobus-meyer avatar Jun 15 '21 09:06 cobus-meyer

Hi @AamilSilawat26

Were you able to solve this issue? We seem to be stuck with a similar problem.

Nope Problem is still alive....

AamilSilawat26 avatar Jun 18 '21 12:06 AamilSilawat26

@AamilSilawat26 we solved our prolem by using cv::Scalar instead of cv::InputArray data types.

cobus-meyer avatar Jun 18 '21 14:06 cobus-meyer

@AamilSilawat26 we solved our prolem by using cv::Scalar instead of cv::InputArray data types.

In which class or folder you made changes ?

Can you please let me know ?

AamilSilawat26 avatar Jun 21 '21 05:06 AamilSilawat26

@AamilSilawat26 we solved our prolem by using cv::Scalar instead of cv::InputArray data types.

In which class or folder you made changes ?

Can you please let me know ?

The changes were made in our cpp source files, under ios/Classes/filename.cpp

cobus-meyer avatar Jun 21 '21 09:06 cobus-meyer

@AamilSilawat26 we solved our prolem by using cv::Scalar instead of cv::InputArray data types.

In which class or folder you made changes ? Can you please let me know ?

The changes were made in our cpp source files, under ios/Classes/filename.cpp

I have not found any cv::InputArray in any cpp Files !!!

Can you please give me the exact name of file or which line you have made changes. It would be really appreciate.

AamilSilawat26 avatar Jun 21 '21 11:06 AamilSilawat26