Posts

Puppy sleep/wake classifier for security camera

Image
Motivation:   Asleep I wake up at a consistent time every morning to take my puppy out of her play pen / crate and give her breakfast. However, sometimes after late nights of work I prefer to sleep in a little if possible, and sometimes my puppy is not awake at the early hours of the morning. If I can time my alarm to match when my puppy wakes up, I may be able to get some more sleep. Solution:  Using a security camera and a ML model, I can classify whether my puppy is asleep or awake, then send this information to an iPhone app that wakes me up if necessary. Awake Progress:   So far I have completed the data collection and training of the model. In total, I collected and manually labeled 1137 photos using a script that retrieves photos from the security camera. I then trained a CNN (transfer learning using ResNet-50).  These are the bootstrap 95% confidence intervals of key metrics: Accuracy: 0.951 to 0.991 AUROC:  0.988 to 0.9996 F1 Score: 0.934 to 0.988 ...

Hearts card game AI agent

Image
 Hearts Agent using an MDP model https://www.youtube.com/watch?v=0AItpwiVFnU

Using convolutional neural network to classify bacterial vs fungal keratitis from images

Image
Final project for CS229 (Machine Learning) at Stanford

Andante: Music therapy device for gait impairments

Image
  Capstone project for ME170 Kevin Supakkul, Melissa Marable, Bradley Immel, Nicole Salz Project Goal: Create music from the movement of cerebral palsy patients to encourage gait improvement. Background: Cerebral palsy (CP) is a neurological condition that affects approximately 764,000 people in the United States. People with spastic CP commonly experience gait disorders of stiff-knee gait and flex-knee gait. Project Motivation: Current therapies for spastic CP are provided at most 2-3 times per week for an hour. This is a relatively low-dose frequency and thus requires a long period of time to actually generate improvement in gait behavior. Additionally, therapies are sometimes not motivating for CP individuals, which can lead to less desire to engage in beneficial exercises. Problem Statement: Develop a mechatronic device that generates music from gait movement, specifically focusing on musical implementations that can benefit those with spastic CP. High Priority Requirements: G...

Robotic mail delivery for autonomous vehicles

Image
  Video link:  https://www.youtube.com/watch?v=3RRNnR1ZjW8 Code:  https://github.com/kevsup/cs225a Diagrams and slides:  https://github.com/kevsup/cs225a/blob/master/Mailbot_slides.pdf Written report:  https://github.com/kevsup/cs225a/blob/master/Mailbot_written_report.pdf

Table Tennis Robot 2.0

Image
 Improved version of table tennis robot (remote controlled) video demo:  https://www.youtube.com/watch?v=lboppyumF8w source code:  https://github.com/kevsup/pingpong Breakdown of engineering disciplines:

Table Tennis Robot 1.0

Image
Table Tennis Robot 1.0 This is a personal project that I have wanted to make for a long time and finally had some time to do so this Summer. The idea is to build a small robot that can launch table tennis balls one by one with either topspin or backspin, at either the forehand or backhand.  It uses skills related to mechanical/mechatronic design and control systems.  I have not completed it yet, but here is a chronological progress update via photos/video ( edit from 2020 : I scrapped the original prototype and built a new robot) One of the early sketches An early CAD model in SolidWorks The assembled 3D-printed parts If you are interested in making your own, reach out to me (kev.supakkul@gmail.com) and I can give a detailed step-by-step process of how to make it.  Here is a list of materials: Arduino Uno (or any other microcontroller) with USB cable  2x uxcell 4300 rpm 12V DC motor with encoder (I have only bought one so...