4,495 questions
-7
votes
0
answers
61
views
How can I project the 3D bounding boxes on an image [closed]
I am trying to project 3d bounding boxes on vehicles and pedestrians using a detector model. I ran the inference with 6 images and got output in the below format. Now i want to project the boxes on ...
2
votes
2
answers
101
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
83
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
112
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
130
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
177
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
122
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
291
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
106
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
172
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
295
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
49
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
163
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
108
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 ...
0
votes
2
answers
252
views
Issue with Object Detection Results in Java using YOLOv5 ONNX Model
I trained a neural network for object detection using YOLOv5 and exported it to the ONNX format, as I need to use it in a Java application. However, I am encountering issues with incorrect class IDs ...