Face detection tutorial | Cloud Vision API

文章推薦指數: 80 %
投票人數:10人

Objectives. In this sample, you'll use the Google Vision API to detect faces in an image. To prove to yourself that the faces were detected correctly, ... WhyGoogle close DiscoverwhyleadingbusinesseschooseGoogleCloud Whetheryourbusinessisearlyinitsjourneyorwellonitswaytodigitaltransformation,GoogleCloudcanhelpyousolveyourtoughestchallenges. Learnmore Keybenefits Overview Topreasonsbusinesseschooseus. Multicloud Runyourappswhereveryouneedthem. Trustandsecurity Keepyourdatasecureandcompliant. Globalinfrastructure BuildonthesameinfrastructureasGoogle. Datacloud Unifydataacrossyourorganization. Opencloud Scalewithopen,flexibletechnology. Sustainability Runonthecleanestcloudintheindustry. Productivityandcollaboration ConnectyourteamswithAI-poweredapps. Resources Events BrowseupcomingGoogleCloudevents. Blog Readourlatestproductnewsandstories. Customerstories Explorecasestudiesandvideos. Analystreports Readwhatindustryanalystssayaboutus. Solutions close IndustrySolutions Reducecost,increaseoperationalagility,andcapturenewmarketopportunities. Retail Analyticsandcollaborationtoolsfortheretailvaluechain. ConsumerPackagedGoods SolutionsforCPGdigitaltransformationandbrandgrowth. FinancialServices Computing,datamanagement,andanalyticstoolsforfinancialservices. HealthcareandLifeSciences Advanceresearchatscaleandempowerhealthcareinnovation. MediaandEntertainment Solutionsforcontentproductionanddistributionoperations. Telecommunications Hybridandmulti-cloudservicestodeployandmonetize5G. Gaming AI-drivensolutionstobuildandscalegamesfaster. Manufacturing MigrationandAItoolstooptimizethemanufacturingvaluechain. SupplyChainandLogistics Digitalsupplychainsolutionsbuiltinthecloud. Government Datastorage,AI,andanalyticssolutionsforgovernmentagencies. Education Teachingtoolstoprovidemoreengaginglearningexperiences. Notseeingwhatyou'relookingfor? Seeallindustrysolutions Notseeingwhatyou'relookingfor? Seeallsolutions ApplicationModernization Developandrunapplicationsanywhere,usingcloud-nativetechnologieslikecontainers,serverless,andservicemesh. HybridandMulti-cloudApplicationPlatform Platformformodernizinglegacyappsandbuildingnewapps. APIManagement AccelerateapplicationdesignanddevelopmentwithanAPI-firstapproach. ServerlessSolutions Fullymanagedenvironmentfordeveloping,deployingandscalingapps. DevOps ProcessesandresourcesforimplementingDevOpsinyourorg. ContinuousDelivery(CD) End-to-endautomationfromsourcetoproduction. ContinuousIntegration(CI) Fastfeedbackoncodechangesatscale. MainframeModernization Automatedtoolsandprescriptiveguidanceformovingtothecloud. CAMP ProgramthatusesDORAtoimproveyoursoftwaredeliverycapabilities. Hosting Servicesandinfrastructureforbuildingwebappsandwebsites. SiteReliabilityEngineering(SRE) ToolsandresourcesforadoptingSREinyourorg. ArtificialIntelligence AddintelligenceandefficiencytoyourbusinesswithAIandmachinelearning. BuildanduseAI Productstobuildanduseartificialintelligence. ContactCenterAI AImodelforspeakingwithcustomersandassistinghumanagents. AgentAssist AI-poweredconversationswithhumanagents. CloudTalentSolution AIwithjobsearchandtalentacquisitioncapabilities. DocumentAI MachinelearningandAItounlockinsightsfromyourdocuments. LendingDocAI Mortgagedocumentdatacaptureatscalewithmachinelearning. ProcurementDocAI Procurementdocumentdatacaptureatscalewithmachinelearning. Intelligentproducts CreateengagingproductownershipexperienceswithAI. DataScience PutyourdatatoworkwithDataScienceonGoogleCloud. ContractDocAI SpecializedAIforbetteringcontractunderstanding. ContactCenterAIInsights AI-poweredunderstandingtobettercustomerexperience. APIsandApplications Speedupthepaceofinnovationwithoutcoding,usingAPIs,apps,andautomation. NewBusinessChannelsUsingAPIs Attractandempoweranecosystemofdevelopersandpartners. UnlockingLegacyApplicationsUsingAPIs Cloudservicesforextendingandmodernizinglegacyapps. OpenBankingAPIx SimplifyandacceleratesecuredeliveryofopenbankingcompliantAPIs. Databases Migrateandmanageenterprisedatawithsecurity,reliability,highavailability,andfullymanageddataservices. DatabaseMigration Guidesandtoolstosimplifyyourdatabasemigrationlifecycle. DatabaseModernization Upgradestomodernizeyouroperationaldatabaseinfrastructure. GoogleCloudDatabases Databaseservicestomigrate,manage,andmodernizedata. MigrateOracleworkloadstoGoogleCloud Rehost,replatform,rewriteyourOracleworkloads. OpenSourceDatabases Fullymanagedopensourcedatabaseswithenterprise-gradesupport. SQLServeronGoogleCloud OptionsforrunningSQLServervirtualmachinesonGoogleCloud. DataCloud Unifydataacrossyourorganizationwithanopenandsimplifiedapproachtodata-driventransformationthatisunmatchedforspeed,scale,andsecuritywithAIbuilt-in. DatabasesSolutions Migrateandmanageenterprisedatawithsecurity,reliability,highavailability,andfullymanageddataservices. SmartAnalyticsSolutions Generateinstantinsightsfromdataatanyscalewithaserverless,fullymanagedanalyticsplatformthatsignificantlysimplifiesanalytics. AISolutions AddintelligenceandefficiencytoyourbusinesswithAIandmachinelearning. DataCloudforISVs Innovate,optimizeandamplifyyourSaaSapplicationsusingGoogle'sdataandmachinelearningsolutionssuchasBigQuery,Looker,SpannerandVertexAI. DataCloudAlliance Aninitiativetoensurethatglobalbusinesseshavemoreseamlessaccessandinsightsintothedatarequiredfordigitaltransformation. DigitalTransformation Acceleratebusinessrecoveryandensureabetterfuturewithsolutionsthatenablehybridandmulti-cloud,generateintelligentinsights,andkeepyourworkersconnected. DigitalInnovation Reimagineyouroperationsandunlocknewopportunities. OperationalEfficiency Prioritizeinvestmentsandoptimizecosts. COVID-19Solutions Getworkdonemoresafelyandsecurely. COVID-19SolutionsfortheHealthcareIndustry HowGoogleishelpinghealthcaremeetextraordinarychallenges. InfrastructureModernization MigratequicklywithsolutionsforSAP,VMware,Windows,Oracle,andotherworkloads. ApplicationMigration Discoveryandanalysistoolsformovingtothecloud. SAPonGoogleCloud CertificationsforrunningSAPapplicationsandSAPHANA. HighPerformanceComputing Compute,storage,andnetworkingoptionstosupportanyworkload. WindowsonGoogleCloud ToolsandpartnersforrunningWindowsworkloads. DataCenterMigration MigrationsolutionsforVMs,apps,databases,andmore. ActiveAssist Automaticcloudresourceoptimizationandincreasedsecurity. VirtualDesktops Remoteworksolutionsfordesktopsandapplications(VDI&DaaS). RapidAssessment&MigrationProgram(RAMP) End-to-endmigrationprogramtosimplifyyourpathtothecloud. BackupandDisasterRecovery Ensureyourbusinesscontinuityneedsaremet. ProductivityandCollaboration Changethewayteamsworkwithsolutionsdesignedforhumansandbuiltforimpact. GoogleWorkspace Collaborationandproductivitytoolsforenterprises. GoogleWorkspaceEssentials Securevideomeetingsandmoderncollaborationforteams. CloudIdentity UnifiedplatformforITadminstomanageuserdevicesandapps. ChromeEnterprise ChromeOS,ChromeBrowser,andChromedevicesbuiltforbusiness. CloudSearch Enterprisesearchforemployeestoquicklyfindcompanyinformation. Security Detect,investigate,andrespondtoonlinethreatstohelpprotectyourbusiness. SecurityAnalyticsandOperations Solutionforanalyzingpetabytesofsecuritytelemetry. WebAppandAPIProtection ThreatandfraudprotectionforyourwebapplicationsandAPIs. SecurityandResilienceFramework Solutionsforeachphaseofthesecurityandresiliencelifecycle. Riskandcomplianceascode(RCaC) Solutiontomodernizeyourgovernance,risk,andcompliancefunctionwithautomation. SmartAnalytics Generateinstantinsightsfromdataatanyscalewithaserverless,fullymanagedanalyticsplatformthatsignificantlysimplifiesanalytics. DataWarehouseModernization Datawarehousetojumpstartyourmigrationandunlockinsights. DataLakeModernization Servicesforbuildingandmodernizingyourdatalake. SparkonGoogleCloud RunandwriteSparkwhereyouneedit,serverlessandintegrated. StreamAnalytics Insightsfromingesting,processing,andanalyzingeventstreams. BusinessIntelligence SolutionsformodernizingyourBIstackandcreatingrichdataexperiences. DataScience PutyourdatatoworkwithDataScienceonGoogleCloud. MarketingAnalytics Solutionsforcollecting,analyzing,andactivatingcustomerdata. GeospatialAnalyticsandAI Solutionsforbuildingamoreprosperousandsustainablebusiness. Datasets DatafromGoogle,public,andcommercialproviderstoenrichyouranalyticsandAIinitiatives. StartupsandSMB AcceleratestartupandSMBgrowthwithtailoredsolutionsandprograms. StartupSolutions GrowyourstartupandsolveyourtoughestchallengesusingGoogle’sproventechnology. StartupProgram Getfinancial,business,andtechnicalsupporttotakeyourstartuptothenextlevel. SmallandMediumBusiness Exploresolutionsforwebhosting,appdevelopment,AI,andanalytics. SoftwareasaService BuildbetterSaaSproducts,scaleefficiently,andgrowyourbusiness. Products close FeaturedProducts ComputeEngine VirtualmachinesrunninginGoogle’sdatacenter. CloudStorage Objectstoragethat’ssecure,durable,andscalable. CloudSDK Command-linetoolsandlibrariesforGoogleCloud. CloudSQL RelationaldatabaseserviceforMySQL,PostgreSQLandSQLServer. GoogleKubernetesEngine Managedenvironmentforrunningcontainerizedapps. BigQuery Datawarehouseforbusinessagilityandinsights. CloudCDN Contentdeliverynetworkfordeliveringwebandvideo. Dataflow Streaminganalyticsforstreamandbatchprocessing. Operations Monitoring,logging,andapplicationperformancesuite. CloudRun Fullymanagedenvironmentforrunningcontainerizedapps. Anthos Platformformodernizingexistingappsandbuildingnewones. Notseeingwhatyou'relookingfor? Seeallproducts(100+) AIandMachineLearning VertexAI UnifiedMLPlatformfortraining,hosting,andmanagingMLmodels. Speech-to-Text Speechrecognitionandtranscriptionsupporting125languages. VisionAI Customandpre-trainedmodelstodetectemotion,text,more. Text-to-Speech Speechsynthesisin220+voicesand40+languages. CloudTranslation Languagedetection,translation,andglossarysupport. CloudNaturalLanguage Sentimentanalysisandclassificationofunstructuredtext. AutoML Custommachinelearningmodeltraininganddevelopment. VideoAI Videoclassificationandrecognitionusingmachinelearning. AIInfrastructure Optionsforeverybusinesstotraindeeplearningandmachinelearningmodelscost-effectively. Dialogflow Conversationapplicationsandsystemsdevelopmentsuiteforvirtualagents. AutoMLTables ServicefortrainingMLmodelswithstructureddata. Notseeingwhatyou'relookingfor? SeeallAIandmachinelearningproducts APIManagement ApigeeAPIManagement ManagethefulllifecycleofAPIsanywherewithvisibilityandcontrol. ApigeeIntegration API-firstintegrationtoconnectexistingdataandapplications. CloudHealthcareAPI SolutiontobridgeexistingcaresystemsandappsonGoogleCloud. AppSheet No-codedevelopmentplatformtobuildandextendapplications. APIGateway Develop,deploy,secure,andmanageAPIswithafullymanagedgateway. Compute ComputeEngine VirtualmachinesrunninginGoogle’sdatacenter. AppEngine Serverlessapplicationplatformforappsandbackends. CloudGPUs GPUsforML,scientificcomputing,and3Dvisualization. MigrateforComputeEngine ServerandvirtualmachinemigrationtoComputeEngine. SpotVMs Computeinstancesforbatchjobsandfault-tolerantworkloads. ShieldedVMs ReinforcedvirtualmachinesonGoogleCloud. Sole-TenantNodes Dedicatedhardwareforcompliance,licensing,andmanagement. BareMetal InfrastructuretorunspecializedworkloadsonGoogleCloud. Recommender UsagerecommendationsforGoogleCloudproductsandservices. VMwareEngine Fullymanaged,nativeVMwareCloudFoundationsoftwarestack. CloudRun Fullymanagedenvironmentforrunningcontainerizedapps. Notseeingwhatyou'relookingfor? Seeallcomputeproducts Containers GoogleKubernetesEngine Managedenvironmentforrunningcontainerizedapps. ContainerRegistry Registryforstoring,managing,andsecuringDockerimages. ContainerSecurity Containerenvironmentsecurityforeachstageofthelifecycle. CloudBuild SolutionforrunningbuildstepsinaDockercontainer. DeepLearningContainers Containerswithdatascienceframeworks,libraries,andtools. KubernetesApplications Containerizedappswithprebuiltdeploymentandunifiedbilling. ArtifactRegistry Packagemanagerforbuildartifactsanddependencies. Knative ComponentstocreateKubernetes-nativecloud-basedsoftware. CloudRun Fullymanagedenvironmentforrunningcontainerizedapps. CloudCode IDEsupporttowrite,run,anddebugKubernetesapplications. DataAnalytics BigQuery Datawarehouseforbusinessagilityandinsights. Looker PlatformforBI,dataapplications,andembeddedanalytics. Dataflow Streaminganalyticsforstreamandbatchprocessing. Pub/Sub Messagingserviceforeventingestionanddelivery. Dataproc ServiceforrunningApacheSparkandApacheHadoopclusters. CloudDataFusion Dataintegrationforbuildingandmanagingdatapipelines. CloudComposer WorkfloworchestrationservicebuiltonApacheAirflow. Dataprep Servicetopreparedataforanalysisandmachinelearning. Dataplex Intelligentdatafabricforunifyingdatamanagementacrosssilos. DataCatalog Metadataservicefordiscovering,understanding,andmanagingdata. AnalyticsHub Serviceforsecurelyandefficientlyexchangingdataanalyticsassets. Notseeingwhatyou'relookingfor? Seealldataanalyticsproducts Databases CloudBigtable Cloud-nativewide-columndatabaseforlargescale,low-latencyworkloads. Firestore Cloud-nativedocumentdatabaseforbuildingrichmobile,web,andIoTapps. Memorystore In-memorydatabaseformanagedRedisandMemcached. CloudSpanner Cloud-nativerelationaldatabasewithunlimitedscaleand99.999%availability. CloudSQL FullymanageddatabaseforMySQL,PostgreSQL,andSQLServer. DatabaseMigrationService Serverless,minimaldowntimemigrationstoCloudSQL. BareMetalSolutionforOracle InfrastructuretorunspecializedOracleworkloadsonGoogleCloud. FirebaseRealtimeDatabase NoSQLdatabaseforstoringandsyncingdatainrealtime. Datastream Serverlesschangedatacaptureandreplicationservice. DeveloperTools ArtifactRegistry Universalpackagemanagerforbuildartifactsanddependencies. CloudBuild Continuousintegrationandcontinuousdeliveryplatform. CloudCode IDEsupporttowrite,run,anddebugKubernetesapplications. CloudDeploymentManager ServiceforcreatingandmanagingGoogleCloudresources. gcloudCLI CommandlinetoolsandlibrariesforGoogleCloud. CloudScheduler Cronjobschedulerfortaskautomationandmanagement. CloudSourceRepositories PrivateGitrepositorytostore,manage,andtrackcode. CloudTasks Taskmanagementserviceforasynchronoustaskexecution. GoogleCloudDeploy FullymanagedcontinuousdeliverytoGoogleKubernetesEngine. Tekton Kubernetes-nativeresourcesfordeclaringCI/CDpipelines. ToolsforPowerShell FullcloudcontrolfromWindowsPowerShell. Notseeingwhatyou'relookingfor? Seealldevelopertools HealthcareandLifeSciences ApigeeHealthcareAPIx FHIRAPI-baseddigitalserviceproduction. CloudHealthcareAPI SolutionforbridgingexistingcaresystemsandappsonGoogleCloud. CloudLifeSciences Toolsformanaging,processing,andtransformingbiomedicaldata. HealthcareNaturalLanguageAI Real-timeinsightsfromunstructuredmedicaltext. HybridandMulticloud Anthos Platformformodernizingexistingappsandbuildingnewones. Looker PlatformforBI,dataapplications,andembeddedanalytics. CloudRunforAnthos IntegrationthatprovidesaserverlessdevelopmentplatformonGKE. GoogleCloudMarketplaceforAnthos Containerizedappswithprebuiltdeploymentandunifiedbilling. MigrateforAnthos TooltomoveworkloadsandexistingapplicationstoGKE. Operations Monitoring,logging,andapplicationperformancesuite. CloudBuild ServiceforexecutingbuildsonGoogleCloudinfrastructure. TrafficDirector Trafficcontrolpaneandmanagementforopenservicemesh. ApigeeAPIManagement APImanagement,development,andsecurityplatform. GoogleDistributedCloud Fullymanagedsolutionsfortheedgeanddatacenters. InternetofThings CloudIoTCore IoTdevicemanagement,integration,andconnectionservice. EdgeTPU ASICdesignedtorunMLinferenceandAIattheedge. ManagementTools AnthosConfigManagement Automatepolicyandsecurityforyourdeployments. CarbonFootprint DashboardtoviewandexportGoogleCloudcarbonemissionsreports. CloudAPIs ProgrammaticinterfacesforGoogleCloudservices. Cloudconsole Web-basedinterfaceformanagingandmonitoringcloudapps. CloudMobileApp ApptomanageGoogleCloudservicesfromyourmobiledevice. CloudShell Interactiveshellenvironmentwithabuilt-incommandline. ConfigConnector Kubernetesadd-onformanagingGoogleCloudresources. CostManagement Toolsformonitoring,controlling,andoptimizingyourcosts. IntelligentManagement Toolsforeasilymanagingperformance,security,andcost. PrivateCatalog Servicecatalogforadminsmanaginginternalenterprisesolutions. TerraformonGoogleCloud OpensourcetooltoprovisionGoogleCloudresourceswithdeclarativeconfigurationfiles. MediaandGaming GameServers GameservermanagementservicerunningonGoogleKubernetesEngine. OpenCue Opensourcerendermanagerforvisualeffectsandanimation. TranscoderAPI Convertvideofilesandpackagethemforoptimizeddelivery. Migration ApplicationMigration Appmigrationtothecloudforlow-costrefreshcycles. BigQueryDataTransferService DataimportserviceforschedulingandmovingdataintoBigQuery. CloudFoundationToolkit ReferencetemplatesforDeploymentManagerandTerraform. DatabaseMigrationService Serverless,minimaldowntimemigrationstoCloudSQL. MigrateforAnthos ComponentsformigratingVMsintosystemcontainersonGKE. MigrateforComputeEngine ComponentsformigratingVMsandphysicalserverstoComputeEngine. RapidAssessment&MigrationProgram(RAMP) End-to-endmigrationprogramtosimplifyyourpathtothecloud. TransferAppliance StorageserverformovinglargevolumesofdatatoGoogleCloud. StorageTransferService Datatransfersfromonlineandon-premisessourcestoCloudStorage. VMwareEngine MigrateandrunyourVMwareworkloadsnativelyonGoogleCloud. Networking CloudArmor SecuritypoliciesanddefenseagainstwebandDDoSattacks. CloudCDN Contentdeliverynetworkforservingwebandvideocontent. CloudDNS Domainnamesystemforreliableandlow-latencynamelookups. CloudLoadBalancing Servicefordistributingtrafficacrossapplicationsandregions. CloudNAT NATserviceforgivingprivateinstancesinternetaccess. HybridConnectivity ConnectivityoptionsforVPN,peering,andenterpriseneeds. NetworkConnectivityCenter Connectivitymanagementtohelpsimplifyandscalenetworks. NetworkIntelligenceCenter Networkmonitoring,verification,andoptimizationplatform. NetworkServiceTiers Cloudnetworkoptionsbasedonperformance,availability,andcost. TrafficDirector Trafficcontrolpaneandmanagementforopenservicemesh. Notseeingwhatyou'relookingfor? Seeallnetworkingproducts Operations CloudLogging GoogleCloudaudit,platform,andapplicationlogsmanagement. CloudMonitoring Infrastructureandapplicationhealthwithrichmetrics. ErrorReporting Applicationerroridentificationandanalysis. KubernetesEngineMonitoring GKEappdevelopmentandtroubleshooting. CloudTrace Tracingsystemcollectinglatencydatafromapplications. CloudProfiler CPUandheapprofilerforanalyzingapplicationperformance. CloudDebugger Real-timeapplicationstateinspectionandin-productiondebugging. IntelligentOperations Toolsforeasilyoptimizingperformance,security,andcost. SecurityandIdentity CloudIAM PermissionsmanagementsystemforGoogleCloudresources. AssuredWorkloads Complianceandsecuritycontrolsforsensitiveworkloads. CloudKeyManagement ManageencryptionkeysonGoogleCloud. ConfidentialComputing EncryptdatainusewithConfidentialVMs. SecurityCommandCenter PlatformfordefendingagainstthreatstoyourGoogleCloudassets. CloudDataLossPrevention Sensitivedatainspection,classification,andredactionplatform. ManagedServiceforMicrosoftActiveDirectory HardenedservicerunningMicrosoft®ActiveDirectory(AD). AccessTransparency Cloudprovidervisibilitythroughnearreal-timelogs. TitanSecurityKey Two-factorauthenticationdeviceforuseraccountprotection. SecretManager StoreAPIkeys,passwords,certificates,andothersensitivedata. BeyondCorpEnterprise Zerotrustsolutionforsecureapplicationandresourceaccess. Notseeingwhatyou'relookingfor? Seeallsecurityandidentityproducts ServerlessComputing CloudRun Fullymanagedenvironmentforrunningcontainerizedapps. CloudFunctions Platformforcreatingfunctionsthatrespondtocloudevents. AppEngine Serverlessapplicationplatformforappsandbackends. Workflows WorkfloworchestrationforserverlessproductsandAPIservices. Storage AllStorageProducts Cloud-basedstorageservicesforyourbusiness. CloudStorage Objectstoragethat’ssecure,durable,andscalable. Filestore Filestoragethatishighlyscalableandsecure. PersistentDisk BlockstorageforvirtualmachineinstancesrunningonGoogleCloud. CloudStorageforFirebase Objectstorageforstoringandservinguser-generatedcontent. LocalSSD Blockstoragethatislocallyattachedforhigh-performanceneeds. StorageTransferService Datatransfersfromonlineandon-premisessourcestoCloudStorage. GoogleWorkspaceEssentials Securevideomeetingsandmoderncollaborationforteams. Pricing close Savemoneywithourtransparentapproachtopricing GoogleCloud'spay-as-you-gopricingoffersautomaticsavingsbasedonmonthlyusageanddiscountedratesforprepaidresources.Contactustodaytogetaquote. Requestaquote GoogleCloud Pricingoverview Payonlyforwhatyouusewithnolock-in. Pricelist Getpricingdetailsforindividualproducts. Pricingcalculator Calculateyourcloudsavings. GoogleCloudFreeProgram $300infreecreditsand20+freeproducts. RelatedProducts GoogleWorkspace GoogleMapsPlatform ChromeEnterprise Apigee Looker Firebase Gettingstarted close GetstartedwithGoogleCloud Startbuildingrightawayonoursecure,intelligentplatform.Newcustomersget$300infreecreditstousetowardGoogleCloudproductsandservices. Getstartedforfree Self-serviceResources Getstarted GetstartedwithGoogleCloud. DeveloperCenter StayintheknowandbecomeanInnovator. GoogleCloudcertification Prepareandregisterforcertifications. Experthelpandtraining Consulting Partnerwithourexpertsoncloudprojects. TechnicalAccountManagement GetongoingguidancefromGoogle. Training Enrollinon-demandorclassroomtraining. Partnersandthird-partytools GoogleCloudpartners Explorebenefitsofworkingwithapartner. Becomeapartner JointhePartnerAdvantageprogram. GoogleCloudMarketplace Deployready-to-gosolutionsinafewclicks. Docs Support Docs Support Language English Deutsch Español–AméricaLatina Français Italiano Português–Brasil 中文–简体 日本語 한국어 Signin CloudVisionAPI Overview Guides Reference Samples Support Resources ContactUs Getstartedforfree WhyGoogle More Solutions More Products More Pricing More Gettingstarted More Docs Overview Guides Reference Samples Support Resources Support Console ContactUs Getstartedforfree VisionAPI Productoverview Featureslist Tryit! Quickstarts AllQuickstarts SetuptheVisionAPI Usingclientlibraries Usingthecommandline UsingAPIexplorer Samples AllVisionAPIcodesamples Allcodesamplesforallproducts How-toGuides AllHow-toguides Beforeyoubegin Opticalcharacterrecognition(OCR) DetecttextinimagesDetecthandwritinginimagesDetecttextinfiles(PDF/TIFF) Detectcrophints Detectfaces Detectimageproperties Detectlabels Detectlandmarks Detectlogos Detectmultipleobjects Detectexplicitcontent(SafeSearch) DetectWebentitiesandpages Batchfeaturedetection Images Batchimageannotationoffline Files(PDF/TIFF/GIF) SmallbatchfileannotationonlineDetecttextinfiles(PDF/TIFF) UsingVisionwithSpringframework Base64encode Restrictedaccess Celebrityrecognition Tutorials Alltutorials Textdetection(OCR)tutorial Densedocumenttextdetectiontutorial Translatingandspeakingtextfromaphoto Labeldetectioninteractivetutorial(console) Facedetectiontutorial Webdetectiontutorial Crophintstutorial Sampleapplications Searchcommunitytutorials Securitylogging Cloudauditlogs DiscoverwhyleadingbusinesseschooseGoogleCloud Learnmore Keybenefits Overview Multicloud Trustandsecurity Globalinfrastructure Datacloud Opencloud Sustainability Productivityandcollaboration Resources Events Blog Customerstories Analystreports IndustrySolutions Retail ConsumerPackagedGoods FinancialServices HealthcareandLifeSciences MediaandEntertainment Telecommunications Gaming Manufacturing SupplyChainandLogistics Government Education Seeallindustrysolutions Seeallsolutions ApplicationModernization HybridandMulti-cloudApplicationPlatform APIManagement ServerlessSolutions DevOps ContinuousDelivery(CD) ContinuousIntegration(CI) MainframeModernization CAMP Hosting SiteReliabilityEngineering(SRE) ArtificialIntelligence BuildanduseAI ContactCenterAI AgentAssist CloudTalentSolution DocumentAI LendingDocAI ProcurementDocAI Intelligentproducts DataScience ContractDocAI ContactCenterAIInsights APIsandApplications NewBusinessChannelsUsingAPIs UnlockingLegacyApplicationsUsingAPIs OpenBankingAPIx Databases DatabaseMigration DatabaseModernization GoogleCloudDatabases MigrateOracleworkloadstoGoogleCloud OpenSourceDatabases SQLServeronGoogleCloud DataCloud DatabasesSolutions SmartAnalyticsSolutions AISolutions DataCloudforISVs DataCloudAlliance DigitalTransformation DigitalInnovation OperationalEfficiency COVID-19Solutions COVID-19SolutionsfortheHealthcareIndustry InfrastructureModernization ApplicationMigration SAPonGoogleCloud HighPerformanceComputing WindowsonGoogleCloud DataCenterMigration ActiveAssist VirtualDesktops RapidAssessment&MigrationProgram(RAMP) BackupandDisasterRecovery ProductivityandCollaboration GoogleWorkspace GoogleWorkspaceEssentials CloudIdentity ChromeEnterprise CloudSearch Security SecurityAnalyticsandOperations WebAppandAPIProtection SecurityandResilienceFramework Riskandcomplianceascode(RCaC) SmartAnalytics DataWarehouseModernization DataLakeModernization SparkonGoogleCloud StreamAnalytics BusinessIntelligence DataScience MarketingAnalytics GeospatialAnalyticsandAI Datasets StartupsandSMB StartupSolutions StartupProgram SmallandMediumBusiness SoftwareasaService FeaturedProducts ComputeEngine CloudStorage CloudSDK CloudSQL GoogleKubernetesEngine BigQuery CloudCDN Dataflow Operations CloudRun Anthos Seeallproducts(100+) AIandMachineLearning VertexAI Speech-to-Text VisionAI Text-to-Speech CloudTranslation CloudNaturalLanguage AutoML VideoAI AIInfrastructure Dialogflow AutoMLTables SeeallAIandmachinelearningproducts APIManagement ApigeeAPIManagement ApigeeIntegration CloudHealthcareAPI AppSheet APIGateway Compute ComputeEngine AppEngine CloudGPUs MigrateforComputeEngine SpotVMs ShieldedVMs Sole-TenantNodes BareMetal Recommender VMwareEngine CloudRun Seeallcomputeproducts Containers GoogleKubernetesEngine ContainerRegistry ContainerSecurity CloudBuild DeepLearningContainers KubernetesApplications ArtifactRegistry Knative CloudRun CloudCode DataAnalytics BigQuery Looker Dataflow Pub/Sub Dataproc CloudDataFusion CloudComposer Dataprep Dataplex DataCatalog AnalyticsHub Seealldataanalyticsproducts Databases CloudBigtable Firestore Memorystore CloudSpanner CloudSQL DatabaseMigrationService BareMetalSolutionforOracle FirebaseRealtimeDatabase Datastream DeveloperTools ArtifactRegistry CloudBuild CloudCode CloudDeploymentManager gcloudCLI CloudScheduler CloudSourceRepositories CloudTasks GoogleCloudDeploy Tekton ToolsforPowerShell Seealldevelopertools HealthcareandLifeSciences ApigeeHealthcareAPIx CloudHealthcareAPI CloudLifeSciences HealthcareNaturalLanguageAI HybridandMulticloud Anthos Looker CloudRunforAnthos GoogleCloudMarketplaceforAnthos MigrateforAnthos Operations CloudBuild TrafficDirector ApigeeAPIManagement GoogleDistributedCloud InternetofThings CloudIoTCore EdgeTPU ManagementTools AnthosConfigManagement CarbonFootprint CloudAPIs Cloudconsole CloudMobileApp CloudShell ConfigConnector CostManagement IntelligentManagement PrivateCatalog TerraformonGoogleCloud MediaandGaming GameServers OpenCue TranscoderAPI Migration ApplicationMigration BigQueryDataTransferService CloudFoundationToolkit DatabaseMigrationService MigrateforAnthos MigrateforComputeEngine RapidAssessment&MigrationProgram(RAMP) TransferAppliance StorageTransferService VMwareEngine Networking CloudArmor CloudCDN CloudDNS CloudLoadBalancing CloudNAT HybridConnectivity NetworkConnectivityCenter NetworkIntelligenceCenter NetworkServiceTiers TrafficDirector Seeallnetworkingproducts Operations CloudLogging CloudMonitoring ErrorReporting KubernetesEngineMonitoring CloudTrace CloudProfiler CloudDebugger IntelligentOperations SecurityandIdentity CloudIAM AssuredWorkloads CloudKeyManagement ConfidentialComputing SecurityCommandCenter CloudDataLossPrevention ManagedServiceforMicrosoftActiveDirectory AccessTransparency TitanSecurityKey SecretManager BeyondCorpEnterprise Seeallsecurityandidentityproducts ServerlessComputing CloudRun CloudFunctions AppEngine Workflows Storage AllStorageProducts CloudStorage Filestore PersistentDisk CloudStorageforFirebase LocalSSD StorageTransferService GoogleWorkspaceEssentials Savemoneywithourtransparentapproachtopricing Requestaquote GoogleCloud Pricingoverview Pricelist Pricingcalculator GoogleCloudFreeProgram RelatedProducts GoogleWorkspace GoogleMapsPlatform ChromeEnterprise Apigee Looker Firebase GetstartedwithGoogleCloud Getstartedforfree Self-serviceResources Getstarted DeveloperCenter GoogleCloudcertification Experthelpandtraining Consulting TechnicalAccountManagement Training Partnersandthird-partytools GoogleCloudpartners Becomeapartner GoogleCloudMarketplace Home Docs CloudVisionAPI Documentation Guides Sendfeedback Facedetectiontutorial Objectives Inthissample,you'llusetheGoogleVisionAPItodetectfacesinan image.Toprovetoyourselfthatthefacesweredetectedcorrectly,you'llthen usethatdatatodrawaboxaroundeachface. ViewingCodeSamples:Mostofthecode samplesinthistutorialaretakenfromlargercodefileslocatedinGitHub. Youcanviewanddownloadthecompletefilefromwhichacodesampleistakenby clickingthe"ViewonGitHub"buttonprovidedaboveasample. Costs ThistutorialusesthefollowingbillablecomponentsofGoogleCloud: CloudVision Togenerateacostestimatebasedonyourprojectedusage, usethepricingcalculator. NewGoogleCloudusersmightbeeligibleforafreetrial. Beforeyoubegin SignintoyourGoogleCloudaccount.Ifyou'renewto GoogleCloud, createanaccounttoevaluatehowourproductsperformin real-worldscenarios.Newcustomersalsoget$300infreecreditsto run,test,anddeployworkloads. IntheGoogleCloudconsole,ontheprojectselectorpage, selectorcreateaGoogleCloudproject. Note:Ifyoudon'tplantokeepthe resourcesthatyoucreateinthisprocedure,createaprojectinsteadof selectinganexistingproject.Afteryoufinishthesesteps,youcan deletetheproject,removingallresourcesassociatedwiththeproject. Gotoprojectselector MakesurethatbillingisenabledforyourCloudproject.Learnhowto checkifbillingisenabledonaproject. EnabletheGoogleCloudVisionAPI. EnabletheAPI IntheGoogleCloudconsole,ontheprojectselectorpage, selectorcreateaGoogleCloudproject. Note:Ifyoudon'tplantokeepthe resourcesthatyoucreateinthisprocedure,createaprojectinsteadof selectinganexistingproject.Afteryoufinishthesesteps,youcan deletetheproject,removingallresourcesassociatedwiththeproject. Gotoprojectselector MakesurethatbillingisenabledforyourCloudproject.Learnhowto checkifbillingisenabledonaproject. EnabletheGoogleCloudVisionAPI. EnabletheAPI Setupyourenvironmentforusing ApplicationDefaultCredentials. Setuplanguage-specifictasksandtools: C# InstalltheGoogleClientLibrary InstallVisualStudio2012/2015. Java InstallJava. APIreference. Downloadandinstall theApacheMavenbuildsystem.Mavenwill ensurethattheGoogleAPIClientLibrary andtheVisionAPIclientlibrariesareinstalledwhentheprojectis built,becausewehaveincludedtheminthepom.xml. vision/face-detection/pom.xml ViewonGitHub com.google.apis google-api-services-vision v1-rev20220319-1.32.1 com.google.auth google-auth-library-oauth2-http 1.4.0 com.google.guava guava 31.0.1-jre com.google.http-client google-http-client-jackson2 1.41.7 ... Node.js InstalltheGoogleClientLibrary Installnode.js. APIreference. Installnpmand node-canvas.Thesamplecodeincludesa package.jsontoinstallalldependenciesusing thecommand:npminstall.Notethatnode-canvashasadditional dependenciesyoumayneedtoinstall-seethenode-canvasinstallation docformoreinformation. samples/package.json ViewonGitHub { "name":"nodejs-docs-samples-vision", "private":true, "license":"Apache-2.0", "author":"GoogleLLC", "engines":{ "node":">=10.17.0" }, "files":[ "*.js" ], "scripts":{ "test":"mochasystem-test--timeout600000" }, "dependencies":{ "@google-cloud/vision":"^2.4.2", "natural":"^5.0.0", "pureimage":"^0.3.0", "redis":"^4.0.0", "yargs":"^16.0.0" }, "devDependencies":{ "@google-cloud/storage":"^5.0.0", "chai":"^4.2.0", "mocha":"^8.0.0", "uuid":"^8.0.0" } } PHP InstalltheGoogleClientLibrary InstallPHPandComposer. APIreference. InstallandenableGDforPHP. Python InstalltheGoogleClientLibrary InstallPython. APIreference. Installpillow. Ruby InstalltheGoogleClientLibrary InstallRubyandBundler. APIreference. InstallImageMagick. Createtheserviceobject ToaccessGoogleAPIsusingtheofficialclientSDKs,youcreateaservice objectbasedontheAPI'sdiscoverydocument,whichdescribestheAPItothe SDK.You'llneedtofetchitfromtheVisionAPI'sdiscoveryservice,using yourcredentials: Java vision/face-detection/src/main/java/com/google/cloud/vision/samples/facedetect/FaceDetectApp.java ViewonGitHub importcom.google.api.client.googleapis.javanet.GoogleNetHttpTransport; importcom.google.api.client.json.JsonFactory; importcom.google.api.client.json.jackson2.JacksonFactory; importcom.google.api.services.vision.v1.Vision; importcom.google.api.services.vision.v1.VisionScopes; importcom.google.api.services.vision.v1.model.AnnotateImageRequest; importcom.google.api.services.vision.v1.model.AnnotateImageResponse; importcom.google.api.services.vision.v1.model.BatchAnnotateImagesRequest; importcom.google.api.services.vision.v1.model.BatchAnnotateImagesResponse; importcom.google.api.services.vision.v1.model.FaceAnnotation; importcom.google.api.services.vision.v1.model.Feature; importcom.google.api.services.vision.v1.model.Image; importcom.google.api.services.vision.v1.model.Vertex; importcom.google.auth.http.HttpCredentialsAdapter; importcom.google.auth.oauth2.GoogleCredentials; importcom.google.common.collect.ImmutableList; importjava.awt.BasicStroke; importjava.awt.Color; importjava.awt.Graphics2D; importjava.awt.Polygon; importjava.awt.image.BufferedImage; importjava.io.IOException; importjava.nio.file.Files; importjava.nio.file.Path; importjava.nio.file.Paths; importjava.security.GeneralSecurityException; importjava.util.List; importjavax.imageio.ImageIO; /**ConnectstotheVisionAPIusingApplicationDefaultCredentials.*/ publicstaticVisiongetVisionService()throwsIOException,GeneralSecurityException{ GoogleCredentialscredential= GoogleCredentials.getApplicationDefault().createScoped(VisionScopes.all()); JsonFactoryjsonFactory=JacksonFactory.getDefaultInstance(); returnnewVision.Builder( GoogleNetHttpTransport.newTrustedTransport(), jsonFactory, newHttpCredentialsAdapter(credential)) .setApplicationName(APPLICATION_NAME) .build(); } Node.js samples/faceDetection.js ViewonGitHub //Bydefault,theclientwillauthenticateusingtheserviceaccountfile //specifiedbytheGOOGLE_APPLICATION_CREDENTIALSenvironmentvariableanduse //theprojectspecifiedbytheGCLOUD_PROJECTenvironmentvariable.See //https://googlecloudplatform.github.io/gcloud-node/#/docs/google-cloud/latest/guides/authentication constvision=require('@google-cloud/vision'); //Createsaclient constclient=newvision.ImageAnnotatorClient(); constfs=require('fs'); Python samples/snippets/face_detection/faces.py ViewonGitHub fromgoogle.cloudimportvision fromPILimportImage,ImageDraw client=vision.ImageAnnotatorClient() Sendafacedetectionrequest ToconstructarequesttotheVisionAPI,firstconsulttheAPI documentation.Inthiscase,you'llbeaskingtheimagesresource toannotateyourimage.ArequesttothisAPItakestheformofanobjectwith arequestslist.Eachiteminthislistcontainstwobitsofinformation: Thebase64-encodedimagedata Alistoffeaturesyou'dlikeannotatedaboutthatimage. Forthisexample,you'llsimplyrequestFACE_DETECTIONannotationonone image,andreturntherelevantportionoftheresponse: Java vision/face-detection/src/main/java/com/google/cloud/vision/samples/facedetect/FaceDetectApp.java ViewonGitHub /**Getsupto{@codemaxResults}facesforanimagestoredat{@codepath}.*/ publicListdetectFaces(Pathpath,intmaxResults)throwsIOException{ byte[]data=Files.readAllBytes(path); AnnotateImageRequestrequest= newAnnotateImageRequest() .setImage(newImage().encodeContent(data)) .setFeatures( ImmutableList.of( newFeature().setType("FACE_DETECTION").setMaxResults(maxResults))); Vision.Images.Annotateannotate= vision .images() .annotate(newBatchAnnotateImagesRequest().setRequests(ImmutableList.of(request))); //Duetoabug:requeststoVisionAPIcontaininglargeimagesfailwhenGZipped. annotate.setDisableGZipContent(true); BatchAnnotateImagesResponsebatchResponse=annotate.execute(); assertbatchResponse.getResponses().size()==1; AnnotateImageResponseresponse=batchResponse.getResponses().get(0); if(response.getFaceAnnotations()==null){ thrownewIOException( response.getError()!=null ?response.getError().getMessage() :"Unknownerrorgettingimageannotations"); } returnresponse.getFaceAnnotations(); } Node.js samples/faceDetection.js ViewonGitHub asyncfunctiondetectFaces(inputFile){ //MakeacalltotheVisionAPItodetectthefaces constrequest={image:{source:{filename:inputFile}}}; constresults=awaitclient.faceDetection(request); constfaces=results[0].faceAnnotations; constnumFaces=faces.length; console.log(`Found${numFaces}face${numFaces===1?'':'s'}.`); returnfaces; } Python samples/snippets/face_detection/faces.py ViewonGitHub defdetect_face(face_file,max_results=4): """UsestheVisionAPItodetectfacesinthegivenfile. Args: face_file:Afile-likeobjectcontaininganimagewithfaces. Returns: AnarrayofFaceobjectswithinformationaboutthepicture. """ client=vision.ImageAnnotatorClient() content=face_file.read() image=vision.Image(content=content) returnclient.face_detection( image=image,max_results=max_results).face_annotations Processtheresponse Congratulations-you'vedetectedthefacesinyourimage!The responsetoourfaceannotationrequestincludesabunchof metadataaboutthedetectedfaces,whichincludecoordinates ofapolygonencompassingtheface.Atthispoint,though,this isonlyalistofnumbers.Let'susethemtoconfirmthatyouhave,infact, foundthefacesinyourimage.We'lldrawpolygonsontoacopyoftheimage, usingthecoordinatesreturnedbytheVisionAPI: Java vision/face-detection/src/main/java/com/google/cloud/vision/samples/facedetect/FaceDetectApp.java ViewonGitHub /**Readsimage{@codeinputPath}andwrites{@codeoutputPath}with{@codefaces}outlined.*/ privatestaticvoidwriteWithFaces(PathinputPath,PathoutputPath,Listfaces) throwsIOException{ BufferedImageimg=ImageIO.read(inputPath.toFile()); annotateWithFaces(img,faces); ImageIO.write(img,"jpg",outputPath.toFile()); } /**Annotatesanimage{@codeimg}withapolygonaroundeachfacein{@codefaces}.*/ publicstaticvoidannotateWithFaces(BufferedImageimg,Listfaces){ for(FaceAnnotationface:faces){ annotateWithFace(img,face); } } /**Annotatesanimage{@codeimg}withapolygondefinedby{@codeface}.*/ privatestaticvoidannotateWithFace(BufferedImageimg,FaceAnnotationface){ Graphics2Dgfx=img.createGraphics(); Polygonpoly=newPolygon(); for(Vertexvertex:face.getFdBoundingPoly().getVertices()){ poly.addPoint(vertex.getX(),vertex.getY()); } gfx.setStroke(newBasicStroke(5)); gfx.setColor(newColor(0x00ff00)); gfx.draw(poly); } Node.jsWeusethenode-canvaslibrarytodrawontoimages. samples/faceDetection.js ViewonGitHub asyncfunctionhighlightFaces(inputFile,faces,outputFile,PImage){ //Opentheoriginalimage conststream=fs.createReadStream(inputFile); letpromise; if(inputFile.match(/\.jpg$/)){ promise=PImage.decodeJPEGFromStream(stream); }elseif(inputFile.match(/\.png$/)){ promise=PImage.decodePNGFromStream(stream); }else{ thrownewError(`Unknownfilenameextension${inputFile}`); } constimg=awaitpromise; constcontext=img.getContext('2d'); context.drawImage(img,0,0,img.width,img.height,0,0); //Nowdrawboxesaroundallthefaces context.strokeStyle='rgba(0,255,0,0.8)'; context.lineWidth='5'; faces.forEach(face=>{ context.beginPath(); letorigX=0; letorigY=0; face.boundingPoly.vertices.forEach((bounds,i)=>{ if(i===0){ origX=bounds.x; origY=bounds.y; context.moveTo(bounds.x,bounds.y); }else{ context.lineTo(bounds.x,bounds.y); } }); context.lineTo(origX,origY); context.stroke(); }); //Writetheresulttoafile console.log(`Writingtofile${outputFile}`); constwriteStream=fs.createWriteStream(outputFile); awaitPImage.encodePNGToStream(img,writeStream); } Python samples/snippets/face_detection/faces.py ViewonGitHub defhighlight_faces(image,faces,output_filename): """Drawsapolygonaroundthefaces,thensavestooutput_filename. Args: image:afilecontainingtheimagewiththefaces. faces:alistoffacesfoundinthefile.Thisshouldbeintheformat returnedbytheVisionAPI. output_filename:thenameoftheimagefiletobecreated,wherethe faceshavepolygonsdrawnaroundthem. """ im=Image.open(image) draw=ImageDraw.Draw(im) #Sepecifythefont-familyandthefont-size forfaceinfaces: box=[(vertex.x,vertex.y) forvertexinface.bounding_poly.vertices] draw.line(box+[box[0]],width=5,fill='#00ff00') #Placetheconfidencevalue/scoreofthedetectedfacesabovethe #detectionboxintheoutputimage draw.text(((face.bounding_poly.vertices)[0].x, (face.bounding_poly.vertices)[0].y-30), str(format(face.detection_confidence,'.3f'))+'%', fill='#FF0000') im.save(output_filename) Putitalltogether Java vision/face-detection/src/main/java/com/google/cloud/vision/samples/facedetect/FaceDetectApp.java ViewonGitHub /**AnnotatesanimageusingtheVisionAPI.*/ publicstaticvoidmain(String[]args)throwsIOException,GeneralSecurityException{ if(args.length!=2){ System.err.println("Usage:"); System.err.printf( "\tjava%sinputImagePathoutputImagePath\n",FaceDetectApp.class.getCanonicalName()); System.exit(1); } PathinputPath=Paths.get(args[0]); PathoutputPath=Paths.get(args[1]); if(!outputPath.toString().toLowerCase().endsWith(".jpg")){ System.err.println("outputImagePathmusthavethefileextension'jpg'."); System.exit(1); } FaceDetectAppapp=newFaceDetectApp(getVisionService()); Listfaces=app.detectFaces(inputPath,MAX_RESULTS); System.out.printf("Found%dface%s\n",faces.size(),faces.size()==1?"":"s"); System.out.printf("Writingtofile%s\n",outputPath); app.writeWithFaces(inputPath,outputPath,faces); } ... Tobuildandrunthesample,runthefollowingcommandsfromthesamplecodedirectory: mvncleancompileassembly:single java-cptarget/vision-face-detection-1.0-SNAPSHOT-jar-with-dependencies.jar\ com.google.cloud.vision.samples.facedetect.FaceDetectApp\ data/face.jpg\ output.jpg Node.js samples/faceDetection.js ViewonGitHub asyncfunctionmain(inputFile,outputFile){ constPImage=require('pureimage'); outputFile=outputFile||'out.png'; constfaces=awaitdetectFaces(inputFile); console.log('Highlighting...'); awaithighlightFaces(inputFile,faces,outputFile,PImage); console.log('Finished!'); } Torunthesample,runthefollowingcommandfromthesamplecodedirectory: nodefaceDetectionresources/face.png Python samples/snippets/face_detection/faces.py ViewonGitHub defmain(input_filename,output_filename,max_results): withopen(input_filename,'rb')asimage: faces=detect_face(image,max_results) print('Found{}face{}'.format( len(faces),''iflen(faces)==1else's')) print('Writingtofile{}'.format(output_filename)) #Resetthefilepointer,sowecanreadthefileagain image.seek(0) highlight_faces(image,faces,output_filename) Cleanup ToavoidincurringchargestoyourGoogleCloudaccountfortheresourcesusedinthis tutorial,eitherdeletetheprojectthatcontainstheresources,orkeeptheprojectand deletetheindividualresources. Caution:Deletingaprojecthasthefollowingeffects: Everythingintheprojectisdeleted.Ifyouusedanexistingprojectfor thistutorial,whenyoudeleteit,youalsodeleteanyotherworkyou'vedoneintheproject. CustomprojectIDsarelost. Whenyoucreatedthisproject,youmighthavecreatedacustomprojectIDthatyouwanttousein thefuture.TopreservetheURLsthatusetheprojectID,suchasanappspot.com URL,deleteselectedresourcesinsidetheprojectinsteadofdeletingthewholeproject. Ifyouplantoexploremultipletutorialsandquickstarts,reusingprojectscanhelpyouavoid exceedingprojectquotalimits. IntheCloudconsole,gototheManageresourcespage. GotoManageresources Intheprojectlist,selecttheprojectthatyou wanttodelete,andthenclickDelete. Inthedialog,typetheprojectID,andthenclick Shutdowntodeletetheproject. Sendfeedback Exceptasotherwisenoted,thecontentofthispageislicensedundertheCreativeCommonsAttribution4.0License,andcodesamplesarelicensedundertheApache2.0License.Fordetails,seetheGoogleDevelopersSitePolicies.JavaisaregisteredtrademarkofOracleand/oritsaffiliates. Lastupdated2022-05-06UTC. [{ "type":"thumb-down", "id":"hardToUnderstand", "label":"Hardtounderstand" },{ "type":"thumb-down", "id":"incorrectInformationOrSampleCode", "label":"Incorrectinformationorsamplecode" },{ "type":"thumb-down", "id":"missingTheInformationSamplesINeed", "label":"Missingtheinformation/samplesIneed" },{ "type":"thumb-down", "id":"otherDown", "label":"Other" }] [{ "type":"thumb-up", "id":"easyToUnderstand", "label":"Easytounderstand" },{ "type":"thumb-up", "id":"solvedMyProblem", "label":"Solvedmyproblem" },{ "type":"thumb-up", "id":"otherUp", "label":"Other" }] Needtotellusmore? WhyGoogle ChoosingGoogleCloud Trustandsecurity Opencloud Multicloud Globalinfrastructure Customersandcasestudies Analystreports Whitepapers Blog Productsandpricing GoogleCloudpricing GoogleWorkspacepricing Seeallproducts Solutions Infrastructuremodernization Databases Applicationmodernization Smartanalytics ArtificialIntelligence Security Productivity&worktransformation Industrysolutions DevOpssolutions Smallbusinesssolutions Seeallsolutions Resources GoogleClouddocumentation GoogleCloudquickstarts GoogleCloudMarketplace Learnaboutcloudcomputing Support Codesamples CloudArchitectureCenter Training Certifications GoogleDevelopers GoogleCloudforStartups Systemstatus ReleaseNotes Engage Contactsales FindaPartner BecomeaPartner Events Podcasts DeveloperCenter PressCorner GoogleCloudonYouTube GoogleCloudTechonYouTube FollowonTwitter JoinUserResearch We'rehiring.JoinGoogleCloud! GoogleCloudCommunity CookieSettings AboutGoogle Privacy Siteterms GoogleCloudterms Carbonneutralsince2007 SignupfortheGoogleCloudnewsletter Subscribe Language English Deutsch Español–AméricaLatina Français Italiano Português–Brasil 中文–简体 日本語 한국어



請為這篇文章評分?