Add object detection, tracking, mobile notifications, and search to any security camera.
fix urls and threshold
rorycleare645c4a1f437
diff --git a/clearcam/SettingsViewController.m b/clearcam/SettingsViewController.mindex 2a79067..2f48bfa 100644--- a/clearcam/SettingsViewController.m+++ b/clearcam/SettingsViewController.m@@ -611,7 +611,7 @@if (indexPath.row == 0) { // Terms of Use[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://www.apple.com/legal/internet-services/itunes/dev/stdeula/"] options:@{} completionHandler:nil];} else if (indexPath.row == 1) { // Privacy Policy- [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://rors.ai/privacy"] options:@{} completionHandler:nil];+ [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://www.rors.ai/privacy"] options:@{} completionHandler:nil];}}[tableView deselectRowAtIndexPath:indexPath animated:YES];diff --git a/clearcam/StoreManager.m b/clearcam/StoreManager.mindex 2d5122c..3c02d0a 100644--- a/clearcam/StoreManager.m+++ b/clearcam/StoreManager.m@@ -246,7 +246,7 @@ NSString *const StoreManagerSubscriptionStatusDidChangeNotification = @"StoreManreturn;}- [FileServer performPostRequestWithURL:@"https://rors.ai/verify_receipt"+ [FileServer performPostRequestWithURL:@"https://www.rors.ai/verify_receipt"method:@"POST"contentType:@"application/json"body:jsonDatadiff --git a/clearcam/Yolo.m b/clearcam/Yolo.mindex 529ec07..f630b66 100644--- a/clearcam/Yolo.m+++ b/clearcam/Yolo.m@@ -265,7 +265,7 @@ UInt8 *rgbData;memcpy(floatArray, bufferPointer, buffer.length);NSMutableArray *output = [[NSMutableArray alloc] init];for(int i = 0; i < buffer.length/4; i+=6){ //4 sides + class + conf = 6- if([self.yoloIndexSet containsObject:@(floatArray[i + 4])] && floatArray[i+5] > 0.25){ //todo unhardcode 0.25!+ if ([self.yoloIndexSet containsObject:@(floatArray[i + 4])] && floatArray[i + 5] > ([[[NSUserDefaults standardUserDefaults] objectForKey:@"threshold"] ?: @(25) floatValue] / 100.0)) {NSArray *shape = @[@(floatArray[i]),@(floatArray[i+1]),