hilongjw/section-ui-detector 🔢🖼️✓ → 🖼️
About
Example Output
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
- iou threshold for filtering the annotations
- image (required)
- input image
- imgsz
- image size
- show_conf
- show_conf
- show_text
- show_text
- threshold
- threshold for detection
Output Schema
Output
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