4,503 questions
-2
votes
0
answers
29
views
What tools or frameworks can be used to generate synthetic datasets for computer vision? [closed]
I’m exploring approaches to create synthetic datasets for object detection and segmentation tasks (for example, YOLO or Mask R-CNN training).
I’d like to know what existing tools, libraries, or ...
-4
votes
0
answers
88
views
How to detect if a parking spot is occupied by a car or large object in a camera frame using Python [closed]
I’m capturing a frame from a camera that shows several parking spots (the camera is positioned facing the main parking spot but may also capture adjacent or farther spots). I want to determine whether ...
2
votes
2
answers
82
views
How to detect a B/W icon inside a colored dashboard photo when scale/rotation/color differ (OpenCV, Python)
Problem:
I need to check whether a small black-and-white icon (template) appears inside a large, colored dashboard photo.
The icon in the photo may differ from the template in color, scale, small ...
0
votes
1
answer
69
views
Cannot calculate confusion matrix utilizing supervision from roboflow for Yolov8 model
I am trying to calculate the confusion matrix for my yolov8 (or yolov11) model utilizing supervision from roboflow. I found some instructions but they do not seem to be crystal clear. For example ...
1
vote
1
answer
104
views
How can I find the contour of a box with a diagonal inside using OpenCV
I have to find the contours of boxes.
Some boxes have diagonal inside of them. I try to remove diagonal but I think it isn't answer.
Here are the images those I preprocessing and contour result. Only ...
1
vote
2
answers
116
views
How do I train an object detection model using Torchvision's pre-trained models?
I read the torchvision API documentation using pre-trained models for object detection. This is an example they have included:
from torchvision.io.image import decode_image
from torchvision.models....
5
votes
1
answer
167
views
Extracting the colors on the face of a stickerless Rubik's cube
I am tasked with the problem of finding the colors on the face of a stickerless Rubik's cube using OpenCV but I can't figure out what the best way might be to do so.
I tried to look at various ...
1
vote
1
answer
116
views
Why I am not able to get exact matches when I perform template-matching?
I am performing a simple template matching but for the life of me I still not able to find out why I am not getting correct matches.
I've tried without converting to grayscale and to remove the alpha ...
3
votes
3
answers
273
views
Image detection with rotation (2D)
I try to find the best way to detect images with the rotation. Without rotation cv2.matchTemplate works pretty fine, but I found no function for rotated images.
I need the position and angle of the ...
-1
votes
1
answer
103
views
YOLOv8 recognition under motion blur [closed]
I am currently developing a robot that uses YOLOv8 for real-time object detection based on the video captured by the robot’s camera. However, when the robot rotates, the input image becomes blurred, ...
0
votes
0
answers
157
views
How to covert pytorch to rknn?
I have exported the yolov5s PyTorch model from ultralytics/yolov5 and converted it to ONNX, using Google Colab, so that I can convert it to rknn in my rk3588 Radxa Rock 5c module.
%cd /content/
!pip ...
0
votes
1
answer
255
views
Implementing StrongSort with Ultralytics YOLO
I have a project where I am implementing the Yolo object detection algorithm with different tracking algorithms. I am now struggling to implement the StrongSort tracking with my detection program. Can ...
-1
votes
1
answer
48
views
Get Object Detection results from Edge export TFJS model, bin & dict in Express/Node API
I have exported my VertexAI model to TFJS as "edge", which results in:
dict.txt
group1_shard1of2.bin
group1_shard2of2.bin
model.json
Now, I send an image from my client to the Node/Express ...
0
votes
0
answers
154
views
How to detect custom arrow shapes in OpenCV?
The problem
As shown in the image, I am trying to detect road marking arrows in images using OpenCV. The arrows are always of the same size and shape but can appear in different orientations.
These ...
1
vote
0
answers
91
views
Inconsistent Canny Edge Detection under varying lighting – How to improve preprocessing?
I'm working on an object detection project in C++ using OpenCV. Specifically, I capture an image (e.g., coins on a background) and then try to detect them via Canny edge detection and contour ...