Finished adding all data from directory, updated readme

This commit is contained in:
2026-02-05 14:07:56 -06:00
parent bf0b3ea217
commit cf0f1146bf
2 changed files with 19 additions and 33 deletions

View File

@@ -1,7 +1,7 @@
# Purpose
Run knn on audio data which has been converted to images to find similar audio clips
## Ffmpeg preporcessing command
## Ffmpeg preporcessing command to create spectrogram image
`for %f in (*.wav) do ffmpeg -y -i "%f" -ar 44100 -lavfi "showspectrumpic=s=256x256:scale=log:legend=0" "img\%~nf.png"`
## stb_image.h
@@ -11,6 +11,6 @@ Used for gathering the image data
`clang src/main.c -Iexternal -O2 -o soundknn.exe`
### Todo
- Load all images from directory
- Do knn algorithm
- Use opencl to accelerate algorithm execution
- [x] Load all images from directory
- [ ] Do knn algorithm
- [ ] Use opencl to accelerate algorithm execution