Merge pull request #890 from caorong:patch-1
This commit is contained in:
commit
127a152f76
@ -215,9 +215,9 @@ public class FdActivity extends Activity implements CvCameraViewListener2 {
|
|||||||
else if (item == mItemFace20)
|
else if (item == mItemFace20)
|
||||||
setMinFaceSize(0.2f);
|
setMinFaceSize(0.2f);
|
||||||
else if (item == mItemType) {
|
else if (item == mItemType) {
|
||||||
mDetectorType = (mDetectorType + 1) % mDetectorName.length;
|
int tmpDetectorType = (mDetectorType + 1) % mDetectorName.length;
|
||||||
item.setTitle(mDetectorName[mDetectorType]);
|
item.setTitle(mDetectorName[tmpDetectorType]);
|
||||||
setDetectorType(mDetectorType);
|
setDetectorType(tmpDetectorType);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user