Tutorials

How to target activities with a random camera

In this tutorial, we’ll show you how to adjust how we target an activity in the camera Freespace mode. 

This tutorial is part of a series on Freespace camera mode:

Part 1:  How to control random camera placement in scenes

Part 2: How to target objects with a random camera

Part 3 (this tutorial)How to target activities with a random camera

Step 1: Target an Activity

Make sure Freespace mode is selected in the Camera tab. Target an activity class present in Scene contents, as described in Tutorial Part 1.

Step 2: Target Menu

Click on the tile of a target object class and an option menu will appear. Here you can adjust: 

  • which specific part of the activity is targeted (actor’s body, face, tool…).
  • camera distance to the activity
  • whether the specific target is right at the image center or anywhere in the image

Note that these constraints will be combined with the ones in the Camera position section.

Step 3: Zoom on Target

Instead of specifying a camera-object distance, you can choose to automatically adjust camera parameters so that the target takes up a certain proportion of the image. Zoom can be greater than 100%. In that case, only a part of the target is visible in the image. 

Here, by targeting the Tool (laptop) and setting camera zoom, we adjust which proportion of the image is covered by the laptop’s bounding box.

Step 4: Object-centric camera position

In the Camera position tab, you can select “Object-centric” mode in order to set a view angle range instead of specifying a camera zone as minimum and maximum height. In this example, this batch is configured to generate top views of the target.

Fast, easy and affordable — on-demand synthetic datasets