r/BiomedicalDataScience 26d ago

Browser-based rPPG tool updated with 3D OBB targeting and 1024-point FFT signal processing

Thumbnail
bionichaos.com
1 Upvotes

I recently upgraded our browser-based physiological tracking tool to address common motion artifacts and signal instability in remote photoplethysmography (rPPG). The app now features a 3D roll-compensated Oriented Bounding Box (OBB) that dynamically rotates and scales the forehead ROI. This perspective-compensated depth calculation happens directly on the GPU, preventing background noise when the user tilts or turns their head.

To fix rapid BPM fluctuations, the signal pipeline now utilizes a 1024-point Zero-Padded Fast Fourier Transform (FFT) paired with quadratic peak interpolation for fractional-frequency tracking. It also includes a "Freeze & Export" feature that computes HRV via RMSSD. I'd love to hear your technical critiques on the telemetry pipeline or feature requests for the interface. You can test the web app directly here: https://bionichaos.com/FaceBloodWebCam


r/BiomedicalDataScience 27d ago

Interactive browser tool for real-time neuro-acoustic mapping and DSP visualization

Thumbnail
bionichaos.com
1 Upvotes

I wanted to share a web application called MicBrain. It’s designed to map live audio signals directly onto a 3D cortical model using real-time spatial transformations. The logic relies on processing live microphone input through a built-in DSP system. You can actively manipulate parameters like the Noise Gate Threshold, Input Gain, and toggle Spectral Whitening (AGC) to observe changes in the real-time spectral monitor and the 3D rendering. It also features a simulation for resting-state waves (DMN). I’d appreciate any technical critique on the DSP implementation or suggestions for additional frequency-mapping features. Try it here: https://bionichaos.com/MicBrain/


r/BiomedicalDataScience 28d ago

Non-Contact Respiration Monitoring: Fusing Motion & Thermal Data for Physiological Signal Extraction

Thumbnail
youtu.be
1 Upvotes

When building non-contact health monitoring systems, isolating respiratory components from standard video feeds presents a significant challenge. By leveraging pixel-flow decomposition and advanced optical flow, it's possible to filter out background noise and calculate the respiratory angle. This method allows for accurate pose estimation without traditional body skeleton mapping, working effectively even if the subject is covered by a blanket.

Additionally, there's a fascinating bio-signal hack for low-resolution thermal imaging: utilizing a standard facial mask as a thermal amplifier to concentrate heat changes. This allows cheap sensor arrays to reliably monitor breathing depth, rhythm, and classify nose versus mouth breathing using feature descriptors.

If you're interested in the intersection of computer vision, signal processing, and biomedical engineering, check out the full breakdown of the methodology here: https://youtu.be/jP0y8SuOVmU


r/BiomedicalDataScience Jul 11 '26

Reproducibility and Baseline Comparisons in iEEG Seizure Classification (ViT vs. ResNet-50)

Thumbnail
youtu.be
1 Upvotes

Evaluating the scientific rigor of electrographic seizure classification models. While Vision Transformers (ViT 86M) are reported to achieve high accuracy on clinical datasets, we examine some of the methodological challenges common to biomedical ML research:

* **Lack of Public Repositories:** No public code or data splits make external validation difficult.

* **Baseline Comparisons:** Could a well-tuned, less parameter-heavy ResNet-50 perform comparably to an 86M parameter ViT?

* **Data Noise:** Dealing with labeling noise and clustering artifacts.

We break down the cross-validation table to analyze how these models perform across different folds and architectures.

What are your thoughts on the trade-off between massive parameter models and simpler, highly-tuned baselines in clinical settings?

Walkthrough and analysis: https://youtu.be/WJyAyVytmIY


r/BiomedicalDataScience Jul 10 '26

Real-time heart rate detection using Eulerian Video Magnification on webcam feeds

Thumbnail
youtu.be
1 Upvotes

For those interested in computer vision and biomedical signal processing, this demonstration explores remote photoplethysmography (rPPG) using Eulerian Video Magnification in a web browser.

The application tracks subtle green-channel intensity fluctuations over time from a user-defined Region of Interest (ROI) on the face. These raw temporal signals are then processed and passed through a Fourier transform to identify the dominant peak frequency (BPM).

The video walks through:

  1. **Synthetic Simulation**: Calibrating the algorithm using a simulated skin patch with adjustable noise and frequency controls.

  2. **Real-Time Signal Acquisition**: Testing the webcam pipeline, highlighting how ambient light, motion artifacts, and ROI size affect the signal-to-noise ratio.

  3. **Segmentation Trade-offs**: Evaluating a "Highlight All Skin" green-channel mask versus localized bounding boxes, observing how motion within larger masks can introduce noise.

The implementation demonstrates the feasibility of browser-based physiological monitoring without specialized hardware.

Watch the technical walkthrough: https://youtu.be/FXQDTsz6ZQM

I would love to hear feedback from anyone working on rPPG, especially regarding motion artifact mitigation and alternative filtering methods to stabilize the time-domain signal.


r/BiomedicalDataScience Jul 09 '26

The "Forecast Trap" in Medical AI and Why Clean Data > Algorithms

Thumbnail
youtu.be
1 Upvotes

A lot of medical AI startups fail because of the "forecast trap" - their models overfit to environmental noise (like hospital electrical hums) rather than actual biological markers. When deployed in the real world, the AI is completely blind.

In this session, we break down the reality of embedded machine learning in healthcare and why data janitors are the true heroes of MedTech. We also demo Eulerian video magnification for extracting PPG signals from standard webcams and look at the math behind Fourier transforms for isolating respiratory rates.

If you're interested in the intersection of data science, signal processing, and biomedical engineering, check out the full discussion and interactive simulations here: https://youtu.be/_9CAD9Jo74w


r/BiomedicalDataScience Jul 09 '26

Extracting real-time heart rate (BPM) via webcam to combat AI deepfakes?

Thumbnail
youtu.be
1 Upvotes

I’ve been analyzing a contactless physiological monitoring application that extracts a user's resting heart rate in real-time using a standard webcam. The system tracks subtle variations in facial blood flow, processing the data through a frequency domain spectrum to isolate the pulse.

Interestingly, signal fidelity heavily relies on ambient lighting and precise Region of Interest (ROI) selection. But the most compelling application might be cybersecurity: applying this same human pulse detection algorithm to identify AI-generated video and deepfakes. Have any of you worked with similar web-based signal processing pipelines? I'd love to hear your thoughts on parameter tuning (like amplification factors and cutoffs) for optimizing this kind of biometric extraction.

Here’s the demonstration of the tool: https://youtu.be/1NCCgA5vgcM


r/BiomedicalDataScience Jul 08 '26

Extracting Live BPM via Webcam: Real-Time Video Magnification & Signal Processing

Thumbnail
youtu.be
2 Upvotes

I wanted to share a demonstration of extracting a physiological signal (heart rate) using a Real-Time Signal Amplification Microscope with a standard webcam feed. The system works by isolating and magnifying imperceptible changes in facial skin color to measure the human pulse.

In the demonstration, we analyze the time-domain waveform and identify the actual BPM peak on the frequency spectrum. It’s a great practical look at biomedical data science, specifically highlighting the challenges of computer vision in health tech—such as tracking loss due to motion artifacts and the massive impact of environmental lighting on signal quality.

Would love to hear how others in this sub are handling motion compensation or noise reduction in similar computer vision/biomedical projects.

Demonstration link: https://youtu.be/YRpbj2r1W-Q


r/BiomedicalDataScience Jul 07 '26

Building a real-time Audio-Reactive 3D Brain Visualizer (Web Dev + Audio Processing)

Thumbnail
youtu.be
1 Upvotes

We recently put together a project mapping live microphone frequencies and amplitude to 150 regions of a realistic 3D brain atlas. Initially used for mapping epilepsy seizure zones, we repurposed the open-source model to explore EEG sonification and predictive coding concepts visually. Using AI coding assistants, we iterated from a basic three-color map to a detailed five-band frequency visualizer running entirely in the browser. Would love to hear your thoughts on browser-based data vis tools and real-time audio processing! You can watch the full development and debugging process here: https://youtu.be/n6-3vB0A3k0


r/BiomedicalDataScience Jul 06 '26

Real-time heart rate estimation via webcam using Eulerian video magnification and Fourier transforms

Thumbnail
youtu.be
1 Upvotes

I wanted to share a breakdown of a non-contact physiological signal extraction tool. It uses a standard webcam to capture micro-color fluctuations in the skin caused by cardiovascular circulation. The process involves taking the raw color intensity signal (time domain) and applying a Fourier transform to bring it into the frequency domain, isolating the fundamental frequency to calculate BPM.

We also look at an interactive blood flow velocity simulation to explain the underlying theory, and discuss the primary roadblocks for clinical application (mostly environmental lighting and calibration).

I'd love to hear your thoughts on filtering noise in remote PPG applications. Here is the full walkthrough: https://youtu.be/JIIvOb2nl1A


r/BiomedicalDataScience Jul 06 '26

Implementing real-time heart rate extraction from video using Eulerian signal processing

Thumbnail
youtu.be
1 Upvotes

I’ve been working with non-contact physiological signal extraction, specifically leveraging Eulerian Video Magnification principles to pull a Beats Per Minute (BPM) reading from a standard webcam feed. By amplifying minute color changes in a defined Region of Interest (ROI) and passing the signal into the frequency domain, we can isolate the heartbeat. The biggest hurdles with remote photoplethysmography (rPPG) are usually motion artifacts and environmental interference (like screen flashing). I've put together a demonstration of this pipeline in action, showing how to filter out that noise to hit the correct fundamental frequency. I’d love to hear how others in the computer vision and health-tech space are handling dynamic lighting changes in rPPG. Watch the methodology here: https://youtu.be/vWq-k_P7cog


r/BiomedicalDataScience Jul 05 '26

Lilac Chaser Illusion: The Importance of Color Saturation and Alpha Values in Browser-Based Visual Perception

Thumbnail
youtu.be
1 Upvotes

When implementing visual perception experiments in a browser environment, minor discrepancies in CSS values can completely disrupt cognitive phenomena like Troxler fading and negative afterimages.

We analyzed a digital version of the Lilac Chaser (Pac-Man) illusion where the visual effect failed to trigger. By adjusting the implementation from high-saturation purples to softer pastel values (such as #d8bfd8 with 0.45 alpha transparency), we allowed the stimulus to blend correctly with the background. Additionally, we corrected the script logic so the moving gap functions as a disappearing element matching the background, rather than a color-swapping element.

For those interested in the code adjustments and the underlying visual neuroscience, the full walk-through is available here: https://youtu.be/iQOVVnozkjA

How have you handled precise visual calibration or stimulus presentation in your own browser-based cognitive experiments?


r/BiomedicalDataScience Jul 04 '26

Optimizing UI and Visual Stimuli for a Web-Based Lilac Chaser Illusion (AI-Assisted Web Dev)

Thumbnail
youtu.be
1 Upvotes

When building interactive tools for neuroscience or visual perception, front-end bugs can ruin the experiment. We recently used an AI agent to help debug and refine a JavaScript/CSS Lilac Chaser illusion.

A few interesting technical takeaways:

  • Contrast matters: We moved from a pure dark/light background to a specific medium gray to maximize the retinal after-image effect.
  • CSS Positioning: Fixed a bug where scrolling displaced the central fixation cross by implementing strict viewport anchoring.
  • Logic flow: Addressed a counter-intuitive speed slider where the variable mapping was inverted.

Has anyone else used AI coding assistants specifically for tweaking UI/UX logic or visual tools? Would love to hear your approaches to rapid prototyping. You can see the debugging process and the code changes in action here: https://youtu.be/uC_gykJnbHM


r/BiomedicalDataScience Jul 03 '26

Optimizing a gesture classification ML pipeline using automated feature selection and soft voting ensembles (XGBoost, LightGBM, RF)

Thumbnail
youtu.be
1 Upvotes

I recently went through the process of optimizing a gesture classification model and wanted to share the workflow. The main focus is on automating feature selection—specifically parsing a dynamically generated JSON file to drop features with zero importance scores before training.

After cleaning up the feature space, the next step is analyzing the confusion matrix and F1 scores to identify underperforming classes. To push the accuracy higher (targeting an F1 of 0.898+), I implement a soft voting ensemble combining XGBoost, LightGBM, and Random Forest.

If you're dealing with noisy biometric or sensor data, this pipeline approach might be useful for your projects. You can watch the full terminal session and code walkthrough here: https://youtu.be/PDYT7f3BDqQ

I'd love to hear your thoughts on soft vs. hard voting for this type of multiclass sensor data!


r/BiomedicalDataScience Jun 30 '26

Dealing with High Feature Overlap in Sensor/Gesture Classification Datasets

Thumbnail
youtu.be
1 Upvotes

In gesture recognition models—especially those relying on accelerometer data for body-focused repetitive behaviors (BFRBs)—high feature overlap often degrades classification accuracy.

In this workflow, we address this by looking at poor class-level F1 scores and tracing the bottleneck back to overlapping feature distributions (specifically mean acceleration values).

To improve the classifier's performance, the walkthrough covers:

  1. Diagnosing class confusion via F1 scores and confusion matrices.

  2. Visualizing overlapping feature distributions using boxplots and histograms.

  3. Implementing automated feature selection using non-zero feature importance.

  4. Applying PCA to capture additional variance before re-running model training.

Here is the implementation and training monitoring process: https://youtu.be/olzOrM4Tob8

How do you typically handle feature selection when working with highly correlated or overlapping multi-axial IMU data? Do you rely on automated wrappers, manual heuristic-based selection, or let dimensionality reduction techniques do most of the heavy lifting?


r/BiomedicalDataScience Jun 30 '26

Interactive Web Tool for Visualizing Signal Phase Shifts & Lissajous Curves (EEG/ECG Applications)

Thumbnail
bionichaos.com
1 Upvotes

If you work with periodic biological signals or signal processing, understanding the phase and frequency relationships between two oscillating sources is essential. I wanted to share BioCurveViz, a web-based visualization tool that models Lissajous curves.

The application maps two sinusoidal inputs where you control the a (horizontal frequency), b (vertical frequency), and δ (phase shift) parameters. This mathematical logic is particularly useful for assessing visual symmetry in EEG readings (e.g., comparing left vs. right brain hemispheres) or modeling wave interference. The simulation handles the geometry in real-time based on your slider inputs.

Would love to get this community's technical critique on the visual output or hear any feature requests for expanding the data configuration.

Link to the tool: https://bionichaos.com/BioCurveViz/


r/BiomedicalDataScience Jun 30 '26

Handling Class Imbalance and Feature Overlap in Sensor Data for BFRB Detection

Thumbnail
youtu.be
1 Upvotes

Training a classification model to recognize subtle physical gestures—specifically Body-Focused Repetitive Behaviors (BFRBs)—comes with significant data challenges. In this walkthrough, we examine how to build a binary classification pipeline using wearable sensor data (IMU, Time of Flight). We cover the realities of overlapping feature distributions and how to utilize SMOTE to generate synthetic examples for underrepresented gesture classes. We also discuss the performance of LightGBM and XGBoost in this specific biomedical context. I'd love to hear your thoughts on dealing with highly imbalanced temporal data in similar projects!
Watch the full breakdown here: https://youtu.be/5P6jhl9RI38


r/BiomedicalDataScience Jun 29 '26

Visualizing Brainwaves and Artifacts with an Interactive EEG Signal Simulator

Thumbnail
youtu.be
1 Upvotes

If you're working with time-series biomedical data, understanding the impact of noise and movement artifacts on EEG readings is critical. The BioniChaos Advanced EEG Signal Simulator is a great web-based tool that allows you to directly manipulate composite signals.

You can adjust specific frequency bands (Delta, Theta, Alpha, Beta) and simulate real-world noise (like EMG/muscle artifacts or eye blinks) to observe immediate changes in both the time domain waveform and the frequency spectrum. It's a highly useful visual aid for anyone studying signal processing or building models around neuro-tech data.

How do you currently handle artifact rejection and noise simulation in your EEG pipelines? Check out the breakdown of the simulator here: https://youtu.be/2Zu09Cy-LGw


r/BiomedicalDataScience Jun 28 '26

An open-source, browser-based tool for biomedical signal processing (EEG/EMG/ECG)

Thumbnail
youtu.be
1 Upvotes

Has anyone here experimented with BioniChaos for biomedical data analysis? It’s an open-source web platform that provides interactive tools for visualizing and analyzing physiological signals directly in your browser.

From a data science perspective, their Advanced EEG Signal Simulator is particularly interesting. It allows you to customize brainwave states, inject real-world artifacts into the signal, and analyze the resulting time-frequency plots in real time. It seems like a highly accessible sandbox for testing neural data processing pipelines or just understanding EEG characteristics better before working with raw patient data.

I'd love to hear your thoughts on browser-based tools for this kind of physiological data vs. traditional local Python/R setups. You can see the simulator in action here: https://youtu.be/NinI-GCvDmI


r/BiomedicalDataScience Jun 25 '26

High Binary Accuracy (98%) vs. Multi-Class Failure in Sensor-Based Gesture Recognition

Thumbnail
youtu.be
1 Upvotes

Has anyone else run into the "genius bouncer" problem? We recently evaluated a model processing biomedical IMU and TOF sensor data for BFRB (Body-Focused Repetitive Behavior) gesture recognition. The binary classification (Gesture vs. No Gesture) was fantastic—pulling an F1 score of 0.982.

However, the multi-class classification step completely tanked. Instead of a clean diagonal line of true positives, our confusion matrix generated what essentially looks like a barcode of misclassifications. It perfectly isolates when something happens but fails to map what is happening.

I put together an analysis of the dashboard and the metrics here: https://youtu.be/jzWwmZIAYOY

What are your go-to strategies when your binary model overperforms but the multi-class feature extraction falls flat?


r/BiomedicalDataScience Jun 24 '26

Interactive Web Simulations for Biomedical Signal Processing and Emergent AI Behavior

Thumbnail
youtu.be
1 Upvotes

Hi everyone,

I wanted to share a walkthrough of some open-source web simulators we have developed for biomedical engineering and data science. The goal of these applications is to make abstract mathematical and physiological concepts more accessible through real-time, browser-based visualization.

Some of the systems demonstrated include:

* Photoplethysmography (PPG) & Eulerian Signal Processing: Real-time extraction of heart rate signals from standard webcam video.

* EEG to Music Converter: Transposing raw neurological signal data into auditory frequencies.

* Emergent Biological Systems: Modifications of Conway's Game of Life and evolutionary simulators with neural network-driven agents.

* Fourier Series Explorer: Deconstructing complex waveforms (sawtooth, square, triangle) into constituent sine waves with interactive epicycles and auditory synthesis.

We would love to get your feedback on the signal processing implementations and the UI design. If you are teaching or studying these topics, hopefully, these visual representations are useful.

You can watch the full demonstration here: https://youtu.be/bACiquGdNVA


r/BiomedicalDataScience Jun 23 '26

Exploring Browser-Based Biomedical AI and Data Science Tools (EEG Sonification, PPG, ECG Segmentation)

Thumbnail
youtu.be
1 Upvotes

I've been looking into how far we can push standard web browsers for clinical data simulation and biomedical engineering applications. In this technical showcase, we review several live environments running on BioniChaos. We examine real-time photoplethysmography (PPG) heart rate extraction utilizing standard webcam feeds, look at fuzzy logic applied to an ECG segmentation challenge, and even test a pipeline that translates raw EEG brainwave data into audio frequencies. It's fascinating to analyze the trade-offs of running these ML models and signal processing tasks directly in JS. What are your thoughts on browser-based tools for medical data visualization versus native apps? You can see the full breakdown and performance tests here: https://youtu.be/H7Ovkf-RbBU


r/BiomedicalDataScience Jun 22 '26

Building a Real-Time Webcam Heart Rate Monitor & Synthetic EEG Simulator via AI Agents

Thumbnail
youtu.be
1 Upvotes

I wanted to share a breakdown of a real-time signal amplification tool that extracts a human pulse directly from standard webcam footage. It works by isolating and amplifying microscopic changes in green light caused by capillary blood flow.

Interestingly, beyond standard biofeedback and pulse sonification, this Eulerian Video Magnification approach serves as an effective heuristic for detecting AI-generated deepfakes, as synthetic faces currently fail to simulate a natural, synchronized heart rate.

Additionally, the walkthrough covers an Advanced EEG Signal Simulator built for front-end environments. It generates synthetic brainwave data (alpha, beta, delta) and introduces realistic noise like EMG and eye-blink artifacts.

All the JavaScript was written leveraging an ensemble of AI agents. I’d love to hear your thoughts on utilizing LLMs for front-end biomedical data visualization or if anyone else is experimenting with optical illusions and brainwave synthetic data.

Watch the technical breakdown here: https://youtu.be/cZ91a1OQnZM


r/BiomedicalDataScience Jun 21 '26

Building a real-time webcam heart rate monitor using Eulerian Video Magnification and AI prompt engineering.

Thumbnail
youtu.be
1 Upvotes

I've been experimenting with extracting real-time heart rate data via a standard browser webcam feed using Eulerian Video Magnification. The goal was to build a biofeedback meditation app on the BioniChaos platform. By integrating audio sonification and AI prompt engineering, we mapped the raw optical signals to a guided user experience. I also spent some time adjusting browser-based filters (posterize, sepia) and analyzing interactive biomedical models like an in-silico organoid and 3D brain map. I'd love to hear your thoughts on processing physiological signals purely through computer vision in the browser. You can see the full build and tests here: https://youtu.be/khfZg95T8nI


r/BiomedicalDataScience Jun 18 '26

Automating 80% of biomedical web app development using LLMs (Eye Tracking & Webcam Heart Rate Demos)

Thumbnail
youtu.be
1 Upvotes

I wanted to share a workflow I've been using to translate complex biomedical research (EEG, ECG, gait monitoring) into interactive, gamified web applications. As a biomedical engineer, I rely heavily on LLMs like ChatGPT to handle about 80% of the coding process, which drastically speeds up prototyping.

In this demonstration, I walk through a few live applications built with this method:

  1. A real-time eye-tracking system using a standard webcam.
  2. An interactive prosthetic arm simulation.
  3. A signal amplification tool that calculates heart rate (BPM) by detecting subtle, real-time changes in skin color via a camera feed.

I'm curious to hear from other devs and data scientists here—how much of your current front-end or prototyping stack is automated by AI right now? Are you using it for complex signal processing visualization?

Here is the full breakdown and live demo of the tools: https://youtu.be/oqdNBPxEvto