All Questions
26 questions
0
votes
1
answer
106
views
imaginary Bounding Box
Let's say I have a picture like this (Image 1). Isohypses are drawn so that they form a rectangle, which should correspond to the edge of a map. I want to detect that rectangle.
In red, I drew the ...
0
votes
0
answers
2k
views
How to count no. of boxes using OpenCV?
I am trying to find no. of boxes available in the warehouse.
I am using:
Here is my code for the same.
# Import libraries
import cv2
import numpy as np
import matplotlib.pyplot as plt
image = cv2....
0
votes
0
answers
455
views
Shape & color detection in python and opencv
i found this code on GitHub and it is a function that serves to find circles based on camera frames, yet my problem is that i would like to modify it so that i could choose which shape it has to find. ...
2
votes
1
answer
932
views
Approximating a quadrilateral from a given mask
Goal:
I'd like to estimate a 4 coordinates quadrilateral (not only rectangles) of a given masked object as shown in the image + without losing any pixel of the masked object.
Trials:
I tried using ...
4
votes
1
answer
884
views
How to divide image into two parts without crossing any object using openCV?
I am using an object detection machine learning model (only 1 object). It working well in case there are a few objects in image. But, if my image has more than 300 objects, it can't recognize anything....
0
votes
1
answer
84
views
I am getting fractional artifacts (pieces of metal) instead of whole ones. It seems that the edges are not continuous but they are
My goal is to detect objects placed on a white surface. From there, count how many there are and calculate the area of each one.
It seems that this algorithm is detecting its edge but counting it as ...
1
vote
1
answer
1k
views
How can I draw only the largest rectangle contour to detect Vehicle License Plate (specifically for motorbike license plate)
I've been working on detecting motorbike license plate using only OpenCV. My question is:
Can I find and draw only the largest contour (which is around the license plate)?
If not then what should I ...
0
votes
0
answers
754
views
How to get the rotation of and object given its Axis-aligned bounding box coordinates Python
Below is a function that return a bbox_coordinates and a binary image.
def back_projectcam1(histm,hsv_histt,hsvt): #hist: model histogram, hsv_histt: target image histogram, hsvt: hsv image of the ...
0
votes
2
answers
3k
views
How to filter contours based on their approximate shape in a Binary video frames
I'm working on a project where i have to detect a red vehicle (please see image below).
As i believe that this can be achieved with out using Deep learning (overkill in this case), i used histogram ...
0
votes
2
answers
196
views
Shape Openness detection in OpenCV
I'm building a shape analysis algorithm and one of the attributes we would like to add is whether the shape is open or closed. For example, the left circle is closed, the middle circle is open and the ...
1
vote
0
answers
880
views
How to select child contour in OpenCV and increase accuracy using python
I'm really new to OpenCV. :) I have been working on this for almost an entire day. After hours of sleepless work I would like to know if I can further improve my code.
I have written some code to ...
0
votes
0
answers
599
views
Swift detect identity card using OpenCV
I'm trying to detect the square of an identity card using OpenCV.
Already install the framework and make the entire setup but everything about detection which I found using other language's example (...
2
votes
1
answer
2k
views
openCV problem with detecting contours of shapes fully
I am doing this university project where i try to detect UI elements on screenshots of Android applications using openCV. I am not expecting a 100 percent accuracy for this detection of UI elements.
...
2
votes
1
answer
724
views
Image Processing: Problem with Fish measuring
I'm having problems with contouring a live video capture. I'm using OpenCV library on Python
My objective is to measure tilapia fishes that go through a tube one by one and get their approx sizes by ...
4
votes
0
answers
4k
views
A good way to identify cars at night in a video
I'm trying to identify car contours at night in a video (Video Link is the link and you can download it from HERE). I know that object detection based on R-CNN or YOLO can do this job. However, I want ...