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

Portable version for Windows? #336

Open
GeniusBroccoli opened this issue Dec 31, 2022 · 4 comments · May be fixed by #660
Open

Portable version for Windows? #336

GeniusBroccoli opened this issue Dec 31, 2022 · 4 comments · May be fixed by #660
Labels
enhancement New feature or request help wanted Looking for contributors to work on this issue

Comments

@GeniusBroccoli
Copy link

Are there any plans to make portable builds? Or maybe there is a way to make an installed program portable?

@dynobo
Copy link
Owner

dynobo commented Dec 31, 2022

Good idea, @GeniusBroccoli ! As it is quite low priority for me, I'd be happy about contributions to support this!

@dynobo dynobo added enhancement New feature or request help wanted Looking for contributors to work on this issue labels Dec 31, 2022
@koppor
Copy link
Contributor

koppor commented Jan 24, 2024

Just as an idea: To do a little step here, maybe one could replace the dependency on Tesseract by using Window's build in OCR functionality (this refs #599 (comment)).

@dynobo
Copy link
Owner

dynobo commented Jan 28, 2024

@koppor , good idea

The docs, though, seem to indicate, that it might not be possible to use the built-in OCR in portable apps:

Remarks
APIs in the Windows.Media.Ocr namespace are only supported for desktop apps with package identity. This means that the app is installed and run from an MSIX package. For more information, see Features that require package identity. For information about calling these APIs from a desktop app, see Call Windows Runtime APIs in desktop apps.

Another question I couldn't answer, yet: What's the privacy statement for using Windows OCR? Is it 100% offline? Or are samples being send to the cloud?

@dynobo
Copy link
Owner

dynobo commented Jan 28, 2024

A good starting point for working on this issue might be the briefcase docs:

It seems like briefcase (the tool used to package NormCap) already supports a zip format.

So, a first step might be to modify NormCap's build script to use that option, run bundle/build.py and see if something useful drops out.

@mofazhe mofazhe linked a pull request Jun 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Looking for contributors to work on this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants