class_docstr: An example image iterator using opencv plugin
class_docstr_tok: ["An","example","image","iterator","using","opencv","plugin"]
code: def __init__(self, root, flist, batch_size, size, mean=None):
      mx.io.DataIter.__init__(self)
      self.root = root
      self.list = [line.strip() for line in open(flist).readlines()]
      self.cur = 0
      self.batch_size = batch_size
      self.size = size
      if mean is not None:
          self.mean = mx.nd.array(mean)
      else:
          self.mean = None
  
file_path: mxnet/plugin/opencv/opencv.py
imports: import random
  import ctypes
  import cv2
  import mxnet
  from mxnet.base import _LIB
  from mxnet.base import mx_uint, NDArrayHandle, check_call
label_desc: Use image node_id 1 to create a new ImageListIter object from inherited base classes: mx.io with example: obj = ImageListIter(root, flist, batch_size, size, mean)