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

CoreML integration #150

Open
DwarfCommunist opened this issue Oct 22, 2024 · 1 comment
Open

CoreML integration #150

DwarfCommunist opened this issue Oct 22, 2024 · 1 comment

Comments

@DwarfCommunist
Copy link

Hello, sorry for disturbing. Amazing project.
Currently I'm trying to integrate project into swift using coreml package (https://huggingface.co/breezedeus/pix2text-mfd-coreml)

As I see after passing 768*768 image, it returns vector MultiArray (Float32 1 × 6 × 12096).
Could you help me, how to process output to string, should I pick some indexes from it and convert to symbols?
Sorry don't have a lot experience in ML
Thanks for your time.

@breezedeus
Copy link
Owner

Sorry, I am not familiar with the specific usage method of the CoreML model. I only used the script of Ultralytics to convert the pt format model to CoreML. But I don't know how to use it in non-Python environments.

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

2 participants