Add object detection, tracking, mobile notifications, and search to any security camera.
fix overwriting previous shape
roryclearfd6fd9ee7b81
diff --git a/clearcam/ViewController.m b/clearcam/ViewController.mindex 28916a1..ac01667 100644--- a/clearcam/ViewController.m+++ b/clearcam/ViewController.m@@ -547,7 +547,7 @@ NSMutableDictionary *classColorMap;frameSquare[@"length"] = output[i][2];frameSquare[@"height"] = output[i][3];frameSquare[@"classIndex"] = output[i][4];- [frameSquares addObject:frameSquare];+ [frameSquares addObject:[frameSquare copy]];}frame[@"squares"] = frameSquares;[self.current_segment_squares addObject:frame];