class_docstr: Helper class for writing individual video frames.
class_docstr_tok: ["Helper","class","for","writing","individual","video","frames","."]
code: def __init__(self, output_dir):
      self.output_dir = output_dir
      self._counter = 0
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  from tensor2tensor.layers import common_layers
  from tensor2tensor.utils import contrib
  import tensorflow.compat.v1
  from tensorflow.python.ops import summary_op_util
label_desc: Use image node_id 1 to create a new IndividualFrameWriter object from inherited base classes: VideoWriter with example: obj = IndividualFrameWriter(output_dir)