Sha256: fc392b40ff299f82c9ca26e20c4d04495b663ad371cae97e5567ea9be777130a

Contents?: true

Size: 469 Bytes

Versions: 1

Compression:

Stored size: 469 Bytes

Contents

# NOT USED YET
# module Yearbook
#   class DetectedObject

#     attr_reader @x, @y, @width, @height

#     # args can either be one CvMat object, 
#     # or x,y,w,h dimensions
#     def initialize(*args)

#       case args.count
#       when 1
#         # CVMat
#       when 4
#         @x = x
#         @y = y
#         @width = w
#         @height = h
#       else
#         raise "Expected 1 or 4 arguments, not #{args.count}"
#       end
#     end


#   end
# end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yearbook-0.3.0 lib/yearbook/detected_object.rb