惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Privacy International News Feed
I
Intezer
T
Tenable Blog
S
Schneier on Security
Project Zero
Project Zero
G
GRAHAM CLULEY
酷 壳 – CoolShell
酷 壳 – CoolShell
小众软件
小众软件
Know Your Adversary
Know Your Adversary
博客园 - 司徒正美
The Cloudflare Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
N
News and Events Feed by Topic
博客园 - 叶小钗
宝玉的分享
宝玉的分享
L
LINUX DO - 热门话题
aimingoo的专栏
aimingoo的专栏
S
Secure Thoughts
Forbes - Security
Forbes - Security
T
The Exploit Database - CXSecurity.com
D
Darknet – Hacking Tools, Hacker News & Cyber Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 【当耐特】
罗磊的独立博客
IT之家
IT之家
H
Hacker News: Front Page
I
InfoQ
云风的 BLOG
云风的 BLOG
S
Security Affairs
M
MIT News - Artificial intelligence
GbyAI
GbyAI
Jina AI
Jina AI
Help Net Security
Help Net Security
Engineering at Meta
Engineering at Meta
大猫的无限游戏
大猫的无限游戏
Webroot Blog
Webroot Blog
L
Lohrmann on Cybersecurity
A
About on SuperTechFans
Attack and Defense Labs
Attack and Defense Labs
The Register - Security
The Register - Security
V
V2EX
G
Google Developers Blog
D
DataBreaches.Net
Apple Machine Learning Research
Apple Machine Learning Research
C
Cybersecurity and Infrastructure Security Agency CISA
J
Java Code Geeks
W
WeLiveSecurity
Cloudbric
Cloudbric
T
Tor Project blog

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor GitHub - GenAI-Gurus/awesome-eu-ai-act: Curated tools, official sources, OSS, templates, and guides for EU AI Act compliance. Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders How to Switch AI Chatbots and Why You Might Want To GitHub - MattMessinger1/agentic_refund_guardrail: Safe refund policy layer for AI agents — Python + TypeScript. Same behavior, shared tests. Adam/papers/emergent_values_whitepaper.md at master · strangeadvancedmarketing/Adam Ask HN: How do you stop playing 20 questions with your AI coding tools How far can automation and AI support psychotherapy? - @theU GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits A Mac Studio for Local AI — 6 Months Later A History of the Early Years of AI at the University of Edinburgh Why AI Coding Tools Still Feel Stuck on Localhost MSN AI Datacenters Are Becoming Strategic Targets twitter.com Penn Researchers Use AI to Surface Unreported GLP-1 Side Effects in Reddit Posts Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 AI models are terrible at betting on soccer—especially xAI Grok GitHub - xialeistudio/echoic GitHub - HimashaHerath/github-dev-wrapped: AI-powered weekly GitHub activity reports deployed to GitHub Pages GitHub - alejandrobalderas/claude-code-from-source: Architecture, patterns & internals of Anthropic's AI coding agent — reverse-engineered from source maps AI and Tech brief: Ireland ascendant GitHub - Titovilal/context0: Context0 - Never Surrender Training for a Marathon with an AI Coach: What Worked and What Didn't Cyber Pulse: Agentic Intel - Apps on Google Play I Built an AI PR Reviewer That Catches Bugs by Not Looking for Bugs Gen Z workers are so fearful AI will take their job they’re intentionally sabotaging their company’s AI rollout | Fortune How AI Is Reimagining the Game of Golf–For Both Players and Courses GitHub - nattergabriel/reseed: A CLI tool for managing and distributing agent skills across projects Is SVG the final frontier? My AI workflow evolved from prompts to a near-autonomous workflow MLSharp Help - 3DGS Viewer & Generator I put my cognitive field based AI's runtime on GitHub Is Numble the first AI-proof game? A3: Kubernetes for autonomous AI agent fleets | Emergent Principles Deepali Vyas ("The Elite Recruiter") GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Unionized ProPublica staff are on strike over AI, layoffs, and wages Unleashing the Advantage of Quantum AI We're heading for an AI-fueled 'dementia crisis,' brain scientist warns The AI-Assisted Breach of Mexico's Government Infrastructure [pdf] GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. MSN GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness We gave an AI a 3 year retail lease in SF and asked it to make a profit | Andon Labs AI Code is Hollowing Out Open Source, and Maintainers are Looking the Other Way What leaked "SteamGPT" files could mean for the PC gaming platform's use of AI AI is the boss at this retail store. What could go wrong? GitHub - Wuzu11517/agentic-proxy: Local proxy meant to help reduce With Drones, Geophysics and ArtificiaI Intelligence, Researchers Prepare to Do Battle Against Land Mines A Single Operator, Two AI Platforms, Nine Government Agencies: The Full Technical Report 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - inevolin/resume-cli: Hit Claude usage limits? Resume any AI coding session elsewhere. Switch tools at zero friction. GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. How to Build a Secure AI PR Reviewer with Claude, GitHub Actions, and JavaScript This Startup Wants You to Pay Up to Talk With AI Versions of Human Experts Intel Arc Pro B70 Brings 32GB VRAM to Local AI for $949 WordPress 7.0: The Good, the AI, and the Still Missing AI on the couch: Anthropic gives Claude 20 hours of psychiatry IatroBench: Pre-Registered Evidence of Iatrogenic Harm from AI Safety Measures AI Agents Know About Supabase. They Don't Always Use It Right. The history and future of AI at Google, with Sundar Pichai Inside an AI‑enabled device code phishing campaign How Meta Used AI to Map Tribal Knowledge in Large-Scale Data Pipelines AI for Systems: Using LLMs to Optimize Database Query Execution Forecasting the Economic Effects of AI Introducing Tinker: Play with AI, bring your ideas to life AI sheds light on an ancient gaming mystery People really hate AI but not as much as Iran—or Democrats | Fortune What is an AI Product Engineer? Phoebe Gates wants her $185 million AI startup to succeed with 'no ties to my privilege or my last name': 'I have a chip on my shoulder' | Fortune
GitHub - peterretief/biometric
2026-04-16 · via Hacker News - Newest: "AI"

📱 AI Tremor-Print: Biometric Identification System

A cutting-edge biometric identification system using smartphone magnetometer sensors and fine-tuned AI models to capture neuromuscular micro-tremors for individual identification.

Perfect for: Researchers, neuromuscular analysis, accessibility applications, and low-cost biometric authentication.


🎯 What is This?

This project demonstrates how to:

  • Capture hand tremors using a smartphone's magnetometer sensor
  • Extract biometric signatures from magnetic field variations
  • Train an AI model (DistilGPT2) to recognize individuals based on tremor patterns
  • Verify identity in real-time with sensor data

Key Innovation: Hand tremors are involuntary, reproducible, and unique to each person—making them ideal biometric markers!


🌟 Features

  • Low-Cost Hardware - Uses only a smartphone (no special equipment)
  • GPU Optimized - Works on consumer GPUs (2GB+ VRAM) or CPU
  • Real-time Verification - Identify individuals in seconds
  • Privacy-First - All processing done locally, no cloud dependence
  • Research-Ready - Includes full pipeline: data → training → testing
  • Well Documented - Comprehensive guides for setup and troubleshooting

📋 Project Components

Component Purpose File
Data Collection Record tremor data from sensors *_data.py
Feature Extraction Convert raw sensor data to biometric signatures conversion.py
AI Training Fine-tune DistilGPT2 on tremor patterns train.py
Verification Test model accuracy on unknown samples test_sensor.py

🚀 Quick Start

Total time: ~30 minutes (10 min setup + 20 min training)

# 1. Clone & Setup (5 min)
git clone https://github.com/peterretief/biometric.git
cd biometric
python3 -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt

# 2. Prepare Data (5 min)
# Place desk.csv, peter.csv, jason.csv in folder (or record new ones)
python conversion.py

# 3. Train Model (20 min)
python train.py

# 4. Test (1 min)
python test_sensor.py

Expected output:

File: desk.csv | Result: The device is on a stationary desk.
File: peter.csv | Result: The device is held by Peter.
File: jason.csv | Result: The device is held by Jason.

📁 Project Structure

biometric/
├── README.md              # This file
├── HOWTO.md              # Step-by-step setup guide
├── requirements.txt      # Python dependencies
├── .gitignore           # Exclude large files
│
├── train.py             # Main training script
├── conversion.py        # CSV → JSON feature extraction
├── test_sensor.py       # Model verification
├── gen_real_data.py     # Optional: generate test data
│
├── *.csv                # Sensor data files
│   ├── desk.csv         # Baseline (stationary)
│   ├── peter.csv        # Person A
│   └── jason.csv        # Person B
│
├── data.json            # Extracted features (auto-generated)
├── my_trained_model/    # Final trained model (auto-generated)
└── results/             # Training checkpoints (auto-generated)

🔧 Requirements

  • Python: 3.8+
  • GPU: Optional (CUDA 11.0+) — ~2GB VRAM minimum
  • Storage: ~500MB free (for models & data)
  • Time: ~20 minutes for training on GPU

📚 Documentation

  • HOWTO.md — Complete step-by-step guide for beginners
  • train.py — Inline comments explaining training logic
  • conversion.py — Feature extraction details

🔬 How It Works

Phase 1: Data Collection

  • Use Physics Toolbox Sensor Suite app on Android/iOS
  • Record 30 seconds of magnetometer data for each person
  • Save as CSV files (Bx, By, Bz magnetic field components)

Phase 2: Feature Extraction

  • Split 30-second recordings into 2-second windows
  • Calculate Noise (std) = tremor amplitude
  • Calculate Mean = grip orientation
  • Create JSON with instruction-response pairs

Phase 3: AI Training

  • Tokenize biometric signatures as text
  • Fine-tune DistilGPT2 for 50 epochs
  • Learn to map tremor patterns → person identity

Phase 4: Verification

  • Feed unknown sensor data to trained model
  • Model outputs predicted identity
  • Compare to ground truth

📊 Performance

Metric Expected Notes
Training Loss < 0.5 Error rate on training data
Accuracy > 90% Correct identifications
Inference Time < 1 sec Time to identify per sample
False Positive Rate < 5% Wrong identity identification

🛠️ Customization

Add More People

  1. Record new CSV files: alice.csv, bob.csv, etc.
  2. Edit conversion.py to include them
  3. Re-run: python conversion.py && python train.py

Change Model Size

In train.py, replace distilgpt2:

model_name = "gpt2"  # Larger, slower, more powerful

Adjust Training Duration

In train.py:

num_train_epochs=100  # Train longer for better accuracy

⚡ GPU Acceleration

Check GPU

python -c "import torch; print(torch.cuda.is_available())"

Install CUDA Support

pip install torch --index-url https://download.pytorch.org/whl/cu118

🐛 Troubleshooting

Issue Solution
ModuleNotFoundError Run pip install -r requirements.txt
Out of Memory (OOM) Reduce per_device_train_batch_size in train.py
No GPU CPU falls back automatically (slower)
Data not found Ensure *.csv files in project root
Poor accuracy Collect more data or increase epochs

See HOWTO.md for detailed troubleshooting.


📚 Medical/Clinical Context

This project is relevant for:

  • Neuromuscular Disorders - Detect changes in tremor patterns
  • Parkinson's Disease Monitoring - Track motor control progression
  • Accessibility Tech - Alternative biometric for those with limitations
  • Rehabilitation - Monitor recovery through tremor analysis

Key insight: Standard deviation of magnetic field ≈ Power Spectral Density (PSD) of tremor frequencies, making smartphone sensors viable for clinical applications.


📜 License

MIT License — Use freely for research, education, and commercial projects.

Copyright (c) 2024-2026 Peter Retief

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction...

🤝 Contributing

Have improvements? Found a bug? Want to add features?

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/your-idea
  3. Commit changes: git commit -m "Add feature description"
  4. Push to branch: git push origin feature/your-idea
  5. Open a Pull Request

📞 Support

  • Questions? Open an Issue
  • Bug report? Include error message + steps to reproduce
  • Feature request? Describe use case and expected behavior

🎓 Learning Resources

  • Transformers Library Documentation - For model fine-tuning details
  • Medical journals - Search for "tremor analysis" and "accelerometer biometrics"
  • Smartphone sensor calibration - Research your phone's magnetometer specifications

🚀 Next Steps

  1. Read HOWTO.md for detailed setup instructions
  2. Collect sensor data using Physics Toolbox app
  3. Run training and verify accuracy
  4. Customize for your use case

Let's build the future of biometric authentication! 🎯


Author: Peter Retief
Last Updated: April 2026
Repository: https://github.com/peterretief/biometric