Skip to content

Google cloud function written in NodeJS that will detect faces on uploaded images, obfuscate them, and save the resulting output to a google bucket.

Notifications You must be signed in to change notification settings

susom/ourvoice-pixelation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Cloud NodeJS

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: <PROJECTID>
    finalBucketName: <BUCKETNAME>

Before This is an image

After This is an image

About

Google cloud function written in NodeJS that will detect faces on uploaded images, obfuscate them, and save the resulting output to a google bucket.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published