English日本語한국어

Yiwu Hongda Garment Factory
义乌市弘达服装厂

Apparel · Bags · Pet Wear · 20+ Years of Professional Manufacturing
服装·箱包·宠物服装 专业生产厂家 20+年经验

👜 箱包 · 服装店铺 / Bags & Apparel1688 工厂店 · 小额批发 · 定制下单 → 🐾 宠物服装店铺 / Pet Wear1688 宠物服饰专营 · 来图定制 →

How We Built an AI Driver Safety System with Old Phones (For Under $50)

2026-09-24 · Post 10 · A Real Case / English

TL;DR: We're a small bag factory in Yiwu, China. Our truck makes a 120km round trip every day between our warehouse and factory. We built an AI driver safety system using old smartphones that detects vehicles, pedestrians, e-bikes, and bicycles ahead — plus lane departure warnings and driver fatigue detection. Everything runs completely offline. Total hardware cost: basically zero.

The Problem: A Daily 120km Drive We Can't Avoid

Like many factories in Zhejiang, we have our warehouse in Yiwu (the world's wholesale capital) and our production facility about 60km away in Longyou, Quzhou. Every single day, our truck makes the round trip:

That's 120 kilometers and roughly 3 hours of driving every day, on county roads, highways, and busy urban streets. Our driver does this five or six days a week.

We noticed two big problems:

  1. Fatigue — After a long day of loading and unloading plus driving, attention drops. A moment of drowsiness can be catastrophic.
  2. Urban hazards — On county roads and in towns, e-bikes and bicycles appear suddenly from side streets. Pedestrians cross unpredictably. Delivery scooters dart in and out of traffic.

We looked at commercial driver-assistance systems. The ones with collision warnings and lane departure start at $300-500 per vehicle, plus installation and subscription fees. For a small factory like ours, that's a lot of money for one truck.

The Idea: What If We Used Old Phones?

We had a drawer full of old Android phones — previous company phones, personal upgrades, test devices. Most still work perfectly fine; they're just slow by today's standards or have cracked screens.

We realized something: even a 3-4 year old phone has a better camera and more processing power than the dashboard cameras and basic ADAS units you can buy.

So we asked ourselves: could we turn these old phones into an AI driver safety system?

What We Built

We developed an Android app called "Guardian" that runs entirely on a phone mounted on the dashboard. It uses the phone's camera and runs AI models locally — no internet connection required.

🔍 Forward Collision Warning

Using the YOLO (You Only Look Once) object detection model, the system continuously scans the road ahead and identifies:

When something gets too close, the app speaks an alert in real-time: "Vehicle ahead, please keep a safe distance" or "Pedestrian detected ahead."

🛣️ Lane Departure Warning

The app uses computer vision to detect lane markings on the road. If the truck drifts out of its lane without a turn signal — a classic sign of driver drowsiness or distraction — it alerts immediately: "Vehicle drifting left, please correct steering" or "Vehicle drifting right, please correct steering."

😴 Driver Fatigue Detection

Using the phone's front-facing camera (when the phone is mounted properly), the app monitors the driver's face for signs of fatigue:

When fatigue is detected, it plays a loud alert sound and voice warning to help the driver stay alert or decide to take a break.

📹 Dual-Mode Dashcam

It also functions as a full dashcam, continuously recording the road ahead. If there's an incident, we have the footage — just like any commercial dashcam, but with AI features on top.

120km
Daily round trip
$0
Hardware cost
100%
Offline operation
2
Cameras (front + driver)

How It Performs on Our Route

We've been running this system on our daily route for several weeks now. Here's what we've found:

What works really well:

Limitations we've found:

"At first I thought it would be annoying — another thing beeping at me. But after a week, I got used to it. There were a couple of times with e-bikes coming out of side streets where the alert came before I even saw them. That's worth it right there."
— Our truck driver, Mr. Wang

What This Cost Us

Here's the best part:

Total cost: under $10. Even if you had to buy a used phone for $40-50, it's still dramatically cheaper than any commercial system.

Why We're Sharing This

We're a factory, not a tech company. We built this because we needed it ourselves, and we think many other small factories, logistics companies, and individual truck drivers could benefit from the same idea.

The key insight is simple: old smartphones are incredibly capable computers that most people throw away or leave in a drawer. With the right software, they can do jobs that used to require expensive specialized hardware.

For other factory owners or logistics managers reading this:

  1. Look in your desk drawer — Chances are you have old phones that could be repurposed.
  2. Start small — Try it on one truck first. See if it helps before scaling.
  3. Manage expectations — This is a driver assistance tool, not a safety guarantee. It adds a layer of protection, but an alert driver is still the most important safety feature.

Next Steps

We're continuing to improve the system. Some things we're working on:

Final Thoughts

As a small factory, we're always looking for ways to improve safety and efficiency without breaking the bank. This AI driver safety system is a perfect example of what's possible when you combine everyday hardware with modern AI tools.

Is it as good as a $1000 commercial ADAS system? No. But for a tiny fraction of the cost, it gives us real, tangible safety benefits on a route our driver travels every single day.

For us, that's a no-brainer.

Have you built something similar for your factory or fleet? We'd love to hear about it — drop us a line through our contact page.

#AI #DriverSafety #FactoryOperations #OldPhoneReuse #YOLO #ChinaFactory #Logistics #RoadSafety
← Back to Articles