ivalab / grasp_annotation_tool Goto Github PK
View Code? Open in Web Editor NEWa simple Matlab gui for annotating rotated grasping bounding box
a simple Matlab gui for annotating rotated grasping bounding box
hi, I run it in colab and meet the following error:
File "/content/grasp_annotation_tool/drawRectangle.m", line 1
%% This script creates a simple GUI for annotating grasp bounding boxes on images
^
SyntaxError: invalid syntax
Hi!
Where is the upper-left corner?
Does four vertex of pos Rectangular have a law,?such as clockwise, counterclockwise, I think these will affect the results of the function!
function:
def bboxes_to_grasps(bboxes):
box = tf.unstack(bboxes, axis=1)
x = (box[0] + (box[4] - box[0])/2) * 0.35
y = (box[1] + (box[5] - box[1])/2) * 0.47
tan = (box[3] -box[1]) / (box[2] -box[0]) *0.47/0.35
h = tf.sqrt(tf.pow((box[2] -box[0])*0.35, 2) + tf.pow((box[3] -box[1])*0.47, 2))
w = tf.sqrt(tf.pow((box[6] -box[0])*0.35, 2) + tf.pow((box[7] -box[1])*0.47, 2))
return x, y, tan, h, w
When the grab rectangle is tilted to the left or to the right, how does the upper left corner of the rectangle behave according to the above calculation formula?
抓取矩形朝左倾斜或朝右倾斜时,如果按照上述计算公式,矩形的左上角是怎么规定的呢?
when run drawRectangle.m, got an error like:
error: gnuplot_draw_figure: unknown object class, uicontrol
error: called from
gnuplot_draw_figure at line 187 column 13
gnuplot_drawnow at line 86 column 5
ginput at line 49 column 3
drawRectangle at line 44 column 14
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.