mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
moved some functions to cvutils
This commit is contained in:
parent
76f2933061
commit
aaa0de3810
7 changed files with 199 additions and 170 deletions
|
@ -283,7 +283,7 @@ rb_set_size(VALUE self, VALUE value)
|
|||
result = cvSetCaptureProperty(CVCAPTURE(self), CV_CAP_PROP_FRAME_HEIGHT, height);
|
||||
}
|
||||
else
|
||||
raise_compatible_typeerror(object, cCvSize::rb_class());
|
||||
raise_compatible_typeerror(value, cCvSize::rb_class());
|
||||
return DBL2NUM(result);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue