🤖 Capture an image using a scanner, pre-process it and save the finished Bitmap in pdf format
The scanner works with the help of Google ML kit and the function of saving the processed image in pdf format has been added
Before you begin, ensure you have the following installed:
- Android Studio : Download and install the latest version from the official website.
- Git : Ensure Git is installed on your system. You can download it from the official Git website.
- Java Development Kit (JDK) : Make sure you have JDK installed. Android Studio usually comes with its own JDK, but you can also install it separately.
Follow these steps to set up the development environment:
-
Clone the Repository Open your terminal or command prompt and run the following command to clone the repository:
git clone https://github.com/warjohn/ScanerOCR.git
-
Open the Project in Android Studio
- Launch Android Studio.
- Select "Open an existing Android Studio project" from the welcome screen.
- Navigate to the cloned repository directory and select the project.
-
Install Dependencies
- Once the project is open, Android Studio will automatically start syncing the project with Gradle.
- If prompted, agree to install any missing components or updates.
-
Build the Project
- Wait for the Gradle sync to complete.
- Click on "Build" in the top menu and select "Rebuild Project" to ensure everything is set up correctly.
-
Run the Project
- Connect your Android device via USB or use an emulator.
- Click the run button (green play icon) to build and run the app on your device or emulator.
-
Enjoy Refactoring
- Once the app is running, you can start refactoring the code, adding new features, or fixing bugs.