Webcam Eye Tracker: Eye Tracking Video Games

Now that we have a working predictive model, we can deploy it to a simple application to test how well the eye tracker works. The plan is three-fold: Create a Predictor class that can load a trained model and make predictions Add a “tracking” mode to the data collector as a quick way to test … Read moreWebcam Eye Tracker: Eye Tracking Video Games

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: Talent Builder

We all know it’s difficult to play around with talents in Rise of Kingdoms (RoK) because of the gem cost for talent resets. So, I spent the last little while working on an online Rise of Kingdoms talent builder where you can create, tweak, and share talent builds without worrying about talent resets. Here is … Read moreRise of Kingdoms: Talent Builder

Rise of Kingdoms: Equipment Calculator

I have a long history of playing RPG games, where min-maxing and character planning were a huge part of the appeal. With the recent release of the equipment system in Rise of Kingdoms, I figured it might be useful to create an equipment calculator/planner. The goal was to create a system where you could mix … Read moreRise of Kingdoms: Equipment Calculator

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: Master’s Blueprints

In order to unlock Tier 5 research in Rise of Kingdoms you need a level 25 Academy. However, the upgrade to Academy level 25 has a number of nested building requirements, with the majority of those buildings needing a Master’s Blueprint. So, what is the minimum number of Master’s Blueprints required to unlock Tier 5 … Read moreRise of Kingdoms: Master’s Blueprints