Patent ID: 11877841
Assignee: DAIN TECHNOLOGY, INC.
Field: Medical technology (Instruments)
Classification: CPC A  G | IPC A  G

Claim 0:
1. A method for counting coughs by analyzing a sound signal, the method comprising:
detecting a plurality of onset signals from the sound signal,
extracting a plurality of onset signals from the sound signal by cropping portions of the sound signal, wherein each of the cropped portions corresponds to a signal with a predetermined time length from each of the detected onset points in the sournd signal;
obtaining a plurality of time points, each of the time points corresponding to a time value of the onset point of each of the plurality of onset signals measured from a starting point of the sound signal, wherein the onset point is a starting point of corresponding onset signal;
transforming each of the plurality of onset signals into a spectrogram image, thereby forming a plurality of spectrogram images;
determing whether each of the pluralty of spectrogram images represents a cough by inputting each of the plurality of spectrogram images into a cough determination model, wherein the cough determination model is a classification model trained to classify the inputted spectrogram image into a cough or non-cough;
determining a pluralty of tags according to results determined by the cough determination model, wherein each of the plurality of tags corresponds to each of the pluralty of time points, wherein the tag indicates one of the cough and non-cough; and
calculating a total number of coughs included in the sound signal based on the plurality of time points and corresponding tags,
wherein the calculating the total number of coughs comprises:
checking the plurality of tags corresponding to the time points in order of the time points,
counting one cough when the tag corresponding to the time point indicates the cough, and
not counting cough when the tag corresponding to the time point indicates the non-cough, and
wherein when a time interval between a first time point at which a corresponding tag indcates the cough and a second time point which is later in order than the first time point and at which a corresponding tag indicates the cough is within a reference time, the cough correspoinding to the second time p;oint is not counted towards the total number of coughs included in the soung signal and checking starts from the tag corresponding to a third time point which is later in order than the second time point.