Frontend for the Grain Quality and Quantity Analyzer android app built for Osaw Industrial Products Pvt. Ltd. The app allows users to take pictures of rice grains and perform dimensional analysis and quality checks on the grains.
Tested only on Android so far, but can be customized for iOS easily.
Note: This is only the front-end of the app. The backend is written in Django and is in a separate repo. The frontend makes POST request to the REST APIs for analysis.
- Node JS >= 12
- React Native 0.66.3
- Java SE Development Kit (JDK) >= 11
- Firebase >= 9.6.2
- Android Studio
- React Native Image Picker
- React Native Paper
(For complete list of packages and utilities, see ``package.json```)
- DPI Calibration
- Add option to download analysis results as PDF
For installation and setup instructions, see the React Native Setup Guide.
After setup, clone this repository and run the app on the Android emulator.
npx react-native start
npx react-native run-android
To generate a debug APK file (i.e. an APK for testing purposes, not meant for distribution to clients):
- Go to the root directory and run the following command:
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
cd android
./gradlew assembleDebug
Once the debug assembly is complete, the APK file should be available in the app-frontend/android/app/build/outputs/apk/debug/
directory as app-debug.apk
The software is the property of Osaw Industrial Products Pvt. Ltd. Distribution to third parties without the express consent of the company is illegal.
- Aastha Sharma