OpenNoteScanner icon indicating copy to clipboard operation
OpenNoteScanner copied to clipboard

OpenCV dependency

Open eakteam opened this issue 1 year ago • 6 comments

It would be great if this project implement the OpenCV natively in the code without needing the OpenCV to be externally downloaded/instaleed ?

eakteam avatar Jul 30 '22 14:07 eakteam

I think it's license issue/incompatibility.

PatrykMis avatar Jul 30 '22 19:07 PatrykMis

It is open source and it will works way to more faster and also great control via Native.

https://github.com/VlSomers/native-opencv-android-template

eakteam avatar Jul 31 '22 14:07 eakteam

There is various ways to solve:

  • embed opencv and use .aab files (already used on play store version)
  • embed all opencv variants, making .apk huge
  • selective build different archs with opencv embeded (for fdroid)
  • build source code with only used functions, making size .apk extremely optimized

the main problem is lack of expertise... any code on this is welcome.

allgood avatar Aug 23 '22 18:08 allgood

Shame for F-Droid developers for not implementing Split APKs. Fortunately Accrescent, modern and secure app store is coming.

As of now I think option 1 or 2 would be good choice.

PatrykMis avatar Aug 23 '22 20:08 PatrykMis

Shame for F-Droid developers for not implementing Split APKs. Fortunately Accrescent, modern and secure app store is coming.

As of now I think option 1 or 2 would be good choice.

As an update to this, Accrescent is now in alpha. Developers can submit apps after they're whitelisted, so it's not completely open just yet though. Hiccups - as with all alpha software - are probably to be expected.

If the project's interested, documentation can be found here:

https://accrescent.app/docs/index.html

Edit: It does seem like this app would probably need some changes/updates to be eligible though, such as the targetSDK being bumped up to 31+. I don't know if the project is active and willing to keep up with such updates in the long term.

matchboxbananasynergy avatar Dec 21 '22 21:12 matchboxbananasynergy

I agree. I cant install opencv manager thing. it said my phone is not compatible.

ELY3M avatar Feb 19 '24 17:02 ELY3M