Sha256: 0589ffeb78868a4ba4fb74035faa6a0824856213f721615ceec2a1c92277608e
Contents?: true
Size: 426 Bytes
Versions: 1
Compression:
Stored size: 426 Bytes
Contents
require_relative 'classifier' require_relative 'detection' module Yearbook module Detector class << self # returns an array of detected objects def detect_objects(cv_image, object_type) x = Classifier.of(object_type).detect_objects(cv_image) return Yearbook.DetectionCollection(x, object_type) end def load_cv(fname) IplImage::load(fname) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yearbook-0.3.0 | lib/yearbook/detector.rb |