| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
RiskWeaver.Cmd.Core
Synopsis
- data CocoCommand
- = ListImages { }
- | ListCategories { }
- | ListAnnotations { }
- | ListCocoResult { }
- | ShowImage { }
- | ShowDetectionImage { }
- | Evaluate { }
- | ShowRisk { }
- | ShowRiskWithError { }
- | GenerateRiskWeightedDataset { }
- | BashCompletion
- | GenerateTemplate
- data RiskCommands = RiskCommands {
- showRisk :: CocoMap -> Maybe Double -> Maybe Double -> IO ()
- showRiskWithError :: CocoMap -> Maybe Double -> Maybe Double -> IO ()
- generateRiskWeightedDataset :: CocoMap -> FilePath -> Maybe Double -> Maybe Double -> IO ()
- showDetectionImage :: CocoMap -> FilePath -> Maybe Double -> Maybe Double -> IO ()
- evaluate :: CocoMap -> Maybe Double -> Maybe Double -> IO ()
- listImages :: Coco -> IO ()
- listCategories :: Coco -> IO ()
- listAnnotations :: Coco -> IO ()
- listCocoResult :: [CocoResult] -> IO ()
- bashCompletion :: IO ()
- generateTemplate :: IO ()
- opts :: Parser CocoCommand
- baseMain :: RiskCommands -> IO ()
Documentation
data CocoCommand Source #
Constructors
| ListImages | |
| ListCategories | |
| ListAnnotations | |
| ListCocoResult | |
Fields | |
| ShowImage | |
| ShowDetectionImage | |
Fields
| |
| Evaluate | |
Fields | |
| ShowRisk | |
Fields | |
| ShowRiskWithError | |
Fields | |
| GenerateRiskWeightedDataset | |
Fields | |
| BashCompletion | |
| GenerateTemplate | |
Instances
| Show CocoCommand Source # | |
Defined in RiskWeaver.Cmd.Core Methods showsPrec :: Int -> CocoCommand -> ShowS # show :: CocoCommand -> String # showList :: [CocoCommand] -> ShowS # | |
| Eq CocoCommand Source # | |
Defined in RiskWeaver.Cmd.Core | |
data RiskCommands Source #
Constructors
| RiskCommands | |
Fields
| |
listImages :: Coco -> IO () Source #
listCategories :: Coco -> IO () Source #
listAnnotations :: Coco -> IO () Source #
listCocoResult :: [CocoResult] -> IO () Source #
bashCompletion :: IO () Source #
generateTemplate :: IO () Source #
Generate template codes to define own risk environment from BDD.
opts :: Parser CocoCommand Source #
baseMain :: RiskCommands -> IO () Source #