Λογότυπο Classifying Brick Resting Face From Depth

Classifying Brick Resting Face From Depth

Οργανισμός
runtime-si
classifying-brick-resting-face-from-depth

Tells from depth whether a loose LEGO or DUPLO brick of known size lies studs up, upside down (resting on its stud tops, hollow underside up) or on a side wall, and which of its axes is vertical, with its yaw, its stud direction and its body centre. The brick is the connected cluster of depth points over the table nearest a rough position. Every resting face of the brick is scored on its height over the table and its footprint (the height-versus-dimensions match of a UR5 LEGO pick-and-place pipeline). Up is told from down by the hollow underside (most of the inner footprint far under the rim) instead of the source's YOLO model. Moves the wrist camera over the brick first, or reads the current frame of any posed depth camera. Use before picking a loose brick, to grasp it directly when it is studs up or to route it to a flip / regrasp otherwise, and to pick the grasp axis and yaw.

Επισκόπηση

Εκδότηςruntime-si
ΑποθετήριοRoboSkillHub
Όνομα δεξιότηταςclassifying-brick-resting-face-from-depth
Αστέρια
242
Διακλαδώσεις
27
Συνοδευτικά αρχεία
2
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Συνοδευτικά αρχεία: 2

    Αρχεία script, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό runtime-si. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Classifying Brick Resting Face From Depth στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/classifying-brick-resting-face-from-depth
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/runtime-si/RoboSkillHub.git /tmp/RoboSkillHub
mkdir -p .claude/skills
cp -r /tmp/RoboSkillHub/skills/classifying-brick-resting-face-from-depth .claude/skills/classifying-brick-resting-face-from-depth
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Classifying Brick Resting Face From Depth σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Classifying Brick Resting Face From Depth μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Classifying Brick Resting Face From Depth δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

classifying-brick-resting-face-from-depth

A brick tipped out of a bin lies one of four ways: studs up, upside down, or on a long or short side wall. Only studs up can be gripped and pressed straight away. This skill reads which way it lies from depth, using the brick's known size.

How it composes

  • Before it: a rough brick position from detection (detecting-bricks by colour, sam3, owlv2, or a sort-landing ROI). Only its xy is used; its z only helps aim the view.
  • After it: studs_up goes to a top-down grasp across the short side (yaw_deg gives the brick's x axis). on_side and upside_down go to a reorientation (flipping-part-upright-by-regrasp, reorienting-a-grasped-part-by-pivoting-on-the-table) or a side grasp, with up_vector telling which way the studs point. unknown re-perceives (a closer view, singulating-by-pushing if two bricks touch).

How it reads

  1. View (view: move): aim the wrist camera straight down at the brick's highest possible top from 0.20 m (then 0.25 m, then with the camera's current rotation), with an IK preview and a 5 cm clearance (the views of pressing-a-brick-onto-studs). view: current reads the frame as it is, from any named camera with a pose.
  2. Points: the median of frames (3) depth frames, back-projected to world points.
  3. Table: the lowest well-supported level of the points in a 3 cm ring around the search disc (or table_height if given). The source took the frame's farthest depth instead.
  4. Brick: points more than 0.35 of the brick's lowest possible height over the table and under its tallest face + max(1 cm, half a pitch) (the wrist camera sees its own fingers), within its half-diagonal + 2 cm of brick_position. They are rasterised at 1 mm, closed, split into connected clusters, and the cluster nearest the position is kept. An upside-down brick splits into its walls and its tubes; the cluster whose hull encloses the nearest one is taken, with everything inside it. Lone cells (flying pixels) are dropped.
  5. Faces: the brick's height over the table (98th percentile) and its silhouette (cv2.minAreaRect, the source's call) are compared with every resting face. z vertical: height = brick + stud height, silhouette = the footprint. x (or y) vertical: height = that side's length, silhouette = the other side by brick + stud height (the studs stick out sideways). Score = the larger of |height error| / 0.3 pitch and the worst side error / 0.4 pitch; the best must be under 1 and beat the next face by 1.5x. The source's getDepthAxis matched the height to whole stud units the same way.
  6. Up or down (z vertical): the share of all depth points in the inner footprint (inset 0.2 pitch) that lie more than max(0.45 brick heights, 1.5 stud heights) under the top. A studs-up brick shows its face one stud height under its stud tops (share near 0). An upside-down one shows its hollow underside (share 0.7-0.85 in the checks below; the tubes are the rest).
  7. Pose: yaw of the brick's x axis (mod 180 deg, mod 90 for a square brick) for z vertical, or of the horizontal stud axis on a side. On a side, the stud direction is the side where the silhouette reaches past the top wall's extent (the source compared the silhouette's and the top surface's centres). centre is the body centre for that face.

Inputs

  • brick_position (required): rough world position of the brick (xy within about a centimetre; z the table's height if known).
  • brick_studs ([2, 2]: studs along the brick's x and y), system (duplo / lego), stud_pitch, stud_height, brick_height (a LEGO plate: 0.0032; see Limits).
  • table_height (measured when omitted), view (move | current), camera, frames (3), check_reach (true), arm_id (passed only when nonzero).

Outputs

route, detail, vertical_axis (z, x, y), up_vector (world, the brick's +z, i.e. its stud direction), stud_direction_known, yaw_deg, centre (world body centre), height (top over the table, m), footprint_long / footprint_short (silhouette sides, m), table_height, deep_share, samples; and scores (per face, lower is better, under 1 fits), a dict returned but not in produces_outputs (gap schema types only).

Checked

Station twin (RoboSimStudio YAM station, GCP pool host, 2026-11-09): a free DUPLO 2 x 2 brick (pressing-a-brick-onto-studs' check brick: top, walls, central tube, studs) is put on the cloth 8 cm beside the baseplate (a harness tool) studs up, upside down or on a side, at yaws 0 / 30 / 70 deg, and left to settle. The real station's calibrated left wrist D405 renders depth. The skill gets the settled xy off by (4, -3) mm and moves the camera itself. Harness: ~/sim-wt/brick-camera-checks (graph_classify).

placedtruth (brick +z after settling)routevertical axisyaw readup_vector
studs up, yaw 0 / 30 / 70upstuds_up x3z-0.1 / 30.2 / -20.0 (70 mod 90)(0, 0, 1)
upside down, yaw 0 / 30 / 70downupside_down x3 (77 % hollow)z-0.0 / 30.1 / -20.0(0, 0, -1)
on a side, yaw 0 / 30 / 70horizontalon_side x3x-90.0 / -60.0 / -19.9stud direction named, equal to the truth in all 3

9/9 routes, axes and stud directions match the truth. Two harness problems were found and fixed on the way:

  • The wrist camera sees the gripper's own fingers. The first run took them for a 183 mm part, so points over the tallest face + 1 cm are now left out (with a unit test).
  • The check brick's render mesh was a solid hull: an upside-down brick showed no hollow and read studs_up, 0/3. The harness now renders the collision pieces.

Synthetic depth (tests/bundles/_face_eval.py, not a simulator): hollow bricks are ray-cast (walls, top, underside tubes or pins, studs; nominal dimensions, not CAD) on a table, seen by a 640 x 480 D405 (fx 394 px) from 0.2 m over the brick's highest possible top. The noise is D405-like (z^2-scaled, correlated, flying pixels, dropouts, 0.1 mm quantisation), brick_position is off by (4, -3) mm, and the full skill runs through a fake arm (view move, 3 frames). Each row has 5 yaws (0, 17, 33, 62 and 105 deg):

brickfaceroutesvertical axis rightstud side named right / namedyaw error max deg
DUPLO 2x2studs up / upside down / side5 / 5 / 5 right15/155/51.3
DUPLO 2x4studs up / upside down / side x / side y5 / 5 / 5 / 5 right20/2010/100.6
LEGO 2x4studs up / upside down / side x / side y5 / 5 / 5 / 5 right20/204/43.2
LEGO 2x2studs up / upside down / side5 / 5 / 5 right15/154/40.8
LEGO 1x4studs up / upside down / side x / side y5 / 5 / 5 / 5 right20/202/24.4
LEGO 1x2studs up / upside down / side x / side y5 / 5 / 5 / 5 right20/203/31.5

110/110 faces and vertical axes right. On a side, the stud direction was named in all 15 DUPLO cases (all right). For LEGO it was named in 14 of 40 (all right); otherwise it is reported as unresolved: the 1.7 mm stud overhang is a few pixels at 0.2 m. The renderer is ideal geometry: no specular or dark plastic, no stereo shadowing, no chamfers.

Limits

  • Plates (LEGO 3.2 mm): upside down and studs up both reach 4.9 mm, and the 2.9 mm hollow leaves no cut that clears the 1.7 mm studs and stays inside it with a 1 mm margin (UPDOWN_MARGIN). Before that guard, a studs-up plate read 25 % deep (on the threshold) and an upside-down one 55 %. Now the skill routes unknown for a flat plate and says why; a plate on its side is still read (on_side, x vertical in the check).
  • Touching bricks merge into one cluster: the footprint fits no face, so the route is unknown. Singulate first.
  • Size must be given: the skill confirms a face of the stated brick; it does not identify the brick (a 2x4 on its side and a 2x2 studs up are different readings, and a wrong size usually ends in unknown).
  • Stud direction on a side for LEGO is often unresolved (see Checked); a closer view (0.12-0.15 m) would help.
  • Not run on a real YAM; in the twin only a DUPLO 2x2 (see Checked).

The constants, and why

  • HEIGHT_TOLERANCE_FRACTION = 0.3, FOOTPRINT_TOLERANCE_FRACTION = 0.4: the source accepted the nearest whole stud unit (half a unit). The closest faces here are LEGO 1xN on a side (8 mm) against upside down (9.6 mm rim + 1.7 mm studs), 3.3 mm apart, more than the 2.4 mm tolerance.
  • MARGIN = 1.5, UPSIDE_DOWN_SHARE = 0.25, STUDS_UP_SHARE = 0.10, DEEP_FRACTION = 0.45 (the middle of a cavity 0.9 brick heights deep: TOP_THICKNESS_FRACTION = 0.1), UPDOWN_MARGIN = 1 mm, INNER_FRACTION = 0.2, STUD_SIDE_FRACTION = 0.5, OBJECT_FRACTION = 0.35, CEILING_MARGIN = 1 cm: set on the synthetic depth; the measured shares were 0.00-0.04 (studs up or side) and 0.70-0.85 (upside down).
  • VIEW_RANGES, MIN_VIEW_CLEARANCE: pressing-a-brick-onto-studs / refining-target-from-wrist-closeup.

Provenance

Adapted from lego-vision.py of UR5-Pick-and-Place-Simulation (MIT; Pietro Lechthaler et al.): the height-versus-dimensions axis match (getDepthAxis), the top-surface and silhouette minAreaRect, and the stud side from the silhouette and top-surface offset. Its two YOLOv5 models (AGPL, trained in Gazebo) are not used; up versus down is a geometric test here. The script's header lists the changes; licence in LICENSE.ur5pickplace.

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Classifying Brick Resting Face From Depth;

Tells from depth whether a loose LEGO or DUPLO brick of known size lies studs up, upside down (resting on its stud tops, hollow underside up) or on a side wall, and which of its axes is vertical, with its yaw, its stud direction and its body centre. The brick is the connected cluster of depth points over the table nearest a rough position. Every resting face of the brick is scored on its height over the table and its footprint (the height-versus-dimensions match of a UR5 LEGO pick-and-place pipeline). Up is told from down by the hollow underside (most of the inner footprint far under the ri...

Γιατί να χρησιμοποιήσετε τη δεξιότητα Classifying Brick Resting Face From Depth στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Classifying Brick Resting Face From Depth είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Classifying Brick Resting Face From Depth στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/runtime-si/RoboSkillHub/tree/main/skills/classifying-brick-resting-face-from-depth. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Classifying Brick Resting Face From Depth;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Classifying Brick Resting Face From Depth;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Classifying Brick Resting Face From Depth με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Classifying Brick Resting Face From Depth;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό runtime-si με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇