class_docstr: Fake PiCamera Class
class_docstr_tok: ["Fake","PiCamera","Class"]
docstr: Fake `capture_continuous` that yields numpy frames as fake Frame object
docstr_tok: ["Fake","`","capture_continuous","`","that","yields","numpy","frames","as","fake","Frame","object"]
code: def capture_continuous(
      self,
      output,
      format=None,
      use_video_port=False,
      resize=None,
      splitter_port=0,
      burst=False,
      bayer=False,
      **options,
  ):
      """
      Fake `capture_continuous` that yields numpy frames as fake Frame object
      """
      num = 0
      if not (self.create_bug is None) and isinstance(
          self.create_bug, str
      ):
          raise RuntimeError("Fake Error")
      while self.running:
          # generate 10 frames
          frames_data = self.array_data(size=self.resolution[::-1])
          if num > 1 and not (self.create_bug is None):
              if isinstance(self.create_bug, bool):
                  # throw fake error
                  raise RuntimeError("PiCamera Class Fake-Error")
              elif isinstance(self.create_bug, int):
                  # emulates frozen threads
                  logger.debug(
                      "Setting sleep for {} seconds".format(
                          self.create_bug
                      )
                  )
                  time.sleep(self.create_bug)
                  self.create_bug = 0
              else:
                  pass
              num = 0
          else:
              num += 1
          for frame in frames_data:
              # yield frames
              if not self.running:
                  break
              yield Frame(frame)
  
imports: import time
  import numpy
  import logging
label_desc: Use image node_id 7 for calling the PiCamera obj's underlying member method code with example usage: obj.capture_continuous(output, format, use_video_port, resize, splitter_port, burst, bayer) without return types