Methods to acquire, analyze and understand images using mathematical approaches.
Questions tagged [vision]
664 questions
3
votes
3 answers
Android Vision Api - Barcode detection how to get type of barcode?
I am working with Android Google Vision API, and have created a standard barcode reader, but I want to detect what type/format of barcode is read i.e. CODE 39,
CODE 128, QR Code.... etc.
Is there anyway to return the type?
Thanks

Dino
- 1,445
- 4
- 24
- 43
3
votes
1 answer
How to implement Sobel operator
I have implemented Sobel operator in vertical direction. But the result which I am getting is very poor. I have attached my code below.
int mask_size= 3;
char mask [3][3]= {{-1,0,1},{-2,0,2},{-1,0,1}};
void sobel(Mat input_image)
{
/**Padding…

Abhishek
- 650
- 1
- 8
- 31
3
votes
0 answers
Camera Error 2 when using Vision API (barcode scanning)
i don´t know why i am getting an Camera Error 2 when App starts...
The App should have a CameraPreview where i can detect a Barcode and after detection i want to use the Data (e.g. in a Toast oder other places).
Where does the problem occur?
Error…

skm
- 559
- 1
- 6
- 22
3
votes
2 answers
How to turn on the torch/flashlight with GooglePlay Services Vision API Xamarin Android
I have been trying to implement the flashlight/torch feature of the camera using the GooglePlay Services Vision API (using Nuget from Visual Studio) for the past few days without success. I have noticed that there is a GitHub implementation of this…

Gustavo Baiocchi Costa
- 1,379
- 3
- 16
- 34
3
votes
1 answer
Google Vision API's label detection
Problem 1:
I'm using Vision API's label detection and I'm getting the following error:
"HttpError 429 when requesting
https://vision.googleapis.com/v1/images:annotate?alt=json returned
"Insufficient tokens for quota group and limit…

Pedro Lobito
- 94,083
- 31
- 258
- 268
3
votes
1 answer
Change 8-connectivity of pixels in an image to 4-connectivity
I have a BW image containing a 8-Connected path
The image needs to be changed such that there is a 4-connectivity between the pixels, i.e. one can traverse the whole path without going diagonally.
This process needs to be done using morphological…

Hassaan Ahmad
- 93
- 5
3
votes
3 answers
OpenCV: Drawing on an image
I am working on a program using the OpenCV library (though I am quite a noob on it). One of the things I need to do is to draw on the image. I looked at the OpenCV drawing functions and they all seem pretty simple (Circle, Line, etc), however the…

Juls
- 31
- 1
- 3
3
votes
2 answers
How can I detect a grid of filled circles?
Given an image of a connect-4 board I'd like to recognize and output the board's state (a 6 by 7 matrix). The first approach I tried was based on finding the circles and then looking for a grid pattern in their centroids.
This is the open-cv…

M.R.
- 1,053
- 2
- 13
- 30
3
votes
0 answers
Access OpenCV two cameras with single USB port (stereo camera)
I am using the OVRVision camera (http://ovrvision.com/). It basically consists of two cameras, but on one USB port. They both have their own device Id in OpenCV, however, I can't open both at the same time:
videoCaptureLeft = new…

Progga
- 31
- 3
3
votes
4 answers
Are there any programs for prototyping computer vision pipelines?
Are there any pieces of software available for prototyping computer vision pipelines that don't require coding.
I've tried this http://www.cassandra-vision.com/ but It's not very easy to use.
I'd like to make a pro's and cons list of different…

SvaLopLop
- 975
- 1
- 9
- 14
3
votes
1 answer
selecting channels in calchist opencv
I have the code for computing the histogram for hsv and yuv images. As am trying to obtain values corresponding to brightness alone, I want the 'v' channel value from hsv image and luma ('y') channel value from yuv image. this is the code I have…

Lakshmi Narayanan
- 5,220
- 13
- 50
- 92
3
votes
1 answer
OpenCV: finding the coordinates of intersections of lines in the photo
I'm just starting to learn OpenCV programming. I would like to know if it is possible to get coordinates of intersections of lines (veins) from this photo.
http://mormometricanalysis.wu.cz/photo.JPG
In the photo there are marked needed points with…

cernover
- 163
- 2
- 10
3
votes
2 answers
Camera and Image recognition
I recently watched a youtube video where a guy got a camera to recognize when a rubik's cube was held up to it, and it captured the 9 square color combination before snapping a picture of the cube and displaying the 3x3 grid on the screen of his…

kjh
- 3,407
- 8
- 42
- 79
2
votes
1 answer
finding transformation between camera positions if the transformation between two images is known
I have been given two images of a building.I know the transformation between these two images and I also know the coordinates of first camera position with respect to some coordinate frame , how can I get the camera coordinates of the second image…

Mukesh
- 117
- 1
- 1
- 6
2
votes
1 answer
how to prevent coloring a specific area of an image in Swift?
I'm learning CoreImage and Vision libraries in iOS by implementing a coloring app. The app shows a sketch with white background and black edges to the user to color, such as this image:
I can color a view using Canvas and specify the line width and…

abs8090
- 111
- 2
- 9