vulovicv23 / opencv-documentscanner-android

Using opencv library, example of connecting project to c++ code and performing document scanning
Apache License 2.0
30 stars 17 forks source link

opencv-documentscanner-android

Using opencv library, example of connecting project to c++ code and performing document scanning

For project setup, please follow https://github.com/leadrien/opencv_native_androidstudio

It is great tutorial on how to setup project including c++ support, adding opencv library for c++ and java, etc...

Sample project

In this project, you will have 2 options:

  1. Take a photo with Camera2Api detect document, detect edges, rotate it, crop it and present the photo in your activity
  2. Detect edges while using your camera with OpenCv Camera view