Questions tagged [opencv]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Finding bounding box coordinates in Object Detection

In some of the OpenCV implementations for object detection , I don't understand how the co-ordinates of the bounding box of an object are extracted from the image. For example , In Object Detection ...
0
votes
0answers
12 views

Training images for gender and and age detection from face

Can someone please tell me if it is feasible to train my own set of facial images to detect gender and age without using any cloud architecture or paying some amount of money ? And , on an average how ...
0
votes
0answers
17 views

How do I print image in console using cv2.imshow? [closed]

As the question asks, how do I use cv2.imshow to print an image in the console? I am using Spyder. With my current code, I can print an image but in a new window. I want it to appear in the console ...
0
votes
1answer
47 views

Cable angle measurement (rotation)

I need to detect the rotation of a cable (angle) in the x-axis with high precision [0.2 (or more) degree detection] from its original state. Detailed description: I have a cable that is set in its ...
0
votes
1answer
28 views

Canny edge detection not working on Gaussian blurred images

I am trying to detect edges on this lane image. First blurred the image using Gaussian filter and applied Canny edge detection but it gives only blank image without detecting edges. I have done like ...
1
vote
2answers
55 views

Facial recognition on offline images

I want to do facial recognition on wide varieties of images captured at various ages of my family members. Below are some of the questions I have. If a person uses glasses of different types, do I ...
0
votes
0answers
14 views

Object identifaction with trained CV model

I am rather new to Computer Vision and Neural Networks, but I already build the following setup: I have a robot which crawls through the grass with a live video feed. I build an OpenCV filtering and ...
0
votes
0answers
10 views

Why did we label optical flow datasets with dense flow fields?

In optical flow datasets like Chairs or Sintel the ground truth is always a dense opticalFlow field. Why don't we have grounds for a per-block motion vector field?
0
votes
0answers
12 views

Accurate circles detection

The main task is to detect all seven white circles precisely ( from the image below): The following parameters are known: Radius is (almost) the same for each circle (can differ only a little). ...
2
votes
1answer
34 views

Distance of a people in an image [closed]

What is the best approach to find the distance of a person/people from camera, using an image?
1
vote
0answers
24 views

Detect the presence/absense of simple components from a circuit board using object detection

In this case I have a challenge of inspecting a recently mounted product, using computer vision, to detect the absence of any component that I have to check. For this task, I tried the concept of ...
0
votes
1answer
24 views

how to compare two images and show the difference in a new image?

I want to compare two web pages images using computer vision techniques. show what are non-unique portions comparing both images. which part image1 not exist in image2 vice versa.
0
votes
0answers
18 views

Paragraph extraction from text

I am trying to separate scanned pages of a 3 column book into paragraphs. On the pages there can be images located in an arbitrary location, occupying part of one, two or all three of the columns. ...
0
votes
1answer
36 views

What is the origin of YOLO/darknet coordinates

I am aware of that darknet/yolov3 outputs relative coordinates, would the coordinate (0,0) be at the bottom left, or at the top left? I am confused as opencv2 seems to have the ...
0
votes
0answers
15 views

Find an image in a huge list of other images (feature matching, ORB, BRISK, …)

Imagine I have 20k images of different Beer bottles in different situations, positions, orientations,... I would like to find the picture that contains that specific beer I'm looking for, say a Corona....
1
vote
1answer
73 views

Ellipses detecting at the image

I have the following image: I need to get two ellipses which will 'describe' my 'ring'. I have the following code at the moment: ...
0
votes
1answer
12 views

Get specific object dimensional position from image

I need to get specific object like logo dimensional position from an image. I checked open-cv, pillow package etc but it does not help to me. Can anyone advice which is the best process to do this? Do ...
1
vote
1answer
39 views

White circles extraction from a little darker background

I'm trying to extract three white circles on the top left corner from the image below: I've tried to use: ...
0
votes
0answers
15 views

Image transformation methods

For OpenCV-python. Could anyone illustrate the difference between the image transformation method like cv2.wrapprespective and cv2.prespectivetransform?
0
votes
1answer
91 views

How to create a model to recognize matching label and ROI with OCR

I am trying to make a model in python using Tensorflow to process the Tesseract OCR to detecting and extracting particular ROI from Image. I want to recognize the particular fields and values from ...
1
vote
0answers
45 views

Improve results of image stitching using OpenCV (material science)

I'm trying to improve image stitching results with a series of pictures taken via microscope. The object I've photographed is a 3D printed cube that has a number of repeating shapes on the surface. ...
0
votes
0answers
8 views

Filters to imitate mobile camera noise

I want to train a super-resolution model that I will further apply to text images. The goal is to work with camera-captured images of text, increase the resolution so that the quality of OCR increases....
2
votes
0answers
39 views

Difference detection between two images

I am trying to compare two images and detect the difference between them whether in shape or color. -The change in shape: the number of parts has changed ( increased or decreased). -The change in ...
1
vote
0answers
19 views

how to update a face recongition ( e.g facenet)

I'm searching for a face recognition that detects new faces not just faces getting from the datasets, for example, facenet is a project that can detect and recognize a face from labels. I would like ...
2
votes
0answers
14 views

orientation detection - images of govt. issued documents

Trying to figure out a macro approach to detecting orientation of documents that works across document types (maybe a pipe dream). We successfully used SIFT to detect orientation in documents where we ...
1
vote
0answers
101 views

how to resize image without changing DPI in opencv for detecting text and feeding into OCR?

i resized the image using open cv and it changed the dpi of the image from 300 dpi to 90 dpi . What is the correct way to resize image without changing its dpi in open cv . if we feed the resized ...
2
votes
1answer
254 views

Skin Detection From a Face Image

I have photos of people's faces, and I want to detect each person's skin color for later use. I don't want to use predetermined color ranges, instead I want to determine each person's color and then ...
1
vote
1answer
30 views

illumination problem for face landmark detection

I trained dlib face landmark detection model using ibug and yaleB datasets. Accuracy of the model is dropping when a bright light or a shadow appears on the side face. Used default parameters and ...
2
votes
1answer
31 views

shapes recognition for shapes formed by dotted points

In the image, below right corner there is circle shape and triangle shape made with set of co-ordninates.I have searched extensively in the net for algorithm or approach to classify shape correctly ....
0
votes
0answers
56 views

What should I do with this cv2 error?

here is my code in python : ...
1
vote
1answer
381 views

Detect blur image using ssdmobilenet and tensorflowlite

I have clear images of cards vs blurry images of card. My task is to capture photo when the image is not blurry, as you can see from the description I need this code to run in real time on android ...
0
votes
2answers
38 views

How to convert photo to a vector drawing

I am using the following code to convert photo to a drawing: ...
1
vote
0answers
36 views

Why when I apply GaussianBlur in my images, my model overfit? CNN KERAS

I have 1400 images (700 each class), and i'm using vgg-16 to classificate between one and other class. But when I apply the preprocess method Gaussian Blur (which seem to be very much clear to see the ...
0
votes
2answers
11k views

I get this error Expected Ptr<cv::UMat> for argument '%s' while resizing image in open cv2

This is my code: ...
1
vote
2answers
40 views
2
votes
1answer
396 views

What is difference between “cv2.filter2D” vs Keras “Conv2D” function

When I have to sharpen an image using opencv, I use: ...
2
votes
2answers
135 views

How to Extract Information from the Image(PNG)

I'm trying to extract some particular information from the image(png). I tried to extract the text using the below code ...
0
votes
0answers
10 views

Scenario description of Roads using Deep learning

I want to do scenario description of road. If there are cars, humans infront of the blind person it should describe the scenario and output should be consumable by blind person. Question: Should it ...
0
votes
0answers
41 views

What is the best algorithm for object recognition based on its outline/edge in openCV

I am developing an application that needs to recognize objects based on their outline in any condition. So far I can recognize the objects outline if they have a simple background, however if there is ...
0
votes
0answers
668 views

Implement and train YOLO 3 with Opencv and C++

I want to implement and train YOLO 3 with my dataset using Opencv and C++. I can't find an example to start with, or a tutorial to explain how to train YOLO with my own data. All of the tutorials I ...
0
votes
0answers
64 views

Orange widget with OpenCV setMouseCallback

I am designing an Orange Widget for facial recognition. I would like to draw a rectangle around faces captured in video by setting mouse events with ...
1
vote
0answers
37 views

Semantic Segmentation using Scipy or Scikit-image

Many days ago I saw a user using scipy function to get region of interest (RoI) in an image using different colors. I believe it was some sort of filter. Now I'm trying to do the same but I'm not able ...
1
vote
0answers
55 views

How to detect only the lane boundaries using Hough transform?

This is my code to detect the lane boundaries. But only one line(left most) is detected here. Is there a way to remove other objects from the picture (remove bushes and trees) and detect only the ...
2
votes
1answer
207 views

What's the difference between Haar-like Features and Haar Cascades?

Are they the same in terms of their algorithm? Or do they differ in their respective detection methods?
1
vote
1answer
61 views

Is there a way (like planning algorithms) to draw a successive polyline to fill a specific shape (like triangle)?

there is a specific shape (like triangle) area, i am trying to develop an program to draw a successive polyline inside the triangle to fill the triangle, one line 3 layers this post demonstrates some ...
0
votes
1answer
359 views

Prerequisites for openCV [closed]

I am looking to start learning openCV to perform a car detection program. Should I know data science and/or machine learning stuff before going for openCV? If not, where can I start learning openCV ...
3
votes
0answers
47 views

Train ML algorithm to find edges

I have input RGB images as follows: I have a dataset of manually annotated images highlighting the outline(edges) from the input images I am attaching an example. My aim is to train a ML algorithm ...
1
vote
1answer
36 views

Detecting unique icon on video in real time

For a project I am working on I'd like to be able to detect unique icons/barcodes in video footage. Suppose you have 10 people in the frame where each person is wearing a t-shirt with a similar but ...
1
vote
1answer
105 views

People detection methods

In my problem I want to distinguish people from other shapes in images e.g I want to accurately know how many people are in specific region of image (at least for small number of people, for crowded ...
2
votes
1answer
3k views

TypeError: 'tuple' object cannot be interpreted as an integer

I have an image (480,640,3) and I am trying to resize it to (150,150,1). Since my Keras model has been trained on images of shape (150,150,1), unfortunately I cannot seem to resize it using the PIL ...