Browse Source

- added video detection again

ms_master_copie
Oliver Kleinecke 11 months ago
parent
commit
c8b947bb57

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

@@ -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();
}
}
});

Loading…
Cancel
Save