class_docstr: Actor is a box moving in 2d space
code: def __init__(
      self,
      color=None,
      max_omega: float = 0.05,
      miss_prob: float = 0.1,
      det_err_sigma: float = 1.0,
      canvas_size: int = 400,
  ):
      self.max_omega = max_omega
      self.miss_prob = miss_prob
      self.det_err_sigma = det_err_sigma
      self.canvas_size = canvas_size
  
      # randomize size
      self.width = random.randint(50, 120)
      self.height = random.randint(50, 120)
  
      # randomize motion
      self.omega_x = random.uniform(-self.max_omega, self.max_omega)
      self.omega_y = random.uniform(-self.max_omega, self.max_omega)
      self.fi_x = random.randint(-180, 180)
      self.fi_y = random.randint(-90, 90)
  
      # let's treat color as a kind of feature
      if color is None:
          self.color = get_color(Actor.color_i)
          Actor.color_i += 1
  
      self.disappear_steps = 0
  
file_path: norfair/demos/reid/src/video_generator.py
imports: import math
  import random
  import cv2
  import numpy
  from utils import collision_detected, get_color
  from norfair import Detection
label_desc: Use image node_id 1 to create a new Actor object  with example: obj = Actor(color, max_omega, miss_prob, det_err_sigma, canvas_size)