class_docstr: Fake PiCamera Class
class_docstr_tok: ["Fake","PiCamera","Class"]
docstr: Generate 10 numpy frames with random pixels
docstr_tok: ["Generate","10","numpy","frames","with","random","pixels"]
code: def array_data(self, size, frame_num=10):
      """
      Generate 10 numpy frames with random pixels
      """
      np.random.seed(0)
      random_data = (
          np.random.random(size=(frame_num, size[0], size[1], 3)) * 255
      )
      return random_data.astype(np.uint8)
  
imports: import time
  import numpy
  import logging
label_desc: Use image node_id 6 for calling the PiCamera obj's underlying member method code with example usage: obj.array_data(size, frame_num) and returns: random_data