Review synthetic metal scratches with ImageRouter and Box

Give inspection engineers a clean metal photo, a synthetic scratch and its COCO annotation to review before using it for training.

39 stepsOperationsProductivity

Free to start, no card required.

How it works

  1. When this happens

    Check the inspection dataset queue

    Schedule

  2. Step 1 · Code

    Set the dataset and private folders

  3. Step 2 · Hugging Face

    Read the dataset review revision

  4. Step 3 · Code

    Verify the private inspection dataset

  5. Step 4

    Check the source record

    Follows the first path that matches

    • Complete record

      1. Step 5 · Hugging Face

        Read the pinned surface inspection brief

      2. Step 6 · Code

        Read the cleared scratch geometry

      3. Step 7

        Check the source record

        Follows the first path that matches

        • Complete record

          1. Step 8 · Storage

            Look up the synthetic sample receipt

          2. Step 9 · Code

            Check for a saved scratch candidate

          3. Step 10

            Check the source record

            Follows the first path that matches

            • Complete record

              1. Step 11 · Box

                Check the private QA folder

              2. Step 12 · Box

                Check the private source folder

              3. Step 13 · Box

                Locate the cleared metal photograph

              4. Step 14 · Code

                Check the image version and access

              5. Step 15 · Box

                Read the pinned inspection photograph

              6. Step 16 · Code

                Verify the photo and draw the edit mask

              7. Step 17

                Check for a cached synthetic sample

                Follows the first path that matches

                • First edit

                  1. Step 18 · Code

                    Prepare a masked PNG editing request

                  2. Step 19 · Storage

                    Reserve the sample edit

                  3. Step 20 · ImageRouter

                    Render a candidate metal scratch

                  4. Step 21 · Code

                    Keep only changes inside the mask

                  5. Step 22 · Storage

                    Save the candidate scratch pixels

                • Otherwise

                  Nothing happens

              8. Step 23 · Storage

                Read the saved scratch pixels

              9. Step 24 · Hugging Face

                Recheck the dataset decision

              10. Step 25 · Code

                Recheck dataset visibility

              11. Step 26

                Check the source record

                Follows the first path that matches

                • Complete record

                  1. Step 27 · Hugging Face

                    Read the current inspection brief

                  2. Step 28 · Code

                    Recheck consent and sample revision

                  3. Step 29 · Code

                    Check that this sample is still cleared

                  4. Step 30

                    Check the source record

                    Follows the first path that matches

                    • Complete record

                      1. Step 31 · Code

                        Build the COCO annotation review pack

                      2. Step 32 · Box

                        Find matching samples in QA

                      3. Step 33 · Code

                        Check for the same review package

                      4. Step 34

                        Check whether QA already has the sample

                        Follows the first path that matches

                        • New sample package

                          1. Step 35 · Files Helper

                            Prepare the inspection review package

                          2. Step 36 · Box

                            Deliver the candidate sample to QA

                          3. Step 37 · Code

                            Confirm the inspection package in Box

                        • Otherwise

                          Nothing happens

                      5. Step 38 · Storage

                        Record the sample review delivery

                    • Otherwise

                      Nothing happens

                • Otherwise

                  Nothing happens

            • Otherwise

              Nothing happens

        • Otherwise

          Nothing happens

    • Otherwise

      Nothing happens

Before you start

Set a private Hugging Face dataset and separate private Box folders for clean 1024 × 1024 metal PNGs and QA packages. In inspection/next.json set state to APPROVED, external_processing to true, split to synthetic_review and defect to scratch, with sample, box_file, box_version, sha256 and line as two endpoints and a radius in pixels. Review original.png, candidate.png, the change mask and COCO annotation against real scratch examples before admitting a sample to training.

Accounts to connect

  • ScheduleBuilt into Connecto, no account
  • Hugging Face
  • StorageBuilt into Connecto, no account
  • Box
  • ImageRouter
  • Files HelperBuilt into Connecto, no account
See all 419 in Operations

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template