2020-11-13 14:14:28 -0600 | received badge | ● Popular Question (source) |
2019-05-30 23:18:46 -0600 | received badge | ● Popular Question (source) |
2018-04-13 07:38:01 -0600 | received badge | ● Student (source) |
2018-03-26 05:56:33 -0600 | commented question | Get the vertices of card Actually I have tried this method too. But as u see in the last image the card edge is not only consists of one straight |
2018-03-25 22:18:04 -0600 | asked a question | Get the vertices of card Get the vertices of card I am trying to detect a card and do warpperspective on the image. I have successfully get the c |
2015-12-09 05:15:24 -0600 | received badge | ● Enthusiast |
2015-12-05 06:22:55 -0600 | asked a question | Mat hierarchy in Java vs vector<cv::Vec4i> hierarchy in C++ I have a function in C++ as below. Then I want to convert it to Java to use in android. However, i do not how to convert 3 lines coding that i commented due to different type of hierarchy in C++ and Java. hierarchy.size() > 0 Error: cant compare org.opencv.core.Size with int. This one maybe can replace by hierarchy != null. int numObjects = hierarchy.size(); Error: Basically same as above but i have no idea how to change it. I need to know the size. for (int index = 0; index >= 0; index = hierarchy[index][0]) Error: In c++ hierarchy is vector type but in Java is Mat type. Anyone can help me? |
2015-11-23 09:05:36 -0600 | asked a question | Access data from MatofPoint I am using opencv in android. I run the following coding. I try to print the value of contours and get the results as below. Contour: [Mat [ 11CV_32SC2, isCont=true, isSubmat=false, nativeObj=0x1fc4ec0, dataAddr=0x1fc3970 ] I know in Visual Studio, contours contain Point. But in android, how can i get the Point? And can anyone tell what is exactly MatofPoint? |
2015-11-20 06:49:39 -0600 | asked a question | Error when switch flash light on android javacameraview I am using OpenCV4Android in my project and i am using JavaCameraView. I tried to switch my phone flash light but failed. Here is my attempt. i tried three method but i got this error. java.lang.NullPointerException. Anyone please help me. |
2015-10-06 06:46:53 -0600 | commented question | CvException on OpenCV4Android i attached the full coding at last of my question |
2015-10-04 09:04:06 -0600 | asked a question | CvException on OpenCV4Android I try to get my ROI by touching on the screen and save ROI to a mat. This is the part where the error occur. Everything is okay when running the application. But when i want to get the ROI, it show an error. 10-04 20:19:18.754 6794-6859/com.example.tew.roi E/cv::error()﹕ OpenCV Error: Assertion failed (0 <= _rowRange.start && _rowRange.start <= _rowRange.end && _rowRange.end <= m.rows) in cv::Mat::Mat(const cv::Mat&, const cv::Range&, const cv::Range&), file /home/reports/ci/slave_desktop/50-SDK/opencv/modules/core/src/matrix.cpp, line 284 10-04 20:19:18.755 6794-6859/com.example.tew.roi E/org.opencv.core.Mat﹕ Mat::n_1Mat__JIIII() caught cv::Exception: /home/reports/ci/slave_desktop/50-SDK/opencv/modules/core/src/matrix.cpp:284: error: (-215) 0 <= _rowRange.start && _rowRange.start <= _rowRange.end && _rowRange.end <= m.rows in function cv::Mat::Mat(const cv::Mat&, const cv::Range&, const cv::Range&) 10-04 20:19:18.755 6794-6859/com.example.tew.roi W/dalvikvm﹕ threadid=11: thread exiting with uncaught exception (group=0x40fbf258) 10-04 20:19:18.756 6794-6859/com.example.tew.roi E/AndroidRuntime﹕ FATAL EXCEPTION: Thread-3348 |