{"slug":"ton-halowerk-com-v1-logo-screen-time-136a99","title":"Measures how long a supplied logo is visible in a video for sponsorship reports","host":"ton.halowerk.com","method":"POST","resource":"https://ton.halowerk.com/v1/logo-screen-time","category":"image","description":"Measures how long a supplied logo is visible in a video for sponsorship reports: multi-scale masked template matching on sampled frames; returns total screen time, share of the range and each appearance with times, score, position and size. The logo (PNG, JPEG or WebP, cropped to its opaque pixels) ","price_listed":0.03,"price_asked":0.03,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1221,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"logo_base64":"iVBORw0KGgoAAAANSUhEUgAAABgAAAAMCAIAAAD3UuoiAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAK0lEQVR42mNgMJpOEP0nAjAMhEEHDmFHpBp0moEBKxo1aDAbRLXop1PKBgDJ265QGnuMIAAAAABJRU5ErkJggg==","sample_fps":1,"video_url":"https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"duration_s":{"description":"Length of the analysed range in seconds (at most 600; default: to the end of the video).","exclusiveMinimum":0,"maximum":600,"type":"number"},"logo_base64":{"description":"The logo image as base64 (PNG, JPEG or WebP; at most 10 MiB decoded; a data: URL prefix is accepted).","maxLength":14000000,"minLength":16,"type":"string"},"logo_url":{"description":"Public http(s) URL of the the logo image (at most 10 MiB; private, local and reserved addresses are refused).","format":"uri","maxLength":2048,"pattern":"^https?://","type":"string"},"max_logo_width":{"default":0.4,"description":"Largest logo width searched, as a share of the frame width.","maximum":0.9,"minimum":0.05,"type":"number"},"min_logo_width":{"default":0.05,"description":"Smallest logo width searched, as a share of the frame width.","maximum":0.8,"minimum":0.04,"type":"number"},"min_score":{"default":0.85,"description":"Minimum normalised cross-correlation (0 to 1) of the refined match for a detection.","maximum":0.99,"minimum":0.5,"type":"number"},"sample_fps":{"default":1,"description":"Frames searched per second (at most 60 samples per call).","maximum":4,"minimum":0.25,"type":"number"},"start_s":{"default":0,"description":"Start of the analysed range in seconds.","maximum":36000,"minimum":0,"type":"number"},"video_base64":{"description":"The video as base64 (MP4/MOV, WebM/MKV, AVI, MPEG-TS, MPEG-PS, FLV, Ogg or animated GIF; at most 10 MiB decoded; a data: URL prefix is accepted).","maxLength":14000000,"minLength":16,"type":"string"},"video_url":{"description":"Public http(s) URL of the the video (at most 10 MiB; private, local and reserved addresses are refused).","format":"uri","maxLength":2048,"pattern":"^https?://","type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":1226,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":1221,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":1211,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":1171,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":1305,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":1324,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":1158,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":1131,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":382,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":356,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":356,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":344,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":379,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":915,"error":null}],"description_full":"Measures how long a supplied logo is visible in a video for sponsorship reports: multi-scale masked template matching on sampled frames; returns total screen time, share of the range and each appearance with times, score, position and size. The logo (PNG, JPEG or WebP, cropped to its opaque pixels) is turned into grey templates for widths between min_logo_width and max_logo_width of the frame width in steps of 1.2x.","last_updated":"2026-11-21T06:58:08.766Z","schemes":["exact"]}