i like to make feature detections using java android studio and in these past few day, i had been stuck on how to detect this kind of image using opencv.
Cause its my first time using openCV and the only document i can read is not really helpfull. I've already convert it to grayscale. The big questions mark is how can i make my apps to recognize the feature of this image.
so,for example i can make the label of this image as "abstractimage", so when i foto some of another image with the same pattern it will be detected as "abstractimage", but the detected image will be using on t-shirt, and random object with the same image based on this feature image. Can anyone help me?
Related
I'm new to Augment Reality and not having a compatible device to run examples provided for ARCore. I am having a few questions and want them to clear before going further as I'm getting clear about those through any mean. The app I'm working over is gonna perform the following task.
Detect a logo from a product
Create a 3D model of it using AR
display the generated 3D model at the exact same surface
Here is a sample image captured from a box. I want to display the text and logo in the 3D model.
My Questions
is it possible to display both logo and text as a 3D model or AR
supports images only?
Should I use ARCore or OpenCV or any other to do the task? which one is efficient regarding time and memory to implement?
Maybe it would be a discussion-based question but I am literally unable to find a solution for it.
Thanks everyone!
If you do not have ARCore supported device, you can try Vuforia + Unity instead. Vuforia also supports image recognition and overlay with AR. Check out this tutorial for your use case.
If you still want to use ARCore, you should check out Augmented Images feature. The challenge here if your logo has a good score to be able to work nicely for tracking and overlaying AR.
You can check image quality/score with this tool.
The goal is to make on ocr app using tesseract, I didn't wanted to use tess-two as it works on older version of tesseract. So after a little research i was able to find this library which uses tesseract 4 and is a fork of tess-two. I am able to extract text from the image using this library. But my issue is Sometimes the same image gives 80% text and sometimes it gives 2% result. Here is the image :
and ocr result
, whereas the images having table format doesn't gives any result, only random letters.
I am new to ocr, pre-processing, can anyone help me for how can i improve the accuracy of image? I have read pre processing can be done, would that help and how it can be executed?
Thank you!
I am working on a Face recognition Project based on java.
These are the pre-processing steps I use:
I was done with the face detection using openCV in java.
The Link I used for face detection is: https://www.tutorialspoint.com/opencv/opencv_face_detection_in_picture.htm
After Detecting the face of a particular person in an image or picture, I want to recognise the same face in another images or pictures. So that I can collect or grouped all the images of that particular person in an seperate folder.
For Face recognition I also checked the eigenface recogniser of opencv and it mainly has the implementation for the real time face detection and recognistion using web cam.
To do so I googled and found CognitiveJ - Image Analysis in Java from GitHub.
Link for that is :https://github.com/CognitiveJ/cognitivej
also go through the videos : https://www.youtube.com/watch?v=WmzrKXWfa2o
But its chargeable, so doesn't work for me.
I also tried FAINT but it would not met my expectation as it has many plugins which specifically worked on windows OS and I am using Ubuntu.
https://faint.sourceforge.io/
So please suggest, how to group the images of particular person into a seperate folder from the folder in which many images are present along with the images of that particular person using java. So that I implement that code into my application.
How to read text from image in android app.
Edited:
I want to detect text from image which i have captured from camera in android.
Is it possible or is there any library to read text from taken image.
This is not related to android. If you like to get text contained in image you will need
detect text position in image
perform OCR on found text
This task is not trivial and requires some computing resources. There are some OCR libraries around - like opencv, tesseract etc. I and others also develop pure java opensource solution:
http://sourceforge.net/projects/javaocr/
Hopefully not making this too vague... but I have been dealing with a lot of image scaling and manipulating with an app I'm working on and wanted to know:
Is it possible/feasible to warp images using java code and if so, is it possible? I have read up on JAI but can't seem to grasp it very well. Is there any form of built in implementation that would work with Android 2.3 or higher?
Any tutorials or examples that someone may have come across would be a great help as I have been researching for a while and can't seem to gain any ground.
End goal: to be able to warp an image (point to point by pixels) in multiple places and then saving the bitmap. This would be processed behind the scenes and show the user the end result.
do you have an example of the kind of warping that you want to do? It's certainly feasible but you'll probably end up doing pixel-by-pixel manipulation to generate the warped image.
there is a previous discussion here:
android image processing tutorial?