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

▶️ 64 runs 📅 Sep 2023 ⚙️ Cog 0.6.1
image-object-detection ui-detection

About

Example Output

Output

Example output

Performance Metrics

1.40s Prediction Time
1.37s Total Time
All Input Parameters
{
  "iou": 0.31,
  "image": "https://replicate.delivery/pbxt/JWIP86XsvRtEVBXAmzKh3WjLm3lxLG8GqFqeSXUNtyLajiQH/screenshot-20230913-175026.png",
  "imgsz": 640,
  "show_conf": true,
  "show_text": true,
  "threshold": 0.53
}
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/tmpj3llvi7bscreenshot-20230913-175026.png
img_path /tmp/tmpj3llvi7bscreenshot-20230913-175026.png
0: 640x640 1 ScreenImage, 84.8ms
Speed: 3.5ms preprocess, 84.8ms inference, 2.8ms postprocess per image at shape (1, 3, 640, 640)
result: ultralytics.engine.results.Results object with attributes:
boxes: ultralytics.engine.results.Boxes object
keypoints: None
keys: ['boxes']
masks: None
names: {0: 'ScreenImage', 1: 'Text'}
orig_img: array([[[  4,   4,   4],
[  4,   4,   4],
[  2,   2,   3],
...,
[  1,   1,   1],
[  1,   1,   1],
[  1,   1,   1]],
[[  2,   2,   2],
[  2,   2,   2],
[  1,   1,   1],
...,
[  1,   1,   1],
[  1,   1,   1],
[  1,   1,   1]],
[[  3,   3,   3],
[  3,   3,   3],
[  2,   2,   2],
...,
[  3,   3,   3],
[  2,   2,   2],
[  2,   2,   2]],
...,
[[255, 255, 255],
[255, 255, 255],
[255, 255, 255],
...,
[255, 255, 255],
[255, 255, 255],
[255, 255, 255]],
[[255, 255, 255],
[255, 255, 255],
[255, 255, 255],
...,
[255, 255, 255],
[255, 255, 255],
[255, 255, 255]],
[[255, 255, 255],
[255, 255, 255],
[255, 255, 255],
...,
[255, 255, 255],
[255, 255, 255],
[255, 255, 255]]], dtype=uint8)
orig_shape: (1298, 1306)
path: '/tmp/tmpj3llvi7bscreenshot-20230913-175026.png'
probs: None
save_dir: None
speed: {'preprocess': 3.5409927368164062, 'inference': 84.7933292388916, 'postprocess': 2.7608871459960938}
Version Details
Version ID
4391527954a30359df9e4d610beeb6f98cbaef2207737d3051de98dc366a9b6c
Version Created
September 13, 2023
Run on Replicate →