0

I need to scan an image (or video stream) using a mobile camera on an Android device, and transform the resulting image into OpenCV Mat format.

Is there any library or OpenCV-android-sdk method to do this?

vSomers
  • 426
  • 3
  • 13
uma
  • 1,477
  • 3
  • 32
  • 63
  • 2
    Hi. Are you asking for what ? Code ? Steps ? An article to achieve that ? – lucians Oct 03 '19 at 18:10
  • @Link yep, I need some code or helping libraries to do this stuff. (i will check to google vision library(barcode reader etc.) but I could not understand it suitable for my work. so, need some expert guidance to do this. ? – uma Oct 04 '19 at 00:56
  • 1
    I wrote a [tutorial on Github](https://github.com/VlSomers/native-opencv-android-template) with a sample OpenCV Android application. This sample application displays a live camera feed with an OpenCV adaptive threshold filter applied on each frame. The OpenCV adaptive threshold call is performed in C++. Hope it will help. – vSomers Oct 04 '19 at 08:57
  • @vSomers thank you. I will refer it. :) but I need to know are there any different scan image trough camera and just capturing image from camera ? – uma Oct 04 '19 at 14:10
  • @vSomers are there any way to convert your project java? I am not familiar that language / – uma Oct 04 '19 at 14:14
  • 1
    @uma I'm going to write a Java version – vSomers Oct 05 '19 at 12:42
  • 1
    @uma you can find the Java version [here](https://github.com/VlSomers/native-opencv-android-template/blob/master/app/src/main/java/com/example/nativeopencvandroidtemplate/MainActivity.java) – vSomers Oct 05 '19 at 16:46
  • @vSomers Thank lot of .., can i used this as image scanner ? – uma Oct 06 '19 at 01:43
  • 1
    What do you mean exactly by "image scanner"? – vSomers Oct 06 '19 at 09:49
  • like we used camera as scan QR code , are there any different between that process ? (i need to know image capture and scan both same or different) . I saw playstoer as some app to image scan. – uma Oct 06 '19 at 09:56
  • @vSomers https://stackoverflow.com/questions/58238681/are-there-any-different-between-scan-image-through-camera-and-capturing-image-fr i post different question also ,but not yet any help. – uma Oct 06 '19 at 09:58

0 Answers0