-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding integration with Google Cloud Logging and Storage #2215
base: main
Are you sure you want to change the base?
Conversation
…o Google Cloud Logging ; upload the detection pictures to Google Cloud Storage.
…ced parameters to the storage bucket and blob path.
…rson detected images to files only if the folder exists.
@dtrawins I looked at the pull request, the current person_vehicle_bike_detection.py has |
…d could take 91GB within 3 days.
Adding GCS folder of date and hour. Parameterized GCP log name.
…ge. Handled exceptions are stored in Cloud Logging as Warning: { "insertId": "1h2367hfi0sbxr", "jsonPayload": { "uploaded_destination": "Error uploading file: 412 POST https://storage.googleapis.com/upload/storage/v1/b/$PROJECT_ID_ephemeral/o?uploadType=multipart&ifGenerationMatch=0: {\n \"error\": {\n \"code\": 412,\n \"message\": \"At least one of the pre-conditions you specified did not hold.\",\n \"errors\": [\n {\n \"message\": \"At least one of the pre-conditions you specified did not hold.\",\n \"domain\": \"global\",\n \"reason\": \"conditionNotMet\",\n \"locationType\": \"header\",\n \"location\": \"If-Match\"\n }\n ]\n }\n}\n: ('Request failed with status code', 412, 'Expected one of', <HTTPStatus.OK: 200>)", "sample-interval-seconds": 10, "confidence": 0.9408159852027893, "picture": "/mnt/1tb/ftp/ipcam/autodelete/person-detection/detected-person_2024-08-12_17-57-04.507467.png", "camera_id": "us-amcrest-cam-0" }, "resource": { "type": "global", "labels": { "project_id": "$PROJECT_ID" } }, "timestamp": "2024-08-13T00:58:35.529757583Z", "severity": "WARNING", "logName": "projects/$PROJECT_ID/logs/person-detection", "receiveTimestamp": "2024-08-13T00:58:35.529757583Z" }
Enhance the use case to integrate with Google Cloud logging and storage in the post processing of the image frame method. I want to have this reviewed as a draft. I want to create a RTSP security camera person detection use case for detecting people in the video stream. The alerts are sent by configured Google Cloud log based alert.