1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00

Some more code cleanup and return of read_net_… methods.

This commit is contained in:
Francois Deschenes 2018-07-26 21:19:09 -07:00
parent 801d1e8694
commit 869e21ab42
5 changed files with 109 additions and 103 deletions

View file

@ -9,6 +9,11 @@ namespace rubyopencv {
namespace Net {
void init(VALUE rb_module);
VALUE net2obj(cv::dnn::Net* ptr);
VALUE rb_read_net(int argc, VALUE *argv, VALUE self);
VALUE rb_read_net_from_caffe(VALUE self, VALUE prototxt, VALUE caffe_model);
VALUE rb_read_net_from_tensorflow(VALUE self, VALUE model);
VALUE rb_read_net_from_torch(VALUE self, VALUE model);
VALUE rb_read_net_from_darknet(VALUE self, VALUE cfg_file, VALUE darknet_model);
}
}
}