add: images.findImage; change images.findColor implementation to opencv

This commit is contained in:
hyb1996
2017-11-26 17:47:17 +08:00
parent 35955faba9
commit 328ab6efa7
25 changed files with 551 additions and 811 deletions

View File

@@ -43,6 +43,7 @@ public class IntentExtras implements Serializable {
private IntentExtras(int id) {
mMap = extraStore.get(id);
extraStore.remove(id);
mMaxId = id;
}

View File

@@ -0,0 +1,16 @@
package com.stardust.util;
/**
* Created by Stardust on 2017/11/26.
*/
public class Nath {
public static int min(int... ints) {
int min = ints[0];
for (int i = 1; i < ints.length; i++) {
min = ints[i] < min ? ints[i] : min;
}
return min;
}
}