code: def extract_exif(self):
          '''
          Extract a list of exif infos
          '''
          width, height = self.extract_image_size()
          make, model = self.extract_make(), self.extract_model()
          orientation = self.extract_orientation()
          geo = self.extract_geo()
          capture = self.extract_capture_time()
          direction = self.extract_direction()
          d = {
              'width': width,
              'height': height,
              'orientation': orientation,
              'direction': direction,
              'make': make,
              'model': model,
              'capture_time': capture
          }
          d['gps'] = geo
          return f extract_exif(self):
          '''
          Extract a list of exif infos
          '''
          width, height = self.extract_image_size()
          make, model = self.extract_make(), self.extract_model()
          orientation = self.extract_orientation()
          geo = self.extract_geo()
          capture = self.extract_capture_time()
          direction = self.extract_direction()
          d = {
              'width': width,
              'height': height,
              'orientation': orientation,
              'direction': direction,
              'make': make,
              'model': model,
              'capture_time': capture
          }
          d['gps'] = geo
          return d
docs: Extract a list of exif infos