Sha256: c85ac064cd4df8ca7ae77f9f707da4cb3c445522e5342fd4f6ee94d3b938831a
Contents?: true
Size: 928 Bytes
Versions: 5
Compression:
Stored size: 928 Bytes
Contents
#include <ruby.h> #include <dlib/array2d.h> #include <dlib/pixel.h> #include <dlib/image_transforms.h> #include <iostream> #include "missing.h" static VALUE mDlib; static VALUE eDlibError; static VALUE eDlibCudaError; #include "geometry.inc" #include "image.inc" #include "detector.inc" #include "find_candidate_object_locations.inc" #include "dnn_detector.inc" #include "cuda.inc" extern "C" void Init_dlib(void) { mDlib = rb_define_module("Dlib"); rb_require("dlib/version"); eDlibError = rb_define_class_under(mDlib, "Error", rb_eStandardError); eDlibCudaError = rb_define_class_under(mDlib, "CudaError", eDlibError); Init_dlib_geometry(); Init_dlib_image(); Init_dlib_detector(); Init_dlib_dnn_detector(); Init_dlib_cuda(); rb_define_module_function( mDlib, "find_candidate_object_locations", RUBY_METHOD_FUNC(dlib_rb_find_candidate_object_locations), -1 ); }
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
dlib-1.2.2 | ext/dlib/dlib.cpp |
dlib-1.2.1 | ext/dlib/dlib.cpp |
dlib-1.2.0 | ext/dlib/dlib.cpp |
dlib-1.1.5 | ext/dlib/dlib.cpp |
dlib-1.1.4 | ext/dlib/dlib.cpp |