Sha256: 051396a783305673ed8d9e7970c2f4acc14bd2ae9268edb9859b832ef8d0c70f
Contents?: true
Size: 951 Bytes
Versions: 5
Compression:
Stored size: 951 Bytes
Contents
#ifndef __LOGO_H #define __LOGO_H #include <ruby.h> // #include "template_match.h" extern void* init_template_match(void); extern int add_image_template(void* ptemplate_match, const char* template_img_path, const char* label, int x, int y , int width, int height); extern void* init_image_feature(void* ptemplate_match, const char* img_path); extern float match_image(void* ptemplate_match, void* pimage_feature, char* label); extern void release_image_feature(void* pimage_feature); extern void release_template_match(void* ptemplate_match); void* get_logo_ctx_ptr(VALUE self); static VALUE initialize(VALUE self); static VALUE rb_add_image_template(VALUE self, VALUE hash); static VALUE rb_init_image_feature(VALUE self, VALUE img_path); static VALUE rb_match_image(VALUE self, VALUE rb_feature, VALUE label); static VALUE rb_release_image_feature(VALUE self, VALUE rb_feature); static VALUE rb_release_template_match(VALUE self); #endif
Version data entries
5 entries across 5 versions & 1 rubygems