This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import shutil | |
| import numpy as np | |
| import cv2 | |
| def main(): | |
| IMG_DIR = sys.argv[1] | |
| OUT_DIR = sys.argv[2] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import cv2 | |
| import numpy as np | |
| import colorsys | |
| import matplotlib.pyplot as plt | |
| import math | |
| from scipy import stats |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import cv2 | |
| import numpy as np | |
| import colorsys | |
| import matplotlib.pyplot as plt | |
| import math | |
| from scipy import stats | |
| import matplotlib.patches as patches |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import cv2 | |
| import numpy as np | |
| import colorsys | |
| import matplotlib.pyplot as plt | |
| import math | |
| def Lab_plt(IMG_DIR, p_title): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import shutil | |
| import numpy as np | |
| import cv2 | |
| def main(): | |
| IMG_DIR = sys.argv[1] | |
| OUT_DIR = sys.argv[2] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import cv2 | |
| import numpy as np | |
| import colorsys | |
| import matplotlib.pyplot as plt | |
| def hsv_plt(IMG_DIR, p_title): | |
| files = os.listdir(IMG_DIR) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import shutil | |
| import numpy as np | |
| import cv2 | |
| def main(): | |
| IMG_DIR = sys.argv[1] | |
| OUT_DIR = sys.argv[2] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import numpy as np | |
| import wave | |
| import struct | |
| import math | |
| import speech_recognition as sr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import cv2 | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import wave | |
| import scipy.signal as signal | |
| import colorsys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import cv2 | |
| import numpy as np | |
| import colorsys | |
| import matplotlib.pyplot as plt | |
| def hsv_av(img): | |
| r = int(np.mean(img[:,:,0])) |