Browse Source

- added video detection again

ms_master_copie
Oliver Kleinecke 1 year ago
parent
commit
c8b947bb57

+ 4
- 2
app/src/main/java/com/example/ueberwachungssystem/MainActivity.java View File

@Override @Override
public void onClick(View v) { public void onClick(View v) {
if (toggleKamera.isChecked()) { if (toggleKamera.isChecked()) {

if(detectorService != null) {
detectorService.videoDetector.startDetection();
}
} else { } else {

detectorService.videoDetector.stopDetection();
} }
} }
}); });

Loading…
Cancel
Save