2017-06-22 07:12:46 -0600 | received badge | ● Popular Question (source) |
2013-12-14 16:50:38 -0600 | asked a question | Android optimization - line detection is slow - Hough Lines in my project I need to detect lines in image. I actually have to detect rows and columns inside rectangle. I use OpenCV to accomplish this. I have done it succesfuly but it's kinda slow. I use many functions to preprocess the image - e.g. thresholding, canny, dilation, gaussian blur etc. I use HoughLines like this It takes about 2.5 s to complete my program which has ~ 600 lines. But on this one line it takes 2.2 s. As you can see I use Java interface for OpenCV. Is it possible to optimize it someway? Would rewriting my program to NDK make it faster? If I understand OpenCV4Android, than it's just wrapper for functions written in NDK, so I don't think it would be faster. Or is there better and faster approach to detect lines in image? Thanks for any advice. |
2013-09-23 15:23:19 -0600 | received badge | ● Student (source) |
2013-09-23 15:19:05 -0600 | asked a question | OpenCV Android - Static initialization in Android Studio Can someone guide me how to make it with static initialization in Android Studio? Thanks There's tutorial for Eclipse - http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.html#application-development-with-static-initialization. |
2013-09-23 14:47:05 -0600 | answered a question | How to work with OPENCV4ANDROID- in android studio Can someone guide me how to make it with static initialization in Android Studio? Thanks There's tutorial for Eclipse - http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.html#application-development-with-static-initialization. |