Category: Python
-
Tensorflow Object Detection API – Custom Image Classification — Can I detect if a painting is a nativity painting?
Can I teach an AI model using Tensorflow Object Detection API, how to identify the theme of a painting? The only way to find out is by trying! And I think you might be surprised by the outcome of this experiment. But, I am going to narrow down my problem. I want to identify if […]
-
Read CSV File using Python pandas.read_csv() and write to CSV file using pandas.write_csv()
Reading a CSV with Python and the panda library, from a file is a very simple, and something that you are likely going to have to do many times during your career as a data scientist. As an example lets read an image dataset I gathered of all the paintings I could find about the […]
-
Getting Cloudflare IPS with Python – Quick recipe
This is a very quick article to show how you can fetch Cloudflare IPS via HTTPS using Python, for use in your Python build scripts, for instance, if you are trying to protect a website with Cloudflare and you want the webserver only to accept Cloudflare IPs. It is not as easy as you might […]
-
Creating a Wildlife Camera With a Raspberry PI, Python OpenCV and Tensorflow
I am a great believer that for you to learn, you need to create. And to create you need to have fun! First I want to give you a background on why I am trying to build a wildlife camera with a Raspberry Pi. I live in London and my garden gets visited often by local […]
-
How to create a 3D model of a photo using Python, NumPy and Google Colab — Part I
I recently recorded a four-part video series for my Youtube channel on how I attempted to create a 3D model out of a photo, using Python, Numpy, and Google Colab. For this programming, I relied on the Numpy STL library which can create 3D models using “simple” Numpy arrays. Why I did it I am […]
-
Python for Beginners — Booleans
Is it True or False that in Python or any other programming language Booleans are the most important thing you will learn? If True:then you must read this article to learn more about Booleans. Else:then leave immediately and read something else. Let’s debug the code above. Premise) Booleans are the most important language constructs in Python or any other programming language. […]
-
Python for Beginners — Lists
Lists are the single most used data structure in Python. It is crucial that you learn it well, as lists are used pretty much everywhere in Python programs that you will come across. If there is a topic in Python you will want to spend time on, List is the ONE What is a list? A list […]
-
Python Automation — Smart Home — Using my smart lights to alert me about the weather when I wake up
In this article I will show you how I improved my life, using Smart Lights, Python and a Raspberry pi. I am going to make a Smart Light from Yeelight predict the weather so I know exactly what to wear for the day ahead. It is a pain whenever I go out of the house […]