kezhang29 GitHub avatar

productivity-checker

kezhang29

一个个人项目,利用 NVIDIA Jetson 和 jetson-inference 训练 ResNet-18 模型,识别三种状态(睡觉、看手机、工作)以衡量工作效率。

Stars

3

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

暂无数据

最近更新

2026-07-30

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

该项目展示了嵌入式 AI 在自我监控分心行为中的实用价值,包含自定义数据采集流程,并在边缘硬件上完成部署。

适合谁使用

  • 对 Jetson 嵌入式视觉感兴趣的开发者
  • 希望自动追踪工作效率的个人
  • 学习模型训练与部署全流程的学生
  • 构建个人 AI 助手的爱好者

典型使用场景

  • 实时监控自己在工作还是分心
  • 作为在 Jetson 上训练自定义分类器的教学示例
  • 低成本注意力追踪系统的原型开发
  • 测试数据采集和模型迭代的工作流

项目优势

  • 从数据采集到推理的完整流程
  • 在边缘设备(Jetson Orin)上运行,保障隐私且延迟低
  • 采用轻量级 ResNet-18 模型,适合实时应用
  • 详细记录环境配置步骤,易于复现

使用前须知

  • 验证集与训练集过于相似,存在过拟合风险
  • 仅包含三种活动类别,不足以全面衡量工作效率
  • 需要特定 NVIDIA Jetson 硬件及 jetson-inference 环境

README 快速开始

productivity-checker

This project uses a model trained in jetson-inference to measure productivity levels when I'm working. Since I get distracted very easily when I should be doing work, I thought this project would be both a great learning experience and a way to solve a real world problem that I encounter on a daily basis.

Overview

This project uses a resnet-18 model which was trained on 3 classes, sleeping, looking at phone, and working. The dataset used a custom script located in script.py that takes multiple pictures on a camera feed, and saves them into a specified directory. The model is trained on this data and productivity levels are measured based on the confidence of the model's inference.

Classification Model

Model Summary

Model Metrics

Set up

  1. SSH into orin
  2. Install necessary packages
    sudo apt-get update
    sudo apt-get install -y git cmake build-essential libpython3-dev python3-pip python3-numpy
  3. Clone jetson-inference
    git clone --recursive --depth=1 https://github.com/dusty-nv/jetson-inference
  4. Update submodules
    git submodule update --init --recursive
  5. Remove npymath because of a compatibility issue
    sed -i 's/ npymath//g' python/bindings/CMakeLists.txt
    sed -i 's/ npymath//g' utils/python/bindings/CMakeLists.txt
  6. Install cmake
    mkdir build
    cd build
    cmake ../

Clone the repository: git clone git@github.com:kezhang29/productivity-checkers.git

Run the project: python3 model.py

Next Steps

  • The validation set resembles the training set too much, causing the steep jump in validation accuracy shown in tensorboard. Retraining with a more diverse dataset would improve model results.
  • Add more labels

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

vercel-labs
精选
vercel-labs GitHub avatar

scriptc

scriptc compiles ordinary TypeScript into small, fast native executables without needing Node.js, V8, or any JavaScript runtime in the binary.

开发者工具代码质量与构建
1,985
jamesob
精选
jamesob GitHub avatar

local-llm

A comprehensive guide for building and configuring a high-end local machine to run state-of-the-art LLMs, with detailed hardware choices, BIOS tuning, and Docker-based model serving.

AI 与机器学习大语言模型
1,660
mereyabdenbekuly-ctrl
精选
mereyabdenbekuly-ctrl GitHub avatar

clodex-ide

Clodex is an open-source, local-first agentic IDE that combines persistent AI tasks, code, terminal, browser, Git, models, memory, and governed execution in one Electron workspace, currently in technical preview.

AI 与机器学习AI 智能体
859