Skip to main content

Super Phone Jail

  • July 19, 2026
  • 3 replies
  • 46 views

Super Phone Jail is a program that protects you from the social media addiction, specifically from picking up your phone while you work on the computer.

We all have the problem of social media adiction and it can make us feel really bad when we are on the computer and we randomly pick up the phone and waste half an hour without noticing. 

Think about it, the corporations that run social media have unlimited money and the best engineers to hack your brain, and so they do… Until now, because Super Phone Jail keeps you away from your phone by recording your working session with a cheap camera and detecting if you grab your phone using AI on the edge. The algorithm comprises 3 ML models. The first one detects your skeleton using a YOLO so that we can know if you are on camera and if you are grabbing something. The second one detects the phone. The third model detects the gaze (where you are looking). By smartly ensembling the results of the three models we obtain a very clear result of if you are distracted or not by your phone. If the user is distracted by the phone, an LED flashes 

Challenges: while there is support in the Axelera SDK for standard object detection as well as pose estimation, there isn’t to my knowledge support for gaze estimation. That is fine, because I believe that with the help of Axeleras agent and one month of time I could potentially add support for this new task! The current plan is to use MobileGaze which uses operations fully supported by Axelera’s chip.

I'll build the whole pipeline with Voyager Wingman: it generates and wires the three models, helps me compile MobileGaze onto the Metis card, and lets me iterate live on the hardware until it works. Here is the prompt:

$ THE PROMPT $

Alright Wingman, special objective. I'm building a warden that catches me picking up my phone while I work, and it all has to run on the Metis card, with nothing leaving the box. Let's build it as a three-model cascade. I want to walk through each stage live on the hardware.

Stage 1: The skeleton

Run a YOLO pose model on the full webcam frame. I need two things from it:

- The person's wrist keypoints, with confidence scores, so I can tell whether a hand is reaching for something.
- The head keypoints (eyes, nose, and ears), with confidence scores, which I'll use to crop the face for Stage 3 so I don't need a separate face detector.

Stage 2: The phone

Run a COCO object detector on the same frame, filtered to only the cell phone class. Return the phone's bounding box and confidence score.

Then determine whether the phone is actually in a hand by checking the proximity of the wrist keypoints to the phone bounding box. A phone lying on the desk should not trigger a positive result.

Stage 3: The gaze

This model is not in the model zoo. I'm providing MobileGaze, a lightweight MobileNet-backbone gaze estimator, as an ONNX file using opset 17.

Compile it for the Metis datapath and report clearly:

- Which layers, if any, fall back to the host.
- Any unsupported operations or other issues that could prevent clean execution.

Before making any assumptions, ask me for:

- The MobileGaze input shape.
- The gaze-bin geometry, if the model outputs angle bins.

Crop the face using the Stage 1 head keypoints, then feed the crop into MobileGaze. Return gaze pitch and yaw.

If the model outputs angle bins instead of direct angles, perform the softmax-expectation decoding on the host rather than the AIPU.

The compiler strips preprocessing, so explicitly define the face-crop resize and normalization steps as pipeline operators.

Verdict

Combine the three signals into a single boolean verdict.

Mark me as distracted when:

- The phone is in my hand; or
- My gaze is angled downward and away from the screen, toward the phone's location.

Ideally, both signals should agree.

Add a temporal threshold or cooldown so that a brief two-second glance does not trigger a conviction. The distracted state should require sustained evidence.

Consequence

When the verdict changes to distracted, flash an LED. Implement this as a simple GPIO or serial trigger from the final event so it can later be replaced with another output device.

Walk me through each stage as we build it on the device. Also estimate the frame rate I can expect while running all three models together.


ILLUSTRATION:


This is the hardware sequel to Phone Jail (https://github.com/ehxuban11/vercel-hackathon), which won 2nd place at the Vercel London hackathon.

3 replies

Spanner
Axelera Team
Forum|alt.badge.img+3
  • Axelera Team
  • July 20, 2026

I’m right with you on this one! I’ve been aware of how pernicious smartphones are for quite a while now (big fan of Doug Rushkoff’s podcast!) and coincidentally, I actually bought a flip phone last week!

I’ve been reading a lot about Dumbphone 2, and DumbOS, and the Enough Phone that was recently announced, and all the work people have been putting into creating a phone that isn’t intended to addict you to it.

One of my biggest concerns in life right now is that on their deathbed, no one is ever going to say, “I wish I’d spent more time on my phone.” 😅 And yet we dedicate enough time to those damn things to fit a whole second job in. And it’s all compounded by the fact that you pretty much need one now just to function in society. Yuck!

So I love this. The fact is, we need properly retraining to get back off the phones. Will power alone won’t cut it - not when you’re up against mega corporations who are throwing a constant barrage of Las Vegas slot machine psychology at you 24 hours a day.

We all need something like this!


  • Author
  • July 20, 2026

Hello ​@Spanner , we are so aligned on everything. I was not aware of DumbOS, I will take a look at it. Thanks!


Spanner
Axelera Team
Forum|alt.badge.img+3
  • Axelera Team
  • July 20, 2026

Sorry, DumberOS, I mean. I think it was developed for the Qin F22 Pro and a couple of similar candy bar style phones, to give them a bit more use, while still helping people to make the break from a huge smartphone.

https://github.com/miki151/dumberos_build

Seems like it’s gaining popularity, so hopefully it’ll spread to a few more devices soon.