Making an audio wave based on an image.
The volume of sound is based on the average brightness of row of pixels and the colors decide what piano note will be played.
Open CV - An image processing library in python for reading image.
pydub - pydub is a Python library to work with only . wav files.
simpleAudio - another cross-platform library that's made for playing back WAV files.
pip install pydub
pip install opencv-python
pip install simpleaudioImport the required image in the same folder rename it as "image.jpg".
Run the code :)