Skip to content

gamertense/react-native-transformers-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transformers.js example for React Native

This is an example of how to use the transformers.js package in a React Native project. The example simulates a scenario where a user travels to a foreign country and wants to open an app to use the camera to translate and summarize an article. The app uses two packages to achieve this:

  • react-native-tesseractocr
  • @fugood/transformers

Since the transformers.js package isn't officially released for use in React Native, we will use a prerelease maintained by the BRICKS team.

Current Limitations

  • The @devinikhiya/react-native-tesseractocr package is not supported on iOS as stated by its author.
  • It takes a significant amount of time to translate and summarize.

Prerequisites

  • Node.js
  • Yarn
  • Android Studio
  • An Android device or emulator

Setup Android Emulator

Run the following command to create an emulator:

chmod +x create_emulator.sh
./create_emulator.sh

Installation

yarn

Usage

yarn android

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors