Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
mesh_reasoning [2013/02/12 17:41] – external edit 127.0.0.1mesh_reasoning [2013/03/31 17:07] – [Usage] Min/max handle length profanter
Line 15: Line 15:
  ?- mesh_annotator_path('package://knowrob_mesh_reasoning/models/cup2.dae',Mr).  ?- mesh_annotator_path('package://knowrob_mesh_reasoning/models/cup2.dae',Mr).
  ?- mesh_annotator(knowrob:'DrinkingBottle', Mr).  ?- mesh_annotator(knowrob:'DrinkingBottle', Mr).
-<code>+</code>
  
 Retrieve a list of found annotation types: Retrieve a list of found annotation types:
Line 54: Line 54:
 </code> </code>
  
-Finding handles (default or by specifying minimum and maximum radius of a handle):+Finding handles (default or by specifying minimum and maximum radius of a handle (unit in meters) or min/max radius and min/max length):
 <code> <code>
  mesh_find_handle($Mr, Li), listsplit(Li,Lh,Lt), mesh_annotator_highlight($Mr,Lh).  mesh_find_handle($Mr, Li), listsplit(Li,Lh,Lt), mesh_annotator_highlight($Mr,Lh).
  mesh_find_handle($Mr, Li, 0.1, 0.8), listsplit(Li,Lh,Lt), mesh_annotator_highlight($Mr,Lh).  mesh_find_handle($Mr, Li, 0.1, 0.8), listsplit(Li,Lh,Lt), mesh_annotator_highlight($Mr,Lh).
 + mesh_find_handle($Mr, Li, 0.1, 0.8, 0.05, 0.20), listsplit(Li,Lh,Lt), mesh_annotator_highlight($Mr,Lh).
 </code> </code>