feat: built-in lodash.js

close #281
This commit is contained in:
hyb1996
2018-02-01 16:34:40 +08:00
parent a06fca1971
commit ee638e3d6b
6 changed files with 75 additions and 14 deletions

View File

@@ -210,6 +210,10 @@ public class Images {
}
public Point findImage(ImageWrapper image, ImageWrapper template, float weakThreshold, float threshold, Rect rect, int maxLevel) {
if(image == null)
throw new NullPointerException("image = null");
if(template == null)
throw new NullPointerException("template = null");
Mat src = image.getMat();
if (rect != null) {
src = new Mat(src, rect);