risk-weaver-0.1.0.2: A DSL for Risk-oriented Object Detection Requirements
Safe HaskellSafe-Inferred
LanguageGHC2021

RiskWeaver.Display

Documentation

drawDetectionBoundingBox Source #

Arguments

:: Show a 
=> DynamicImage

Image

-> [CocoResult]

A list of Coco result

-> [a]

A list of object property

-> Map CategoryId CocoCategory

A map of category

-> Maybe Double

Score threshold

-> Maybe (Image PixelRGB8 -> a -> IO (Image PixelRGB8))

Overlay function to draw object property

-> IO (Image PixelRGB8)