docstr: Prepare samples as a list.
  
  Args:
  sample_folder: complete path for samples' folder.
  return: a list of samples with dir.
docstr_tok: ["Prepare","samples","as","a","list",".","Args",":","sample_folder",":","complete","path","for","samples","'","folder",".","return",":","a","list","of","samples","with","dir","."]
code: def _get_sample_list(self, sample_folder):
      """
      Prepare samples as a list.
  
      Args:
      sample_folder: complete path for samples' folder.
      return: a list of samples with dir.
      """
      sample_list = []
      filenames = os.listdir(sample_folder)
      for filename in filenames:
          file_path = os.path.join(sample_folder, filename)
          img = cv2.imread(file_path)
          sample_list.append((file_path, img))
  
      return sample_list
  
imports: from __future__ import division
  from __future__ import print_function
  from builtins import input
  from builtins import range
  from builtins import object
  from past.utils import old_div
  from abc import ABCMeta
  from abc import abstractmethod
  import numpy
  import cv2
  import os
  import xmltodict
  import pdb
  from future.utils import with_metaclass
label_desc: Use image node_id 9 for calling the ODD_logic obj's underlying member method code with example usage: obj._get_sample_list(sample_folder) and returns: sample_list