Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Where I start to develop Android OMR app?

$
0
0
![image description](/upfiles/14638608283703709.jpg) A just wanna to detect answer mark thought opencv. Looked at many samples. But most of them about hought circle, face detection etc. I look at this question But its not about android. How to detect this answer sheet perfectly? Referance marks needed? Where I begin to detect these black circles? Here my code to detect circles. But I think I need another method to detect my black marks. If I can get the that coordinates than I can get next step. public Mat onCameraFrame(CameraBridgeViewBase.CvCameraViewFrame inputFrame) { mRgba = inputFrame.rgba(); mGray = inputFrame.gray(); MatOfRect circles = new MatOfRect(); Imgproc.HoughCircles(mGray, circles, Imgproc.CV_HOUGH_GRADIENT, 1, 50); // returns number of circular objects found Log.e("circle check", "circles.cols() " + circles.cols()); return mRgba; }

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>