A brief introduction to facial detection with OpenCV.

Image for post
Image for post
Photo by visuals on Unsplash

In this article, we are going to implement a pre-trained TensorFlow face mask detection model originally developed by Hussain Mujtaba. Some of the code and TensorFlow model training information can be found in his article here.

Installing Packages

To begin, let’s go through some of the basics of OpenCV.

First, make a new directory for the project files. Inside of the directory, let’s make a virtual environment to download the necessary packages. If you do not have virtualenv you should run the first line of code, otherwise, skip the first line.

python3 -m pip install --user -U virtualenvpython3 -m virtualenv your_env 


Pattern matching and text manipulation from the terminal.

Image for post
Image for post
Photo by Markus Spiske on Unsplash

Sed is an early UNIX program meant to function as a non-interactive ‘stream editor’. It is one of the earliest programs to support the use of regular expressions for pattern matching, and has remained a popular for editing and filtering streams of text from the command line. In this article, I’m going to go through some of the basics, and provide some examples of what can be accomplished with basic sed programs.

There are many different versions of sed, with the most common being the BSD and GNU flavors. The BSD version…


A brief demonstration using python and pyautogui.

Image for post
Image for post
Photo by Aron Visuals on Unsplash

Tutorial Outline:

1) Download and install the necessary packages.

2 ) Generate all of the possible host codes.

3 ) Interact with the Zoom user interface using pyautogui/pyperclip/pynput.

4 ) Analyze the performance of the script.

In the late-2000’s, I spent more time than I care to admit playing Halo online. During this time I was exposed to (but did not participate in) the small but unavoidable modding community within the game. People who had found ways to cheat, or alter the game to either win or sometimes just to implement fun new features. One of the techniques used was “Standby” cheating, which was when software was used to block the internet connections of the players on the opposing team, send large amounts of information to their connections, and…


Image for post
Image for post
Photo by Luca Bravo on Unsplash

When I first started web scraping with BeautifulSoup4, I found that the most difficult hoop to jump through was pagination. Getting the elements from a static page seemed fairly straightforward — but what if the data I wanted was not on the initial page I loaded into my script? In this project we will try our hand at pagination using Selenium to cycle through the pages of an Amazon results page, and saving all of the data in a .jsonl file.

What is Selenium?

Selenium is an open-source browser automation tool, mainly used for testing web applications. It’s able to mimic user input…

Brendan Ferris

Student at Flatiron School

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store