opencv-0.0.1.1: Haskell binding to OpenCV-3.x

Safe HaskellNone
LanguageHaskell2010

OpenCV.JSON

Contents

Orphan instances

ToJSON Size2i Source # 

Methods

toJSON :: Size2i -> Value

toEncoding :: Size2i -> Encoding

toJSONList :: [Size2i] -> Value

toEncodingList :: [Size2i] -> Encoding

ToJSON Size2f Source # 

Methods

toJSON :: Size2f -> Value

toEncoding :: Size2f -> Encoding

toJSONList :: [Size2f] -> Value

toEncodingList :: [Size2f] -> Encoding

ToJSON Point2i Source # 

Methods

toJSON :: Point2i -> Value

toEncoding :: Point2i -> Encoding

toJSONList :: [Point2i] -> Value

toEncodingList :: [Point2i] -> Encoding

ToJSON Point2f Source # 

Methods

toJSON :: Point2f -> Value

toEncoding :: Point2f -> Encoding

toJSONList :: [Point2f] -> Value

toEncodingList :: [Point2f] -> Encoding

ToJSON Point2d Source # 

Methods

toJSON :: Point2d -> Value

toEncoding :: Point2d -> Encoding

toJSONList :: [Point2d] -> Value

toEncodingList :: [Point2d] -> Encoding

ToJSON Point3i Source # 

Methods

toJSON :: Point3i -> Value

toEncoding :: Point3i -> Encoding

toJSONList :: [Point3i] -> Value

toEncodingList :: [Point3i] -> Encoding

ToJSON Point3f Source # 

Methods

toJSON :: Point3f -> Value

toEncoding :: Point3f -> Encoding

toJSONList :: [Point3f] -> Value

toEncodingList :: [Point3f] -> Encoding

ToJSON Point3d Source # 

Methods

toJSON :: Point3d -> Value

toEncoding :: Point3d -> Encoding

toJSONList :: [Point3d] -> Value

toEncodingList :: [Point3d] -> Encoding

ToJSON HElems Source # 

Methods

toJSON :: HElems -> Value

toEncoding :: HElems -> Encoding

toJSONList :: [HElems] -> Value

toEncodingList :: [HElems] -> Encoding

ToJSON HMat Source # 

Methods

toJSON :: HMat -> Value

toEncoding :: HMat -> Encoding

toJSONList :: [HMat] -> Value

toEncodingList :: [HMat] -> Encoding

FromJSON Size2i Source # 

Methods

parseJSON :: Value -> Parser Size2i

parseJSONList :: Value -> Parser [Size2i]

FromJSON Size2f Source # 

Methods

parseJSON :: Value -> Parser Size2f

parseJSONList :: Value -> Parser [Size2f]

FromJSON Point2i Source # 

Methods

parseJSON :: Value -> Parser Point2i

parseJSONList :: Value -> Parser [Point2i]

FromJSON Point2f Source # 

Methods

parseJSON :: Value -> Parser Point2f

parseJSONList :: Value -> Parser [Point2f]

FromJSON Point2d Source # 

Methods

parseJSON :: Value -> Parser Point2d

parseJSONList :: Value -> Parser [Point2d]

FromJSON Point3i Source # 

Methods

parseJSON :: Value -> Parser Point3i

parseJSONList :: Value -> Parser [Point3i]

FromJSON Point3f Source # 

Methods

parseJSON :: Value -> Parser Point3f

parseJSONList :: Value -> Parser [Point3f]

FromJSON Point3d Source # 

Methods

parseJSON :: Value -> Parser Point3d

parseJSONList :: Value -> Parser [Point3d]

FromJSON HElems Source # 

Methods

parseJSON :: Value -> Parser HElems

parseJSONList :: Value -> Parser [HElems]

FromJSON HMat Source # 

Methods

parseJSON :: Value -> Parser HMat

parseJSONList :: Value -> Parser [HMat]

ToJSON (Mat shape channels depth) Source # 

Methods

toJSON :: Mat shape channels depth -> Value

toEncoding :: Mat shape channels depth -> Encoding

toJSONList :: [Mat shape channels depth] -> Value

toEncodingList :: [Mat shape channels depth] -> Encoding

(ToShapeDS (Proxy (DS [DS Nat]) shape), ToChannelsDS (Proxy (DS Nat) channels), ToDepthDS (Proxy (DS *) depth)) => FromJSON (Mat shape channels depth) Source # 

Methods

parseJSON :: Value -> Parser (Mat shape channels depth)

parseJSONList :: Value -> Parser [Mat shape channels depth]