  
  from lib.keypress import KBHit
  from lib.multithreading import MultiThread
  from lib.queue_manager import queue_manager
  from lib.utils import (get_folder, get_image_paths, set_system_verbosity)
  from plugins.plugin_loader import PluginLoader
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
 
</s> remove from lib.utils import (camel_case_split, get_folder, get_image_paths,
 </s> add from lib.utils import (camel_case_split, cv2_read_img, get_folder, get_image_paths, </s> remove from lib.utils import _image_extensions, _video_extensions, hash_image_file, hash_encode_image
 </s> add from lib.utils import (_image_extensions, _video_extensions, cv2_read_img, hash_image_file,
                       hash_encode_image)
from lib.utils import cv2_read_img, get_folder, get_image_paths, set_system_verbosity
  
  from lib.keypress import KBHit
  from lib.multithreading import MultiThread
  from lib.queue_manager import queue_manager
from lib.utils import cv2_read_img, get_folder, get_image_paths, set_system_verbosity
  from plugins.plugin_loader import PluginLoader
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
keep keep keep keep replace keep keep keep keep keep
 Centralize cv2 image reading and handle bad filenames 
scripts/train.py