Code Monkey home page Code Monkey logo

grasp_annotation_tool's People

Contributors

fujenchu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

grasp_annotation_tool's Issues

SyntaxError: invalid syntax

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

Where is the upper-left corner?

Hi!
Where is the upper-left corner?
34977556-f736ce08-fad5-11e7-9d2c-3d084671dfea
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?
抓取矩形朝左倾斜或朝右倾斜时,如果按照上述计算公式,矩形的左上角是怎么规定的呢?

error: __gnuplot_draw_figure__: unknown object class, uicontrol

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.