# Technical Review and Integration Strategy: Digital Stethoscopes for Horse Gut Sound Monitoring - Savonia AMK

> AI-based horse gut sound monitoring using digital stethoscopes with mobile app for real-time and offline analysis.

## Project Overview
In the second pilot of the “Tekoälyä Talleille” project, we are developing a mobile application designed to monitor horse intestinal sounds and identify abnormalities. The application aims to enable daily health monitoring at home stables, promoting a shift from reactive treatment toward preventive veterinary care.

This article presents a technical review of currently available digital stethoscope solutions, evaluates their suitability for integration into our system, and proposes a dual-mode mobile app development strategy tailored for both real-time and offline use.

## The Challenge: Sand Ingestion
Sand ingestion is a common behavioural issue among horses in Finland, particularly affecting the Finnhorse breed. Accumulated sand in the intestines can cause severe or even fatal conditions. Diagnosis typically requires a clinical visit and an abdominal X-ray. However, the presence of sand in the intestines can be detected by listening with a stethoscope—the sounds made by sand are distinctive and different from normal gut activity.

## Project Goals
Our goal is to develop an AI-powered solution that enables early detection of such conditions at the stable without the need for expensive imaging equipment or trained personnel. By integrating smart auscultation capabilities into a mobile application, we aim to:
* Empower horse owners and stable staff with an early warning system
* Enable earlier intervention and reduce veterinary costs
* Build a labelled dataset of gut sounds for AI model development

## Technical Evaluation of Digital Stethoscopes
We analyzed a selection of commercially available digital stethoscopes for their potential integration into our system. The evaluation criteria included:
* Connectivity options (BLE or analog jack)
* File access or exportability
* Availability of application programming interfaces (APIs) or software development kits (SDKs)
* Mobile app compatibility

Some of these devices can be used for offline data collection, either via:
* Manual export from the proprietary app (e.g., Stemoscope)
* Direct audio recording via 3.5 mm jack (e.g., Thinklabs, Linktop)

This makes them suitable for the initial creation of an audio dataset needed for training AI models. Most digital stethoscopes lack open SDKs or real-time BLE access, limiting our ability to integrate them into live-streaming features of a custom app. This is a critical constraint for applications requiring real-time audio analysis.

## Proposed Dual-Mode Strategy
Given the technical constraints and opportunities, we propose a hybrid application model that supports two distinct workflows:

### 1. Real-Time Mode
* Uses BLE (if supported) or analog jack for live input
* Displays real-time waveforms
* Runs on-device AI analysis for immediate feedback

### 2. Offline/File-Based Mode
* Sound is recorded via the manufacturer’s proprietary app
* User shares/exports the recording (e.g., .wav, .mp3) if possible
* User uploads file to our app for AI-based analysis

## Roadmap
To meet both short-term data acquisition needs and long-term scalability, our proposed roadmap includes:
1. Starting data collection immediately with devices that support file exports
2. Engaging with manufacturers to gain access to SDKs for real-time integration
3. Developing a dual-mode mobile app to support both live monitoring and offline analysis

## Authors
* **Osman Torunoglu**, RDI Specialist, DigiCenter – osman.torunoglu@savonia.fi
* **Johannes Geisler**, RDI Specialist, DigiCenter – johannes.geisler@savonia.fi
* **Finlay Hare**, RDI Project Worker, DigiCenter – finlay.hare@savonia.fi
* **Aki Happonen**, Digital Development Manager, DigiCenter – aki.happonen@savonia.fi
* **Heli Suomala**, Project Manager and Expert, Finnish Horse Information Centre – heli.suomala@hevostietokeskus.fi