Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

hardcode init classes for now

rorycleard0853c1f77dd
diff --git a/clearcam/FileServer.m b/clearcam/FileServer.m
index 9c0fb01..8eca184 100644
--- a/clearcam/FileServer.m
+++ b/clearcam/FileServer.m
@@ -21,6 +21,14 @@
@implementation FileServer
- (void)start {
+
+ //obv todo
+ if([SettingsManager sharedManager].yolo_indexes.count == 80){
+ self.currentClasses = @"all";
+ } else {
+ self.currentClasses = @"vehiclesPeople";
+ }
+
// coredata stuff
AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
self.context = appDelegate.persistentContainer.viewContext;