hilongjw/section-ui-detector 🔢🖼️✓ → 🖼️

▶️ 45 runs 📅 Sep 2023 ⚙️ Cog 0.6.1
image-object-detection ui-layout-analysis

About

Example Output

Output

Example output

Performance Metrics

3.74s Prediction Time
63.09s Total Time
All Input Parameters
{
  "iou": 0.45,
  "image": "https://replicate.delivery/pbxt/JWZEcff1EUyEIrqYk3M3rMyR1vHof0hOjI1rRWRsBhM48set/screenshot-20230913-155621.png",
  "imgsz": 640,
  "show_conf": true,
  "show_text": true,
  "threshold": 0.6
}
Input Parameters
iou Type: numberDefault: 0.45Range: 0 - 1
iou threshold for filtering the annotations
image (required) Type: string
input image
imgsz Type: integerDefault: 640Range: 0 - 2048
image size
show_conf Type: booleanDefault: true
show_conf
show_text Type: booleanDefault: true
show_text
threshold Type: numberDefault: 0.6Range: 0 - 1
threshold for detection
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
image /tmp/tmpow0rlx32screenshot-20230913-155621.png
img_path /tmp/tmpow0rlx32screenshot-20230913-155621.png
0: 608x640 8 Containers, 20 Titles, 2 Icons, 3 Paragraphs, 2 ContainerPills, 1 SectionImage, 131.4ms
Speed: 12.8ms preprocess, 131.4ms inference, 2.9ms postprocess per image at shape (1, 3, 608, 640)
result: ultralytics.engine.results.Results object with attributes:
boxes: ultralytics.engine.results.Boxes object
keypoints: None
keys: ['boxes']
masks: None
names: {0: 'Container', 1: 'Title', 2: 'Image', 3: 'Icon', 4: 'Paragraph', 5: 'Background', 6: 'IrregularImage', 7: 'BackgroundImage', 8: 'ContainerPill', 9: 'ContainerCircle', 10: 'ImageCircle', 11: 'Section', 12: 'SectionImage', 13: 'SectionGradient'}
orig_img: array([[[0, 0, 0],
[0, 0, 0],
[0, 0, 0],
...,
[0, 0, 0],
[0, 0, 0],
[0, 0, 0]],
[[0, 0, 0],
[0, 0, 0],
[0, 0, 0],
...,
[0, 0, 0],
[0, 0, 0],
[0, 0, 0]],
[[0, 0, 0],
[0, 0, 0],
[0, 0, 0],
...,
[0, 0, 0],
[0, 0, 0],
[0, 0, 0]],
...,
[[0, 0, 0],
[0, 0, 0],
[0, 0, 0],
...,
[0, 0, 0],
[0, 0, 0],
[0, 0, 0]],
[[0, 0, 0],
[0, 0, 0],
[0, 0, 0],
...,
[0, 0, 0],
[0, 0, 0],
[0, 0, 0]],
[[0, 0, 0],
[0, 0, 0],
[0, 0, 0],
...,
[0, 0, 0],
[0, 0, 0],
[0, 0, 0]]], dtype=uint8)
orig_shape: (1544, 1708)
path: '/tmp/tmpow0rlx32screenshot-20230913-155621.png'
probs: None
save_dir: None
speed: {'preprocess': 12.766122817993164, 'inference': 131.4380168914795, 'postprocess': 2.891063690185547}
Version Details
Version ID
b19020b3472913dbc22cb492ee0904f13ac27d19788bb532da52a5937b499a27
Version Created
September 14, 2023
Run on Replicate →