Smart speakers are everywhere. But could we design a smart speaker to talk to us with our own voice, or that of a person we know?
Category: python
Setting Up a Python Programming Environment
Want to learn how to setup a programming environment for Python using open source tools? Then read on! Over the last 20 years or so I have drifted in and out of different Python programming fads. In hindsight, it is clear there is no "default" setup. Folks stumble accidentally into different configurations, post about it, … Continue reading Setting Up a Python Programming Environment
Logging a Python App to journald
So I thought logging in Python would be easy. You start logging to the command line then when that gets too much you log to a file. A bit of me still feels logging to a file in the app directory is the easiest set up. But various articles on the Internet say file logging … Continue reading Logging a Python App to journald
Getting Frames from YouTube
YouTube has a wealth of data but often you don't feel like downloading it all to disk. How can we stream video to python and then access the frame data?
Running Scripts at Startup
And other Linux delights. Often there is a need to configure processes to start on startup and to restart on failure. On Linux systems this process is controlled via the systemd init system and system manager. Now, as with most things Linux, there are a lot of sources of information out there. Several of them … Continue reading Running Scripts at Startup
Effortless NLP with spaCy
I've loved spaCy for a long time but I've only just got my head around how you can structure a text processing pipeline to take full advantage of its power.
Playing Around With VR & AI
I have an Oculus Quest 2. It's really fun. Experiencing things in VR is a completely different experience to standard 2D screens. So how do I start building fun things to experience in VR? Most of my backend programming is performed in Python. This is the home of TensorFlow, Keras, PyTorch, SciKit Learn, OpenCV etc. … Continue reading Playing Around With VR & AI
Easy Audio/Video Capture with Python
It's difficult to obtain audio/video data in Python. You just want a numpy array but how do you get this? This post presents a number of Python classes to address this issue.
Making Proper Histograms with Numpy and Matplotlib
How do you build proper histograms in Python?
Capturing Live Audio and Video in Python
In my robotics projects I want to capture live audio and video data in Python. To save you several days, this blog post explains how I go about doing this.