python 令人大爱的想必是其简单的语法 方便快捷的开发速度及大量 精美好用的第三方包。
今天我们来谈谈 python 对除文本之外的数据的处理方式
1.对图片的处理
对图片的处理 不得不提 opencv 和 PIL,
opencv-python
PIL
face_recognition
pylab
bokeh
matplotlib
https://www.urlteam.org/2017/09/%E7%9B%AE%E6%A0%87%E6%A3%80%E6%B5%8B%E9%A2%86%E5%9F%9F%E7%AC%94%E8%AE%B0%E4%B8%80%EF%BC%9A%E5%9B%9B%E7%A7%8D%E7%AE%97%E6%B3%95%E5%85%A5%E9%97%A8%E4%B8%8E%E4%BC%98%E7%BC%BA%E5%AF%B9%E6%AF%94/
2.对声音的处理
librosa
http://librosa.github.io/librosa/
brew install portaudio
pip install pyaudio
pyaudio
http://people.csail.mit.edu/hubert/pyaudio/
https://www.ptorch.com/news/84.html
wave
https://docs.python.org/3/library/wave.html
pyAudioAnalysis
https://github.com/tyiannak/pyAudioAnalysis
http://files.cnblogs.com/files/xingshansi/python_pyAudioAnalysis.pdf
https://github.com/hmmlearn/hmmlearn
https://ffmpeg.zeranoe.com/builds/
pyhub
https://github.com/jiaaro/pydub
pydub需要依赖 libav或者ffmpeg 二选一
brew install libav --with-libvorbis --with-sdl --with-theora
pip install pyhub
brew install libav --with-libvorbis --with-sdl --with-theora
将所有依赖都安装上~~
brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis--with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools --with-fdk-aac --with-freetype --with-ffplay --with-ffplay --with-freetype --with-frei0r --with-libass --with-libbluray --with-libcaca --with-libquvi --with-libvidstab --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-openssl --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools --with-x265
https://github.com/luyishisi/python_yuyinduihua/blob/b1e5af8db39f50d0a3a4891e901a01c3645f7669/README.md
https://www.urlteam.org/2016/05/python%E8%AF%AD%E9%9F%B3%E6%99%BA%E8%83%BD%E5%AF%B9%E8%AF%9D%E8%81%8A%E5%A4%A9%E6%9C%BA%E5%99%A8%E4%BA%BA%EF%BC%8Clinux%E6%A0%91%E8%8E%93%E6%B4%BE%E5%8F%8C%E5%B9%B3%E5%8F%B0%E5%85%BC%E5%AE%B9/
https://blog.csdn.net/skywalkervvv/article/details/41685687?utm_source=tuicool
https://www.cnblogs.com/lotusto/p/5812684.html
听歌识曲
https://blog.csdn.net/reeky127/article/details/50163857
https://blog.csdn.net/Marksinoberg/article/details/71577704
https://www.cnblogs.com/chuxiuhong/p/6063602.html
https://stackoverflow.com/questions/10733903/pyaudio-input-overflowed
data = stream.read(chunk, exception_on_overflow = False)
3.对 影像的处理
youtube-dl
https://github.com/rg3/youtube-dl
常用的包 pyvideo
https://github.com/pyvideo/pyvideo
moviepy
https://github.com/Zulko/moviepy
[DeepVideoAnalytics]
https://github.com/AKSHAYUBHAT/DeepVideoAnalytics