Module: Hornetseye
- Defined in:
- lib/hornetseye-frame/node.rb,
lib/hornetseye-frame/frame.rb,
lib/hornetseye-frame/fourcc.rb,
lib/hornetseye-frame/shortcuts.rb
Overview
Namespace of Hornetseye computer vision library
Defined Under Namespace
Modules: FrameConstructor, FrameConversion Classes: FourCC, Frame, Frame_, Node
Constant Summary collapse
- BGR =
FourCC 'B', 'G', 'R'
- BGRA =
FourCC 'B', 'G', 'R', 'A'
- UYVY =
FourCC 'U', 'Y', 'V', 'Y'
- YUY2 =
FourCC 'Y', 'U', 'Y', '2'
- I420 =
FourCC 'I', '4', '2', '0'
- YV12 =
FourCC 'Y', 'V', '1', '2'
- MJPG =
FourCC 'M', 'J', 'P', 'G'
Class Method Summary collapse
Class Method Details
.FourCC(a, b, c, d = nil) ⇒ Object
48 49 50 |
# File 'lib/hornetseye-frame/fourcc.rb', line 48 def FourCC(a, b, c, d = nil) FourCC.new a, b, c, d end |
.Frame(typecode) ⇒ Object
145 146 147 148 149 150 151 152 153 |
# File 'lib/hornetseye-frame/frame.rb', line 145 def Frame(typecode) if typecode.is_a? FourCC retval = Class.new Frame_ retval.typecode = typecode retval else Hornetseye::MultiArray typecode, 2 end end |