main.py
def savePhoto(self):
		""" This function will save the image """
		_image,Part,Zone = ocr.main(self.image)
		self.filename = Part+'_'+Zone+'_'+str(time.strftime("%Y-%b-%d_%H_%M_%S"))+'.jpg'
		cv2.imwrite(os.path.join(saveDir, self.filename),_image,[int(cv2.IMWRITE_JPEG_QUALITY), 100])
		print('Image saved as:',self.filename)
 This function will save the image 
This function will save the image
This function will save the image
def savePhoto(self):
		_image,Part,Zone = ocr.main(self.image)
		self.filename = Part+'_'+Zone+'_'+str(time.strftime("%Y-%b-%d_%H_%M_%S"))+'.jpg'
		cv2.imwrite(os.path.join(saveDir, self.filename),_image,[int(cv2.IMWRITE_JPEG_QUALITY), 100])
		print('Image saved as:',self.filename)
def savePhoto ( self ) : _image , Part , Zone = ocr . main ( self . image ) self . filename = Part + '_' + Zone + '_' + str ( time . strftime ( "%Y-%b-%d_%H_%M_%S" ) ) + '.jpg' cv2 . imwrite ( os . path . join ( saveDir , self . filename ) , _image , [ int ( cv2 . IMWRITE_JPEG_QUALITY ) , 100 ] ) print ( 'Image saved as:' , self . filename )
This function will save the image
This function will save the image
""" This function will save the image """
self