- added video detection again
This commit is contained in:
1 parent
4a1c554a09
commit
c8b947bb57
1 file changed
+4
-2
@@ -74,9 +74,11 @@ public class MainActivity extends AppCompatActivity {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
if (toggleKamera.isChecked()) {
|
||||
|
||||
if(detectorService != null) {
|
||||
detectorService.videoDetector.startDetection();
|
||||
}
|
||||
} else {
|
||||
|
||||
detectorService.videoDetector.stopDetection();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user