2014104094
......@@ -57,6 +57,7 @@ while True:
stack = np.hstack(frames)
librosa.display.specshow(stack, fmax=4000)
# LOADED AT 'DB FOLDER' WHERE SPECTROGRAM IMAGE IS
plt.savefig('your save path' + '.jpg', dpi=300)
prediction = model.predict([prepare('path where your image is')])
print(CATEGORES[int(prediction[0][0])])
......
'''
https://m.blog.naver.com/PostView.nhn?blogId=jiwon6928&logNo=221185628702&proxyReferer=https:%2F%2Fwww.google.com%2F
'''
from PIL import Image, ImageDraw
import hcluster
import numpy as np
......
'''
https://m.blog.naver.com/PostView.nhn?blogId=jiwon6928&logNo=221185628702&proxyReferer=https:%2F%2Fwww.google.com%2F
'''
from itertools import combinations
import numpy as np
import math
......