https://github.com/susom/ourvoice-pixelation
Google cloud function written in NodeJS that will detect faces on uploaded images, obfuscate them, and save the resulting output to a google bucket.
https://github.com/susom/ourvoice-pixelation
cloudops ourvoice
Last synced: 18 days ago
JSON representation
Google cloud function written in NodeJS that will detect faces on uploaded images, obfuscate them, and save the resulting output to a google bucket.
- Host: GitHub
- URL: https://github.com/susom/ourvoice-pixelation
- Owner: susom
- Created: 2022-01-12T00:28:36.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-16T05:34:39.000Z (10 months ago)
- Last Synced: 2025-04-16T06:39:05.904Z (10 months ago)
- Topics: cloudops, ourvoice
- Language: JavaScript
- Homepage:
- Size: 314 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README


# Ourvoice automatic pixelation
- This function will detect faces on uploaded images, obfuscate them, and save the resulting output to a google bucket.
## Deployment
The following command can be run to deploy on cloud functions:
```
gcloud functions deploy pixelateTrigger --runtime nodejs18 --trigger-resource transform_ov_walk_files --trigger-event google.storage.object.finalize --max-instances 20 --memory 512MB --timeout 120s --env-vars-file .env.yaml --docker-registry=artifact-registry
```
Note that an `.env.yaml` file will need to be present with the following format:
```
projectId:
finalBucketName:
```
Before

After
