class_docstr: Object detection reader for data tagged using Taggerine:
  https://github.com/tryolabs/taggerine/
class_docstr_tok: ["Object","detection","reader","for","data","tagged","using","Taggerine",":","https",":","\/\/github.com\/tryolabs\/taggerine\/"]
code: def __init__(self, data_dir, split, default_class=0, **kwargs):
      super(TaggerineReader, self).__init__(**kwargs)
      self._data_dir = data_dir
      self._split = split
      self._split_path = os.path.join(self._data_dir, self._split)
      self._default_class = default_class
  
      self.annotations = []
      # Find, read and "parse" annotations from files.
      self._read_annotations(self._split_path)
  
      self.errors = 0
      self.yielded_records = 0
  
file_path: luminoth/luminoth/tools/dataset/readers/object_detection/taggerine.py
imports: import collections
  import json
  import os
  import six
  import tensorflow
  from PIL import Image
  from luminoth.tools.dataset.readers import InvalidDataDirectory
  from luminoth.tools.dataset.readers.object_detection import ObjectDetectionReader
  from luminoth.utils.dataset import read_image
label_desc: Use image node_id 1 to create a new TaggerineReader object from inherited base classes: ObjectDetectionReader with example: obj = TaggerineReader(data_dir, split, default_class)