2020-11-02 11:30:59 -0600 | received badge | ● Student (source) |
2017-07-15 19:57:47 -0600 | commented question | OpenGL support on Android Do you perhaps know who else to ping? |
2017-07-12 04:12:46 -0600 | commented question | OpenGL support on Android Maybe @berak knows? |
2017-07-12 04:07:40 -0600 | answered a question | How to reduce the apk size of Android app which need openCv lib( only for Image processing) You should consider splitting your APK into architecture specific versions: https://developer.android.com/google/... That way you only need to include one version of OpenCV pr. APK, e.g. arm64-v8a. That should give you the size reduction you're looking for. |
2017-07-12 03:56:40 -0600 | received badge | ● Organizer (source) |
2017-07-05 05:00:56 -0600 | answered a question | How to recognize numbers in the tickets using OpenCV? In the case of the tickets with a QR code preset, it seems the numbers you are interested in are in a fixed position relative the the QR code. I would start by locating said QR code in the image, as that is probably the easiest task and then proceed to find the numbers relative to that. Here's an example of how to find a QR code: http://eric-yuan.me/simple-qr-code-scanner-1/ The next part is to then determine a set of coordinate ranges corresponding to the location of the numbers in your tickets. Using the list of contours you already found in locating the QR code, you should now be able to stepwise filter-out found contours that fall outside of these specified ranges. Once you have found the location of each number, cut out a region of interest from each area and then send those onto whatever OCR engine you've decided to use. OpenCV comes with an api wrapper for Tesseract, if you've compiled in support for it. |
2017-07-05 02:57:27 -0600 | asked a question | OpenGL support on Android Currently I have an OpenGL texture that I would like to map onto a cv::UMat for processing with OpenCV, but somehow I missed a vital piece of information in the documentation which says:
I've not been able to find out exactly why OpenGL support is limited to only the above platforms, or if there's plans for adding support in the near future. Has anyone else managed to work around this limitation and somehow found a way to map/populate a cv::UMat from an OpenGL texture on Android, despite the lack of direct support in cv::ogl? Currently my solution is to copy back the texture data to host memory and then populate a normal Mat from there. This is painfully slow however and it would be much preferable if data could stay on device memory and just use the T-API. |
2017-02-15 06:37:50 -0600 | answered a question | Linking error carotene Opencv 3.2 on ARM You're probably missing a link to libtegra_hal.a. In my case OpenCV builds and installs to: Adding |
2016-11-04 04:23:07 -0600 | commented question | Rotation of word and cropping I don't know anything about the size of the characters unfortunately. They will be in all kinds of sizes and font types. |
2016-11-01 06:14:44 -0600 | asked a question | Rotation of word and cropping I'm trying to build a simple price-tag scanner and I've gotten reasonably far with regards to binarisation and general de-noising. However, feeding an image like this to Tesseract doesn't yield very good results. Tesseract seems very sensitive to the amount of artifacts present in the picture, aside from what is to be recognised, as well as even slight skews on the text. Here's an example, where a ROI around a price has been selected and binarised:
Asking Tesseract to OCR this image, is rather useless: However, if I could manage to somehow consistently deskew and crop to just the numbers, it's a whole different thing: Now Tesseract provides a clean result: In this case, because of the straight black line at the top, I could use a Hough transform and calculate the angle, in order to deskew the image, but there won't always be straight lines to use, so that won't work in general. I could also use an ER filter to get just the text region, but then I'd get a rectangle without rotation and I'd still need to figure out how to crop/deskew again regardless. So my question is, if there's some clever way to extract a relatively tight bounding box, a'la minAreaRect(), around just the number, in order to make presentable cutout to feed to Tesseract? |
2016-11-01 05:50:29 -0600 | commented question | Simple way to install openCV I've had luck using Docker to build OpenCV consistently across systems. It's a better way to guarantee you get the same tool-chain on every build. |
2016-11-01 05:46:59 -0600 | commented answer | Opencv static link error Are you sure you've specified the flag correctly? I used these exact flags, and it worked just fine: It shouldn't be necessary to edit the generated cmake files by hand. |
2016-11-01 05:41:13 -0600 | received badge | ● Enthusiast |
2016-10-31 06:19:09 -0600 | commented answer | OpenCL can not detect my nVidia GPU via OpenCV @humam-helfawi Remember to mark the answer as correct. |
2016-10-28 05:51:29 -0600 | commented answer | Opencv static link error Do you have an example I can follow of how best to do it? I'd rather not clutter search results with needless duplications. |
2016-10-28 05:47:35 -0600 | commented answer | Opencv static link error True enough, but also if the system doesn't have it installed, which is the case for a default Ubuntu for instance. I just tried it out on a stock docker container of ubuntu:16.04 and it seems all the 3rdparty libs are compiled without having to explicitly add any of the |
2016-10-28 05:10:23 -0600 | received badge | ● Editor (source) |
2016-10-28 05:08:34 -0600 | answered a question | Opencv static link error I ran into this very same problem and from what I could gather, it seems CMake doesn't correctly detect binaries for cross-compilation, even though it's indicated in the wiki, that just setting the compiler via the https://cmake.org/Wiki/CMake_Cross_Co... In my case I've installed However, just running the gnueabihf script in Which results in the following linker command for zlib: So in order to fix it, set the path to |
2016-10-27 07:35:20 -0600 | commented answer | Opencv static link error OpenCV includes source for zlib 1.2.8, https://github.com/opencv/opencv/tree..., so it shouldn't be necessary to use the system provided dev packages. |
2016-10-27 07:18:23 -0600 | received badge | ● Critic (source) |
2016-10-20 05:27:02 -0600 | received badge | ● Supporter (source) |