android Programming Glossary: scalar
Using NanoHTTPD in Android http://stackoverflow.com/questions/14309256/using-nanohttpd-in-android
OpenCV Template Matching example in Android http://stackoverflow.com/questions/17001083/opencv-template-matching-example-in-android matchLoc Point matchLoc.x templ.cols matchLoc.y templ.rows Scalar all 0 2 8 0 rectangle result matchLoc Point matchLoc.x templ.cols.. matchLoc Point matchLoc.x templ.cols matchLoc.y templ.rows Scalar all 0 2 8 0 imshow image_window img_display imshow result_window.. import org.opencv.core.Point import org.opencv.core.Scalar import org.opencv.highgui.Highgui import org.opencv.imgproc.Imgproc..
Android OpenCV Drawing Hough Lines http://stackoverflow.com/questions/7925698/android-opencv-drawing-hough-lines mIntermediateMat mLines 1 Math.PI 180 100 Scalar color new Scalar 0 0 255 double data double rho theta Point.. mIntermediateMat mLines 1 Math.PI 180 100 Scalar color new Scalar 0 0 255 double data double rho theta Point pt1 new Point Point.. y1 Point end new Point x2 y2 Core.line mRgba start end new Scalar 255 0 0 3 Bitmap bmp Bitmap.createBitmap getFrameWidth getFrameHeight..
Using NanoHTTPD in Android http://stackoverflow.com/questions/14309256/using-nanohttpd-in-android
OpenCV Template Matching example in Android http://stackoverflow.com/questions/17001083/opencv-template-matching-example-in-android matchLoc maxLoc Show me what you got rectangle img_display matchLoc Point matchLoc.x templ.cols matchLoc.y templ.rows Scalar all 0 2 8 0 rectangle result matchLoc Point matchLoc.x templ.cols matchLoc.y templ.rows Scalar all 0 2 8 0 imshow image_window.. matchLoc.y templ.rows Scalar all 0 2 8 0 rectangle result matchLoc Point matchLoc.x templ.cols matchLoc.y templ.rows Scalar all 0 2 8 0 imshow image_window img_display imshow result_window result return java android c opencv template matching.. import org.opencv.core.CvType import org.opencv.core.Mat import org.opencv.core.Point import org.opencv.core.Scalar import org.opencv.highgui.Highgui import org.opencv.imgproc.Imgproc class MatchingDemo public void run String inFile String..
Android OpenCV Drawing Hough Lines http://stackoverflow.com/questions/7925698/android-opencv-drawing-hough-lines Imgproc.Canny mGray mIntermediateMat 80 100 Imgproc.HoughLines mIntermediateMat mLines 1 Math.PI 180 100 Scalar color new Scalar 0 0 255 double data double rho theta Point pt1 new Point Point pt2 new Point double a b double x0 y0 for.. mGray mIntermediateMat 80 100 Imgproc.HoughLines mIntermediateMat mLines 1 Math.PI 180 100 Scalar color new Scalar 0 0 255 double data double rho theta Point pt1 new Point Point pt2 new Point double a b double x0 y0 for int i 0 i mLines.cols.. 0 y1 vec 1 x2 vec 2 y2 vec 3 Point start new Point x1 y1 Point end new Point x2 y2 Core.line mRgba start end new Scalar 255 0 0 3 Bitmap bmp Bitmap.createBitmap getFrameWidth getFrameHeight Bitmap.Config.ARGB_8888 if Utils.matToBitmap mRgba..
|