Google Object Detection

Google Object Detection detects objects, faces, and landmarks using Google Vision. The service detects objects within images and returns the Metadata of objects contained in the image. For example, if a person is present in the image, tags may include facial features, such as nose, ear, lip, etc. The service checks whether the image contains offensive material and can be labeled as Adult, Racy, Violence, or Medical with a certain degree of confidence.

Consider the example below of a blonde woman. The object is identified as a “Person” and a list of Tag items is returned.

The image provided is deemed not to be offensive, with the imaged being labeled with the following degrees of certainty.

Furthermore, Face Detection tries to detect Emotions with a certain degree of confidence. In this case, joy is deemed to be the overwhelming emotion shown with a degree of “Very Likely”. The other emotions are detected with a degree of “Very Unlikely”.

Supported Content Types

  • Images
  • Pdf

If you need to use a different type of content, you can use the AIForged Pdf Converter.

Possible use cases

  • Detect faces and estimate the age of a person.
  • Detect emotions and ages on faces.
  • Identify the setting/nature of a picture.
  • Determine whether an image can contain offensive material.
  • Get a count of similar objects (e.g. counting cars).

Service Setup

  1. Open the Project Detail View of the project you would like to add the service to.
  2. Click on the Add Service button in the command bar.
  3. Select the Google Object Detection Service.

  4. A new Service Configuration Wizard will open:
    (When navigating the Wizard, please make sure to use the Next Step button in the command bar to save any changes made).

  • Step 1 - Service Config (Displays the service setting, you can change it as required).
  • Click the “Next” Action in the Action Bar to save the Service.
  • Step 2 - Verification. No verification required.

Service Configuration Settings

The Microsoft OCR Service can be configured by the user as a flexible solution. The following Settings are available:

SettingTypeRequired TypeDescription
ArchivingStrategyOptionalDays before documents get deleted.
AccessKeyOptionalOverride the Access Key to the configured Microsoft cloud service.
BaseURLOptionalOverride the URL to the configured Microsoft cloud service.
BatchSizeHiddenProcessing batch size.
DocumentProcessedStatusOptionalDocument status used to denote that a document has been processed.
EnabledHiddenEnable or disable the service.
ExecuteBeforeProcessWhen set up as a child service, specify whether this service should be executed before the parent service gets executed.
ExecuteAfterProcessWhen set up as a child service, specify whether this service should be executed after the parent service gets executed.
LanguageOptionalHint at the language to use when performing OCR.
PasswordOptionalUsed for service authentication. Custom Code can be used to set the password. Can be set per document.
RemoveCommentsOptionalRemove human comments from a document.

Add and Process Documents

  1. In the Google Object Detection Service click on Inbox button.
  2. Select the Status you want to upload and use Status None or Received for new documents that have not been processed yet.
  3. Select an optional category if you know the category for the document, if you don’t want to select one just click on “No selection”.
  4. Find the files on your Local machine and upload them. The demo’s test files can be found at the following link: Click here
  5. After all the documents have been uploaded you can check the documents to be processed, click on “Processed Checked” to process the documents.

It is recommended to only process a few documents at a time, especially if it is a new service to properly test if you receive the results you want before processing everything.

View Processed Documents

  1. In the Google Object Detection Service click on Outbox button.
  2. You can view your Processing results by opening a processed doc for verification.