2020-11-13 03:43:29 -0600 | received badge | ● Nice Question (source) |
2019-05-10 12:44:33 -0600 | received badge | ● Good Answer (source) |
2018-10-24 02:26:17 -0600 | received badge | ● Famous Question (source) |
2018-09-13 15:35:19 -0600 | received badge | ● Notable Question (source) |
2018-06-15 08:48:17 -0600 | received badge | ● Nice Answer (source) |
2017-10-22 13:02:44 -0600 | received badge | ● Nice Question (source) |
2017-08-10 07:09:25 -0600 | received badge | ● Famous Question (source) |
2017-08-07 04:52:58 -0600 | received badge | ● Famous Question (source) |
2017-04-01 16:45:24 -0600 | received badge | ● Famous Question (source) |
2017-03-17 04:28:21 -0600 | received badge | ● Notable Question (source) |
2017-02-06 07:27:26 -0600 | received badge | ● Popular Question (source) |
2016-07-05 06:17:55 -0600 | received badge | ● Enthusiast |
2016-07-04 04:12:18 -0600 | received badge | ● Nice Answer (source) |
2016-07-04 03:25:01 -0600 | answered a question | mapping 2 document I would use binary threshold, morphology and contours to solve this problem. Step 1 : get the copy with signature Step 2 : blur the image and convert it to binary image Step 3 : Use morphology to remove small blobs and make text blobs more obvious Step 4 : find contours and remove those with invalid aspect ratio Step 5 : Find the data of each rectangle The bounding rects found by this solution are Step 6 : Extract text location according to the location and size of the bounding rects, this step is quite tedious. Not a very good one, I believe there exist better solution, like find the difference between two images. Source codes locate at github. Edit : If the format and size of the are always the same, you can predefined the bounding rect of text candidates, extract the roi from predefined bounding rect, detect the binary value of those roi to find out the regions filled or not. |
2016-07-03 13:50:28 -0600 | commented question | mapping 2 document Not quite clear what do you want to do. Do you mean you want to teach the computer know how to read the words(OCR)? |
2016-07-03 13:49:58 -0600 | answered a question | mapping 2 document Not quite clear what do you want to do. Do you mean you want to teach the computer know how to read the words(OCR)? |
2016-07-02 22:46:24 -0600 | received badge | ● Necromancer (source) |
2016-07-02 21:46:14 -0600 | answered a question | Image hashing implantation? I have the same problem as Cory recently, to solve this problem once and for all, I develop an img_hash module for open_contrib, here is the pull request. img_hash module port the image hash algorithms of PHash library and implement some algorithms do not exist in the PHash library, this include color moment hash which provide good resistance to rotation attack(-90 to 90 degree). The ReadMe of img_hash module should give you enough information of how to use and install the module, if you need more info, please ask me from the forum, or send the question to my [email protected] This module is very easy to use, unlike PHash library, the api are consistent and do not force you to handle the resource by yourself. You can measure the performance of the algorithms under different by this graph and pick the one suit by your needs. ps : At first I give BOVW a shot, the results are solid, but it take too many times to build the coed book and retrieve the features from image. Then I found image hash can help me boost up the speed(although it do not provide best accuracy). |
2016-07-01 20:49:31 -0600 | commented question | I plan to recognize paper bills by denomination but i can't think of a way to do so ... it must be invariant of illumination, rotation and scale. can i use haar or LBP ? do you have any suggestions? Since you need to deal with illumination, rotation and scale, I suggest you give bag of visual words(BOVW) or convolution neural network a try. opencv provide good tools to train your classifier base on BOVW, if you need a very easy to use cnn library, please google tiny-cnn. |
2016-07-01 20:49:19 -0600 | commented question | I plan to recognize paper bills by denomination but i can't think of a way to do so ... it must be invariant of illumination, rotation and scale. can i use haar or LBP ? do you have any suggestions? Since you need to deal with illumination, rotation and scale, I suggest you can give bag of visual words(BOVW) or convolution neural network a try. opencv provide good tools to train your classifier base on BOVW, if you need a very easy to use cnn library, please google tiny-cnn. |
2016-06-19 00:57:18 -0600 | marked best answer | push back element to the column of cv::Mat How could I push back the floating point value to the column of cv::Mat? Suppose I want to make the matrix become 2 rows 2 cols like this [0, 1; 2, 3].How could I push the value into the column of A with type "float"? Edit : exception thrown Exception : "Assertion failed (!fixedType() || ((Mat)obj)->type() == mtype) in create, file /Users/yyyy/Downloads/opencv-2.4.5/modules/core/src/matrix.cpp, line 1345"* Don't know where is the error occur, should I treat this as a bug and report it? Edit 2 : unsafe codes? I found something interesting, in the class Mat there are a flag The flags is int, that means the behavior of the sign bit may not work as the programmer expect. When we call reshape, the Mat will do some operation on the flag And the function fixedType() and type() use the flags to check the type of Mat core/include/opencv2/core/mat.inl.hpp modules/core/src/matrix.cpp |
2016-06-19 00:50:32 -0600 | commented answer | Smoke detection Sorry, theo2f, I cannot find a good enough solution to solve your problems, it is too hard to deal with jigger + moving camera for smoke detection. I will contact you after I found a good solution which could detect smoke on single frame. |
2016-06-19 00:50:19 -0600 | commented question | Smoke detection It works on the video sets quite well, but it do not guarantee on other environments. Besides, this algorithms only work if your camera is stable |
2016-04-29 08:22:49 -0600 | received badge | ● Popular Question (source) |
2015-12-28 01:48:27 -0600 | received badge | ● Notable Question (source) |
2015-12-06 13:17:37 -0600 | received badge | ● Notable Question (source) |
2015-11-02 13:23:57 -0600 | received badge | ● Nice Question (source) |
2015-11-02 13:23:50 -0600 | received badge | ● Notable Question (source) |
2015-06-04 09:42:14 -0600 | received badge | ● Popular Question (source) |
2015-04-26 19:33:00 -0600 | received badge | ● Popular Question (source) |
2015-03-23 05:28:13 -0600 | received badge | ● Popular Question (source) |
2014-12-09 13:59:04 -0600 | marked best answer | Create a layer for artificial neural network of openCV2 According to this blog, it create the labels as this way But in the book, it create the layers as following 1 : The blog use rows to save the parameters but the book use cols to save the parameters.Are they the same thing?Do I have to change the way of writing, reading the xml according to the way of saving the parameters(any issues I do not mention have to take care)? 2 : What is the order of the layers?As I guess(uncertain)
|
2014-12-09 13:57:13 -0600 | marked best answer | Where is the source codes of cv::getRectSubPix? I would like to study the source codes of cv::getRectSubPix, but I can't find it in the module imgproc, do anyone know where could I find the source codes?Thanks |
2014-12-09 13:57:04 -0600 | marked best answer | Draw the lines detected by cv::HoughLines On this site(tutorial), it show us how to draw the lines detected by cv::HoughLines,but I can't understand how could it find out the Point between the lines. Another codes from the openCV2 cookbook.I could understand why the codes from the cookbook work but it is more verbose. |
2014-12-09 13:56:06 -0600 | marked best answer | Header files of sift in github Studying the source codes of sift but can't find out where is the header files.Every folder from github are not included the header files(declaration) of the sift. |
2014-12-09 13:53:10 -0600 | marked best answer | Do we need to optimize matrix operation of cv::Mat? clean and easy to read, but this kind of operation may generate two temporary objects Hard to read and verbose or write a for loop for it? What I want to ask is, do openCV provide some optimization for operator overloading? With the help of expression template, it is possible to eliminate the temporary objects of #1. Do openCV2 support this kind of optimization?Thanks |
2014-12-09 13:44:40 -0600 | marked best answer | Problem about the source codes of otsu-threshold The codes from the files thresh.cpp, the function name is getThreshVal_Otsu_8u As far as I know, That means if then 1 - q1 will satisfy In other words, if std::min(q1,q2) < FLT_EPSILON, then std::max(q1,q2) > 1. - FLT_EPSILON should satisfy too.So why do the codes need to do double check? Why don't just use |
2014-12-09 13:08:58 -0600 | marked best answer | c++ api of LogPolar transform of openCV Do openCV2 provide a c++ api for LogPolar transform logpolar describe in this page?Can't find any api corresponding to this function.I search the api from the openCV doc and google but can't find anything related to c++ api. |
2014-10-31 12:32:28 -0600 | marked best answer | openCV will drop C API support soon From the pdf of ICVS2013(http://opencv.org/icvs2013.html), it say openCV will drop C API support soon.Do anyone know the details?Drop C API support means they will not develop any new api for C or they will discards all of the C API in the future? I am a fans of openCV2 and do not like C API of openCV1, too verbose and no performance gain by using it, if openCV will discards all of the C API, I would have more reasons to push my colleagues move to c++ API and increase the chances to say goodbye to C API. |
2014-06-28 06:52:40 -0600 | received badge | ● Nice Question (source) |
2014-06-20 01:46:23 -0600 | marked best answer | Create a memory continuous cv::Mat, any api could do that? I want to make sure the memory of the dst is continuous(without padding), how could I do that? The most easiest answer is call the reshape after creation. But how could I make sure it is continuous when construct? |