03/23/2019 at 09:13 •
With my setup there are many problems, not in it's principle which is sound (well S4 sounds) but in practical:
It has problems detecting heart sounds with obese people, women with ample breast.
Some smart guys have a better proposal: A smart toilet seat!
The toilet seat–based cardiovascular monitoring system is completely self-contained, battery-powered, wireless, and cleanable with all sensors and electronics instrumentation integrated inside of the seat. It can measure the electrocardiogram (ECG), photoplethysmogram (PPG), and the ballistocardiogram (BCG).
I wish them a lot of success :-)
01/25/2018 at 11:12 •
Unfortunately I did not attend the Physionet conference even if it was in my home town, participants have to pay an entrance price, and for an individual it is just impossible.
The competition was about: AF Classification from a short single lead ECG recording.
75 International teams competed. It was not about heart sounds as in 2016, but given the high number of heart beats detectors in HaD, many people should be interested in this competition.
What technology did dominated the competition, well most ML classifiers en vogue at the moment: Deep forest, XGBoost. A lot of teams used LASSO for feature selection.
It can be seen as a success for ML, as it succeeds with far much less data than a practitioner access in a single day.
However Gari Clifford tells that there are signs of over training in the competition submissions (the model fits the data in a way that should not be expected if samples were distributed at random).
10/17/2017 at 16:39 •
I used the audio extracted from the video below. It was taken by a Logitech 270 webcam which was pressed against my finger, hence the strange red pulsating color.
The audio was truncated as in the beginning the camera was moved a bit harshly and at the end the boiler used by my other self was creating an increasing white noise.
I just used Hjerte 0.3 (available on this page) to classify the heart sound. It recognizes my heart beat quite well, and seems to find convincing S1 and S2 sounds.
What are the take home points?
- There is no need for a ultrasound Doppler to record heart sounds.
- Heart sounds can be recorded on a finger!
- The Hjerte algorithm works even in weird conditions (ordinary microphone, lot of noise).
10/05/2017 at 07:48 •
This project is almost finished.
What is envisioned next, is to provide a box, where all is ready to be used, on an online marketplace.
The software will be what is available on this page and the hardware will be a SCB like the Raspberry Pi. Probably a USB Webcam an microphone will be included.
The goal is a kind of social engineering, to accelerate evidence based medicine: Making guys copycat this device and sell it on Taobao or Aliexpress, in order to make this kind of point of care tools more common in doctors' office. Please pirate this as much as you can!
After all, heart diseases are one of the two main causes of death, the other being cancer.
A far more ambitious project is drafted on Padirac Innovation. It is about multi probes tooling and a software assistant for family doctors, all setup done automatically. All that the doctor will have to do is to buy the hardware and access codes online, and she will be able to use those probes in her office without any other installation or setup procedure.
09/27/2017 at 07:08 •
When it comes to studying heart sounds with algorithms, it is important to not be naive, technology is a tool, not an oracle. Mastering what we do is of utmost importance and having multiple informations helps to gain confidence in the outcome of algorithms.
One important information for segmenting the heart beat in sounds, is the heart rate, but it is much better to know approximatively when heart beats begins.
Heart beat events are easy to recognize with ECG because there is a very distinctive figure, the "R" peak which signals the contraction of ventricles.
However the ECG is difficult to sample and it does not give easily much other usable information. For example one has to interpret deflection of waves or figure out if missing beats are normal or not. Surprisingly our heart can miss beats, for example if we move during the sampling.
Phonocardiograms are easier to sample and they give more trusty information.
However automatically segmenting Phonocardiograms is not an easy task either. There is a well known challenge for heart specialists on this subject: Physionet/CINC and indeed there are the Kaggle challenges for the data scientists.
Phonocardiograms are usually obtained with Doppler ultrasounds or with electronic stethoscopes. But it could be sampled with ordinary microphones as well, providing that ambient sounds are not too loud.
As Webcams are often equipped with microphones and SBC like Raspberry Pi can use webcam out of the box I was thinking of using photoplethysmography to at least get the heart rate. This is an ongoing work but results are encouraging. I am using a Logitech 270 webcam.
The result of this study is intended to be included in my Hjerte software package that now runs on a Raspberry Pi.
09/24/2017 at 08:22 •
This video shows Hjerte running on a off the shelf Raspberry Pi 3B.It was a pleasant surprise to see that I can directly use the Jar file produced on my Ubuntu laptop on the Raspberry without having to convert anything.
For me it was a realization there was no need to search for a really lost cost version, as this Proof Of Concept costs less than $100 ($35 for RP, $35 for case, power unit, and an awful $25 for a USB Webcam having a microphone).
Another thing is that I am changing my original goals that were more or less aligned with the requirements of a failed project for a pharmaceutical company.
Now I think a much more reasonable discourse about Hjerte would be to help people manage their condition, and not detecting it.
In order to enable that, it shows the percentage of S3 sounds with respect to the number of heart beats.
09/21/2017 at 21:56 •
Hjerte is the name of this heart failure detector.
It means "heart" in this beautiful language that is Norwegian. This word has the same origin than "heart" in English or "coeur" in French. It is a very old word that was born thousands years ago when the vast inlandsis that covered the North hemisphere, finally retreated and let humans start the neolithic revolution.
Hjerte run without modification, as it is in the file section, on a Raspberry Pi 3B.
This means there is no need to make a "C" version of this Java program, as the RP 3B, the case and the LCD touchscreen cost me only $90. If you add a microphone you are still below the $150 target price. A video will be provided soon.
So the end of the project is close now. A new version of the software is available at :
I will only make quality control on this software for now.
09/06/2017 at 19:54 •
Another excellent article in the New Yorker is about complexity management in cancer research.
Cancer is studied as if it was a pathogen. "Cancer attacks you, cancerous cells invade you blood". It argues that oncology’s obsession with the cellular automaton and its genes exists only because it is easier to focus on the cell, than taking in account the terrain, the tissues in the host..
It’s the host tissue and cancer cells complex assemblage of interactions. that determines the nature of the illness. There isn’t one factor but a series of factors that determined how and why the cancer took hold.
It recalls the story of Thyroid cancer detection in South Korea 15 years ago. Many people were found having this kind of cancer, because of a new ultrasound device. By 2014, thyroid-cancer incidence was fifteen times what it was in 1993, making it the most commonly diagnosed cancer in the country. Yet the rate at which people died from thyroid cancer remained unchanged .
This early detection is worse than useless as many people received surgery that was unnecessary.
The article alludes to the fact that what we need is an early predictor of the patient's health, not of an early detection of diseases.
09/06/2017 at 19:42 •
Some news: I am converting my Java program (the one you can find in the "files" section of this page) in a C program. The rational is that, as I would have to explicitly manage memory in "C" language, then I could better fit my code in a low cost CPU.
This is less easy than I envisioned. I supposed that by having a single gigantic class that incorporates other classes stripped down of their methods and having methods all belonging to this gigantic class, it would be easy to convert the "class" to "struct" and what remained would be to provide code for the JVM methods (like LinkedList or ArrayList). It is still ongoing, there is no reason I would fail, but it is a huge amount of code (2550 LoC in Java) and I will need time.
08/23/2017 at 12:47 •
Please check out the new challenge by the Bonnie J. Addario Lung Cancer Foundation to help radiologists detect lung cancer earlier without so much false positives.
They want to understand the best submissions to the last Data Science Bowl challenge which was about lung cancer detection and collaboratively improve them significantly.
Please contribute by grabbing an issue from the project's GitHub repository and submitting a PR!