Questions tagged [bounding-box]
A Bounding Box is the smallest box that encloses a geometry. There are two common classes of Bounding Boxes that are employed: Oriented Bounding Boxes (OBB), and an Axis-Aligned Bounding Boxes (AABB). Bounding boxes are commonly employed as a cheap way to approximate more complex geometries in a range of applications, including collision detection.
bounding-box
1,106
questions
0
votes
0
answers
16
views
How to segment an image based on the spacing between objects?
I am a beginner in object detection and currently working on a project to segment engineering design drawings and export those segments as PNG files.
For this drawing, I need to create three bounding ...
0
votes
1
answer
51
views
Passing data to gradio Dataframe from JavaScript
I was making my own Bounding Box editor in gradio and succeeded to make some with written JS and HTML code using canvas, but now i need to pass an information from JS where boxes are drawn and saved ...
0
votes
0
answers
12
views
C# how to implement treeview_getitemrect for treeview node's bounding rectangle
The goal is to move the cursor to the selected treeview item's bounding box for sending left or right mouse clicks.
https://learn.microsoft.com/en-us/windows/win32/controls/tvm-getitemrect <- this ...
0
votes
1
answer
96
views
How to Load an Image onto a Canvas in Gradio with Custom HTML and JavaScript?
I am willing to make a bounding box editor implementation in gradio by creating html and js by myself (where user can move bboxes, scale and draw new ones). But i can't find a way to load an image to ...
0
votes
0
answers
29
views
PHP Calculation of area between coordinates fails for non-square rectangles in WGS84 CRS
I have a PHP function designed to calculate the area between two coordinates using the WGS84 Coordinate Reference System (CRS). The function works correctly when the rectangle formed by the ...
0
votes
0
answers
12
views
How can I calculate the sizes of the bounding boxes for a particular YOLOv5 class?
I have n classes that the Ultralytics YOLOv5 model is currently detecting. How can I get the average of the sizes of the bounding boxes for one particular class?
I tried back calculating the bounding ...
0
votes
0
answers
38
views
Draw on top of see-through hole in window
So I recently found out about the concept of "see through hole" on windows.
Managed to do it in PyQT5 using following code:
import sys
from PyQt5.QtCore import Qt, QRect, QPoint
from PyQt5....
0
votes
0
answers
37
views
Should we consider GeneralizedRCNNTransform while selecting anchor sizes in Faster R-CNN
I am training a Faster R-CNN on pytorch. The size of my images are 512x512 pixels. Until now, I computed the anchor sizes based on the sizes of my bounding box annotations on the 512x512 pixel images. ...
0
votes
0
answers
42
views
How to move camera in matter.js world?
I am making a RTS game in matter.js, similar to starcraft. One thing I want to implement is panning around with viewports.
I created the canvas and the world
const canvas = document.getElementById(&...
1
vote
0
answers
43
views
Give "Human Reading" order to bounding boxes (Sort Bounding Box)
I want to sort bounding boxes in a way that a human would read a document using python.
Context:
I have a PDF document and I am using unilm DiT (Document image Transformer) to know which parts are ...
1
vote
0
answers
36
views
3D segmentation mask bounding box and removal of unwanted voxels
I have a 3D segmentation mask, and I want to resize it to the dimensions of the ROI and remove the unwanted voxels around it.
This is my code for creating the 3D bounding box around the region but it'...
0
votes
0
answers
25
views
Bounding box is in misplaced
I'm currently engaged in refining Faster RCNN. I annotate my images using makesense.ai. Within these images, I focus solely on a single class. However, upon plotting the images and bounding boxes, I'...
0
votes
1
answer
57
views
extracting data from an array within a bounding box defined by latitude and longitude
I have 'rh_irr’ which is an array of size 744*171*162 where 171 is latitude, 162 is longitude and 744 is time dimension. I also have arrays lat and lon both have size of 171*162 and contains ...
0
votes
0
answers
54
views
Getting a bounding box for the collective elements in an SVG file
I would like to use Python to arrive at the bounding box for the figures in an SVG file. All the previous questions I have seen on this suggest using svgpathtools; unfortunately the svg2paths() ...
1
vote
1
answer
55
views
Select polygons that are within a selected bounding box for a kontur population data
I have a data from https://data.humdata.org/dataset/kontur-population-dataset? and I would like to select the polygons that are within a bounding box. For instance I define bounding box as follows (a ...