Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -57,6 +57,7 @@ while True: | ... | @@ -57,6 +57,7 @@ while True: |
57 | 57 | ||
58 | stack = np.hstack(frames) | 58 | stack = np.hstack(frames) |
59 | librosa.display.specshow(stack, fmax=4000) | 59 | librosa.display.specshow(stack, fmax=4000) |
60 | + # LOADED AT 'DB FOLDER' WHERE SPECTROGRAM IMAGE IS | ||
60 | plt.savefig('your save path' + '.jpg', dpi=300) | 61 | plt.savefig('your save path' + '.jpg', dpi=300) |
61 | prediction = model.predict([prepare('path where your image is')]) | 62 | prediction = model.predict([prepare('path where your image is')]) |
62 | print(CATEGORES[int(prediction[0][0])]) | 63 | print(CATEGORES[int(prediction[0][0])]) | ... | ... |
-
Please register or login to post a comment