packages feed

fei-cocoapi-1.0.0: fei-cocoapi.cabal

cabal-version:              2.4
name:                       fei-cocoapi
version:                    1.0.0
synopsis:                   Cocodataset with cocoapi
description:                Haskell binding for the cocoapi in c
homepage:                   http://github.com/pierric/fei-cocoapi
license:                    BSD-3-Clause
license-file:               LICENSE
author:                     Jiasen Wu
maintainer:                 jiasenwu@hotmail.com
copyright:                  2020 - Jiasen Wu
category:                   Machine Learning, AI
build-type:                 Simple
extra-source-files:         cbits/*.h, cbits/*.c

Library
    exposed-modules:        MXNet.Coco.Types
                            MXNet.Coco.Mask
                            MXNet.Coco.Index
    other-modules:          MXNet.Coco.Raw
    hs-source-dirs:         src
    ghc-options:            -Wall
    default-language:       Haskell2010
    default-extensions:     GADTs,
                            TypeFamilies,
                            OverloadedLabels,
                            FlexibleContexts,
                            FlexibleInstances,
                            StandaloneDeriving,
                            DeriveGeneric,
                            TypeOperators,
                            OverloadedStrings,
                            LambdaCase,
                            MultiWayIf,
                            DoAndIfThenElse,
                            TypeApplications,
                            DataKinds,
                            ExplicitForAll,
                            NoImplicitPrelude
    build-depends:          base >= 4.7 && < 5.0
                          , storable-tuple
                          , lens
                          , transformers-base
                          , aeson
                          , time < 2.0
                          , repa
                          , aeson
                          , attoparsec
                          , lens
                          , conduit
                          , store
                          , random-fu
                          , conduit-concurrent-map
                          , unliftio-core
                          , resourcet
                          , hip
                          , rio
                          , vector
    build-tool-depends:  c2hs:c2hs
    c-sources:           cbits/maskApi.c
    include-dirs:        cbits/
    includes:            maskApi.h

Executable imageutils
    hs-source-dirs:         examples
    main-is:                ImageUtils.hs
    default-language:       Haskell2010
    default-extensions:     RecordWildCards,
                            OverloadedStrings
    build-depends:          base >= 4.7 && < 5.0,
                            rio,
                            lens,
                            aeson,
                            optparse-applicative,
                            JuicyPixels,
                            repa,
                            store,
                            hip,
                            Rasterific,
                            FontyFruity,
                            formatting,
                            palette,
                            colour,
                            fei-cocoapi

-- Executable profiling
--     hs-source-dirs:         examples
--     main-is:                profiling.hs
--     default-language:       Haskell2010
--     build-depends:          base >= 4.7 && < 5.0,
--                             fei-cocoapi,
--                             fei-nn,
--                             fei-base,
--                             criterion,
--                             store,
--                             repa,
--                             bytestring,
--                             vector,
--                             containers,
--                             conduit,
--                             resourcet,
--                             lens,
--                             deepseq,
--                             mtl,
--                             JuicyPixels,
--                             JuicyPixels-repa,
--                             JuicyPixels-extra,
--                             hip,
--                             conduit-concurrent-map
--    ghc-options:             -threaded

-- Executable hist
--     hs-source-dirs:         examples
--     main-is:                hist.hs
--     default-language:       Haskell2010
--     build-depends:          base >= 4.7 && < 5.0,
--                             fei-cocoapi,
--                             fei-base,
--                             fei-nn,
--                             mtl,
--                             store,
--                             repa,
--                             conduit,
--                             lens,
--                             bytestring,
--                             vector,
--                             containers,
--                             resourcet,
--                             histogram-fill,
--                             conduit-concurrent-map
--    ghc-options:             -threaded