Sha256: 62454e1c49515de020bff6e115f5d62567e9e72d432d789ac01d4e1b5222c809

Contents?: true

Size: 553 Bytes

Versions: 2

Compression:

Stored size: 553 Bytes

Contents

#ifndef SPYGLASS_CASCADE_CLASSIFIER_H_
#define SPYGLASS_CASCADE_CLASSIFIER_H_

#include "spyglass.h"

namespace Spyglass {

  SG_GEN_GET_OBJECT_FUNCTION(SG_GET_CLASSIFIER, cv::CascadeClassifier);

  namespace CascadeClassifier {
    void define_ruby_class();
    VALUE get_ruby_class();

    static VALUE rb_alloc(VALUE self);
    static void rb_free(cv::CascadeClassifier *classifier);
    static VALUE rb_initialize(VALUE self, VALUE src);
    static VALUE rb_detect(int argc, VALUE *argv, VALUE self);
  }
}

#endif // SPYGLASS_CASCADE_CLASSIFIER_H_

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spyglass-0.0.5.1 ext/spyglass/cascade_classifier.h
spyglass-0.0.5 ext/spyglass/cascade_classifier.h