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

RiskWeaver.DSL.BDD

Documentation

data BoundingBoxGT Source #

Constructors

BoundingBoxGT 

Fields

Instances

Instances details
Generic BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Associated Types

type Rep BoundingBoxGT :: Type -> Type #

Show BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

NFData BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Methods

rnf :: BoundingBoxGT -> () #

Eq BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Ord BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

BoundingBox BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Methods

riskE :: Env BoundingBoxGT -> [Risk BoundingBoxGT] Source #

riskForGroundTruth :: forall (m :: Type -> Type). Monad m => ReaderT (Env BoundingBoxGT) m [Risk BoundingBoxGT] Source #

riskForDetection :: forall (m :: Type -> Type). Monad m => ReaderT (Env BoundingBoxGT) m [Risk BoundingBoxGT] Source #

interestArea :: Env BoundingBoxGT -> InterestArea BoundingBoxGT Source #

interestObject :: Env BoundingBoxGT -> InterestObject BoundingBoxGT Source #

groundTruth :: Env BoundingBoxGT -> Vector BoundingBoxGT Source #

detection :: Env BoundingBoxGT -> Vector (Detection BoundingBoxGT) Source #

confidenceScoreThresh :: Env BoundingBoxGT -> Double Source #

ioUThresh :: Env BoundingBoxGT -> Double Source #

scoreD :: Detection BoundingBoxGT -> Double Source #

sizeD :: Detection BoundingBoxGT -> Double Source #

classD :: Detection BoundingBoxGT -> ClassG BoundingBoxGT Source #

idD :: Detection BoundingBoxGT -> Idx BoundingBoxGT Source #

imageId :: Env BoundingBoxGT -> ImgIdx BoundingBoxGT Source #

isFrontD :: Detection BoundingBoxGT -> Detection BoundingBoxGT -> Bool Source #

isBackD :: Detection BoundingBoxGT -> Detection BoundingBoxGT -> Bool Source #

isLeftD :: Detection BoundingBoxGT -> Detection BoundingBoxGT -> Bool Source #

isRightD :: Detection BoundingBoxGT -> Detection BoundingBoxGT -> Bool Source #

isTopD :: Detection BoundingBoxGT -> Detection BoundingBoxGT -> Bool Source #

isBottomD :: Detection BoundingBoxGT -> Detection BoundingBoxGT -> Bool Source #

isBackGroundD :: ClassD BoundingBoxGT -> Bool Source #

detectD :: Env BoundingBoxGT -> Detection BoundingBoxGT -> Maybe BoundingBoxGT Source #

toErrorType :: Risk BoundingBoxGT -> ErrorType BoundingBoxGT Source #

toRiskScore :: Risk BoundingBoxGT -> Double Source #

sizeG :: BoundingBoxGT -> Double Source #

classG :: BoundingBoxGT -> ClassG BoundingBoxGT Source #

angle :: BoundingBoxGT -> Detection BoundingBoxGT -> Double Source #

idG :: BoundingBoxGT -> Idx BoundingBoxGT Source #

ioU :: BoundingBoxGT -> Detection BoundingBoxGT -> Double Source #

ioG :: BoundingBoxGT -> Detection BoundingBoxGT -> Double Source #

ioD :: BoundingBoxGT -> Detection BoundingBoxGT -> Double Source #

detectG :: Env BoundingBoxGT -> BoundingBoxGT -> Maybe (Detection BoundingBoxGT) Source #

isInIeterestAreaD :: InterestArea BoundingBoxGT -> Detection BoundingBoxGT -> Bool Source #

isInIeterestAreaG :: InterestArea BoundingBoxGT -> BoundingBoxGT -> Bool Source #

isInterestObjectD :: InterestObject BoundingBoxGT -> Detection BoundingBoxGT -> Bool Source #

isInterestObjectG :: InterestObject BoundingBoxGT -> BoundingBoxGT -> Bool Source #

Rectangle BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

World BddContext BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Generic (Detection BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Associated Types

type Rep (Detection BoundingBoxGT) :: Type -> Type #

Generic (Env BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Associated Types

type Rep (Env BoundingBoxGT) :: Type -> Type #

Generic (ErrorType BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Associated Types

type Rep (ErrorType BoundingBoxGT) :: Type -> Type #

Generic (Risk BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Associated Types

type Rep (Risk BoundingBoxGT) :: Type -> Type #

Show (Detection BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Show (Env BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Show (ErrorType BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Show (Risk BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

NFData (Detection BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Methods

rnf :: Detection BoundingBoxGT -> () #

NFData (Env BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Methods

rnf :: Env BoundingBoxGT -> () #

NFData (ErrorType BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Methods

rnf :: ErrorType BoundingBoxGT -> () #

NFData (Risk BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Methods

rnf :: Risk BoundingBoxGT -> () #

Eq (Detection BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Eq (Env BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Eq (ErrorType BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Eq (Risk BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Ord (Detection BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Ord (Env BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Ord (ErrorType BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Ord (Risk BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Rectangle (Detection BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

type Rep BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

type ClassD BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

type ClassG BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

data Detection BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

data Env BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

data ErrorType BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

type Idx BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

type ImgIdx BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

type InterestArea BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

type InterestObject BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

data Risk BoundingBoxGT Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

type Rep (Detection BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

type Rep (Env BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

type Rep (ErrorType BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

type Rep (ErrorType BoundingBoxGT) = D1 ('MetaData "ErrorType" "RiskWeaver.DSL.BDD" "risk-weaver-0.1.0.2-Lj68RG1URWb3Ifr21OvKbb" 'False) ((C1 ('MetaCons "FalsePositive" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Set SubErrorType))) :+: C1 ('MetaCons "FalseNegative" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Set SubErrorType)))) :+: (C1 ('MetaCons "TruePositive" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TrueNegative" 'PrefixI 'False) (U1 :: Type -> Type)))
type Rep (Risk BoundingBoxGT) Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

data Class Source #

Instances

Instances details
Generic Class Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Associated Types

type Rep Class :: Type -> Type #

Methods

from :: Class -> Rep Class x #

to :: Rep Class x -> Class #

Show Class Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Methods

showsPrec :: Int -> Class -> ShowS #

show :: Class -> String #

showList :: [Class] -> ShowS #

NFData Class Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Methods

rnf :: Class -> () #

Eq Class Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Methods

(==) :: Class -> Class -> Bool #

(/=) :: Class -> Class -> Bool #

Ord Class Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Methods

compare :: Class -> Class -> Ordering #

(<) :: Class -> Class -> Bool #

(<=) :: Class -> Class -> Bool #

(>) :: Class -> Class -> Bool #

(>=) :: Class -> Class -> Bool #

max :: Class -> Class -> Class #

min :: Class -> Class -> Class #

type Rep Class Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

type Rep Class = D1 ('MetaData "Class" "RiskWeaver.DSL.BDD" "risk-weaver-0.1.0.2-Lj68RG1URWb3Ifr21OvKbb" 'False) (((C1 ('MetaCons "Background" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Pedestrian" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Rider" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Car" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Truck" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bus" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Train" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Motorcycle" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bicycle" 'PrefixI 'False) (U1 :: Type -> Type)))))

data SubErrorType Source #

Instances

Instances details
Generic SubErrorType Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Associated Types

type Rep SubErrorType :: Type -> Type #

Show SubErrorType Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

NFData SubErrorType Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Methods

rnf :: SubErrorType -> () #

Eq SubErrorType Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

Ord SubErrorType Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

type Rep SubErrorType Source # 
Instance details

Defined in RiskWeaver.DSL.BDD

type Rep SubErrorType = D1 ('MetaData "SubErrorType" "RiskWeaver.DSL.BDD" "risk-weaver-0.1.0.2-Lj68RG1URWb3Ifr21OvKbb" 'False) ((C1 ('MetaCons "Boundary" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LowScore" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MissClass" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Occulusion" 'PrefixI 'False) (U1 :: Type -> Type)))