class_docstr: Generate data for a custom CSV dataset.
  
  See https://github.com/fizyr/keras-retinanet#csv-datasets for more information.
class_docstr_tok: ["Generate","data","for","a","custom","CSV","dataset",".","See","https",":","\/\/github.com\/fizyr\/keras-retinanet","#","csv-datasets","for","more","information","."]
docstr: Load an image at the image_index.
          
docstr_tok: ["Load","an","image","at","the","image_index","."]
code: def load_image(self, image_index):
      """Load an image at the image_index."""
      return read_image_bgr(self.image_path(image_index))
  
imports: from .generator import Generator
  from ..utils.image import read_image_bgr
  import numpy
  from PIL import Image
  from six import raise_from
  import csv
  import sys
  import os.path
  from collections import OrderedDict
label_desc: Use image node_id 10 for calling the CSVGenerator obj's underlying member method code with example usage: obj.load_image(image_index) and returns: read_image_bgr