Webcam Eye Tracker: Deep Learning with PyTorch

So far we have extracted webcam features and collected coordinate data. Now we can use that dataset to create our deep learning model with PyTorch. The following models and analyses were conducted in a Jupyter notebook, which can be found here. The problem we have is basically bounding box regression, but simplified to only 2 … Read moreWebcam Eye Tracker: Deep Learning with PyTorch

Webcam Eye Tracker: Data Collection of Screen Coordinates

In the previous post we extracted a number of facial features from our webcam image. Now, we need a way to get the “labels”. So, we need to develop a semi-efficient data collection method to get our X-Y coordinate data. As this project is a learning project at its core, I wanted to come up … Read moreWebcam Eye Tracker: Data Collection of Screen Coordinates

Webcam Eye Tracker: Webcam Features and Face Detection

Now that we have a general overview of the project, the first step in creating our eye tracker is getting video from the webcam. Following that, we need to perform face detection, alignment, and calculate various features from that video stream. Webcam video We’ll start by creating a Detector that uses OpenCV to retrieve frames … Read moreWebcam Eye Tracker: Webcam Features and Face Detection

Webcam Eye Tracker: An End-to-end Deep Learning Project

Recently, I wanted to learn PyTorch and needed to find a project to help focus my learning. I have always been interested in the idea of creating a webcam eye tracker, so that seemed like a good project for this. Eye trackers typically rely on infrared for accurate tracking, but performing the same task using … Read moreWebcam Eye Tracker: An End-to-end Deep Learning Project

Rise of Kingdoms: Saving gold keys

Here it is. The answer to the age-old question. The question that shows up at least once a day on Reddit and Discord: “should I save my gold keys and open them all at once?”. The assumption being that opening gold keys together in a batch gives more/better rewards than opening them one at a … Read moreRise of Kingdoms: Saving gold keys

Rise of Kingdoms: Show Your Love Event

In a previous post I discussed the point requirements of the last holiday event (Valentine’s Day – Pledge of Thorns). Here, I will do the same analysis with the new holiday event (Show Your Love) to confirm those findings. I’ll be drawing comparisons between the two events throughout. The supporting code and data for this … Read moreRise of Kingdoms: Show Your Love Event

Rise of Kingdoms: Holiday Events

Rise of Kingdoms holiday events come around every few months. The last one involved collecting ornaments for the Christmas tree, and the current Valentine’s Day event requires collection of roses. Using a rose gives you points, and you need a certain number of points to complete the event. We know how many points are needed … Read moreRise of Kingdoms: Holiday Events

Rise of Kingdoms: Commander Pairings

Rise of Kingdoms (iOS, Android) has many possible primary/secondary commander pairings, some of which are amazing, while others are absolutely terrible. Tier lists for commander pairings have been discussed by many people on YouTube, but I wanted to find a way to condense the information in those lengthy videos into a more digestible form. The … Read moreRise of Kingdoms: Commander Pairings

Overwatch Data Visualization

In a previous post I talked about an Overwatch dataset I’ve been collecting from my ranked games. Before running any statistical analysis on the Overwatch data, it is usually a good idea to explore and visualize the dataset. This helps us get a general sense of data patterns, which can help generate hypotheses that can … Read moreOverwatch Data Visualization