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

remove unsed language #51

Open
3 of 8 tasks
parice02 opened this issue Mar 22, 2024 · 1 comment
Open
3 of 8 tasks

remove unsed language #51

parice02 opened this issue Mar 22, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@parice02
Copy link

What happened?

How can I remove unused languages or simply select the one I want to use?

Version

@react-native-ml-kit/text-recognition: 1.5.1

Which ML Kit packages do you use?

  • @react-native-ml-kit/barcode-scanning
  • @react-native-ml-kit/face-detection
  • @react-native-ml-kit/identify-languages
  • @react-native-ml-kit/image-labeling
  • @react-native-ml-kit/text-recognition
  • @react-native-ml-kit/translate-text

What platforms are you seeing this issue on?

  • Android
  • iOS

System Information

info Fetching system and libraries information...
System:
  OS: Linux 6.5 Ubuntu 23.10 23.10 (Mantic Minotaur)
  CPU: (12) x64 12th Gen Intel(R) Core(TM) i7-1255U
  Memory: 5.45 GB / 15.33 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.17.1
    path: /usr/bin/node
  Yarn: Not Found
  npm:
    version: 9.8.1
    path: /usr/bin/npm
  Watchman: Not Found
SDKs:
  Android SDK:
    API Levels:
      - "30"
      - "31"
      - "33"
      - "34"
    Build Tools:
      - 30.0.3
      - 31.0.0
      - 32.0.0
      - 33.0.0
      - 33.0.1
      - 34.0.0
    System Images:
      - android-33 | Intel x86_64 Atom
      - android-33 | Google APIs Intel x86_64 Atom
      - android-34 | Intel x86_64 Atom
      - android-34 | Google APIs Intel x86_64 Atom
      - android-34 | Google Play Intel x86_64 Atom
    Android NDK: 22.1.7171670
IDEs:
  Android Studio: Not Found
Languages:
  Java:
    version: 17.0.10
    path: /usr/bin/javac
  Ruby:
    version: 3.1.2
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.4
    wanted: 0.73.4
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: false

Steps to Reproduce

When you inspect the apk, you see that several OCR models are installed.

@parice02 parice02 added the bug Something isn't working label Mar 22, 2024
@a7medev
Copy link
Owner

a7medev commented Apr 19, 2024

Hello @parice02! Unfortunately this is not supported currently, but I can see why this feature can be helpful so I added it to the roadmap. Please feel free to open a PR if you think you can help implement such feature.

@a7medev a7medev added enhancement New feature or request and removed bug Something isn't working labels Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants