Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working in SignedAPk in Android #15

Open
AamilSilawat26 opened this issue Feb 19, 2021 · 14 comments
Open

Not working in SignedAPk in Android #15

AamilSilawat26 opened this issue Feb 19, 2021 · 14 comments

Comments

@AamilSilawat26
Copy link

AamilSilawat26 commented Feb 19, 2021

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.

@flutter-clutter
Copy link
Owner

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

@AamilSilawat26
Copy link
Author

AamilSilawat26 commented Feb 22, 2021

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.

@flutter-clutter
Copy link
Owner

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?

@AamilSilawat26
Copy link
Author

AamilSilawat26 commented Feb 23, 2021

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
Copy link
Author

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

@flutter-clutter
Copy link
Owner

@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
Copy link
Owner

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

@AamilSilawat26
Copy link
Author

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.

@cobus-meyer
Copy link

Hi @AamilSilawat26

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

@AamilSilawat26
Copy link
Author

Hi @AamilSilawat26

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

Nope Problem is still alive....

@cobus-meyer
Copy link

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

@AamilSilawat26
Copy link
Author

@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 ?

@cobus-meyer
Copy link

cobus-meyer commented Jun 21, 2021

@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

@AamilSilawat26
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants