Inspiration
In Singapore, 21 people die from cardiovascular disease (heart diseases and stroke) every day. Cardiovascular disease accounted for 32% of all deaths in 2021. This means that almost 1 out of 3 deaths in Singapore is due to heart diseases or stroke. But this is preventable with early detection and therefore early treatment which helps to reduces suffering, prevents complications such as heart failure, stroke and kidney disease.
ECG Specialist are the ones that analyze the ECG signals and give the results. However, results can take up to from 1 - 2 weeks to receive. This is a problem as time is essential for those might have cardiovascular diseases and we would want to get the results as soon as possible. How can AI help with this?
What it does
Thats why we built easyG. A custom built API that takes in raw ECG data and returns: 1) Filtered signal with less noise
2) Physiological Measurements such as:
- Heart Rate
- Breathing Rate
- Interbeat Interval
3) Arrhythmia Classification Using a custom trained CNN model using Kaggle Dataset
Classify arrhythmia into 5 classes:
- Non-ecotic beats (normal beat)
- Supraventricular ectopic beats
- Ventricular ectopic beats
- Fusion Beats
- Unknown Beats
Achieved 95.14% accuracy on test data
How we built it
AWS Services used: Lambda Cloud9 API Gateway S3 Cloudwatch
How to try it in Postman
Raw Data in Body: {"data":"1981,NaN,1857,1808,1855,1847,1783,1769,1837,1849,1791,1769,1853,1867,1810,1789,1863,1873,1812,1778,1849,1882,1813,1772,1815,1817,1755,1728,1792,1807,1746,1712,1776,1767,1691,1636,1708,1731,1678,1641,1668,1694,1666,1645,1699,1707,1629,1610,1703,1727,1687,1694,1767,1762,1695,1671,1757,1775,1712,1647,1679,1671,1607,1587,1671,1690,1616,1589,1678,1712,1667,1633,1682,1696,1642,1616,1673,1667,1591,1551,1609,1604,1552,1520,1591,1599,1546,1503,1575,1613,1585,1565,1630,1627,1581,1569,1665,1680,1626,1600,1671,1697,1653,1645,1738,1755,1666,1600,1727,1795,1757,1727,1781,1753,1661,1616,1695,1713,1667,1650,1726,1723,1643,1595,1649,1664,1605,1575,1648,1661,1612,1598,1697,1741,1738,1747,1905,2107,2411,2958,3408,2967,2113,1455,1369,1241,1217,1277,1550,1635,1581,1615,1693,1712,1667,1653,1726,1715,1658,1623,1688,1682,1633,1643,1741,1773,1743,1766,1871,1899,1844,1869,1968,1990,1927,1917,1995,2003,1943,1924,2006,2000,1941,1937,2027,2023,1968,1965,2043,2041,1968,1920,1969,1934,1819,1743,1755,1709,1605,1558,1630,1638,1602,1599,1680,1679,1598,1558,1623,1622,1552,1522,1601,1603,1533,1495,1550,1515,1422,1368,1423,1403,1323,1283,1362,1375,1321,1311,1389,1377,1293,1266,1373,1406,1346,1341,1447,1465,1413,1425,1530,1551,1503,1527,1648,1648,1546,1515,1604,1607,1557,1578,1683,1688,1616,1600,1683,1695,1635,1647,1745,1744,1680,1682,1795,1818,1767,1778,1866,1831,1750,1745,1845,1855,1809,1825,1939,1943,1885,1871,1954,1994,1963,1965,2064,2081,2041,2063,2145,2094,1973,1934,1968,1898,1771,1741,1817,1819,1767,1779,1875,1868,1782,1710,1850,1848,1762,1761,1840,1841,1792,1802,1983,1968,2074,2397,3026,3722,3326,2511,1927,1554,1284,1265,1449,1586,1627,1680,1787,1780,1735,1722,1817,1826,1798,1807,1908,1903,1840,1802,1858,1833,1743,1714,1801,1808,1750,1754,1871,1891,1835,1826,1915,1923,1869,1865,1979,2018,1982,1983,2090,2099,2032,2007,2095,2087,1999,1951,2007,1956,1842,1791,1830,1799,1687,1637,1701,1690,1603,1588,1685,1681,1623,1616,1711,1711,1648,1649,1761,1789,1735,1712,1793,1793,1723,1695,1778,1793,1733,1712,1797,1807,1757,1755,1854,1848,1760,1725,1801,1794,1711,1680,1776,1781,1717,1710,1798,1808,1745,1737,1822,1827,1757,1728,1821,1838,1776,1745,1827,1840,1771,1735,1814,1835,1782,1749,1837,1847,1780,1749,1839,1861,1803,1787,1873,1891,1819,1774,1840,1838,1763,1739,1813,1824,1767,1747,1833,1840,1775,1751,1858,1903,1893,1897,1977,2000,1954,1933,2032,2034,1943,1861,1887,1829,1771,1727,1811,1795,1774,1739,1831,1835,1776,1751,1833,1863,1744,1759,1813,1872,1816,1792,1889,1917,1938,2127,2610,3278,3751,3157,2418,1810,1457,1327,1455,1616,1699,1755,1873,1904,1840,1844,1940,1981,1919,1872,1947,1967,1906,1885,1973,2007,1955,1921,1993,2019,1968,1939,2046,2102,2059,2027,2119,2162,2115,2076,2160,2203,2166,2143,2229,2263,2206,2173,2263,2307,2240,2182,2245,2238,2140,2047,2082,2055,1936,1867,1926,1926,1851,1795,1864,1891,1824,1775,1856,1887,1829,1791,1860,1895,1847,1815,1903,1936,1866,1809,1883,1911,1849,1806,1887,1928,1866,1825,1907,1937,1872,1825,1903,1931,1857,1809,1881,1911,1839,1779,1867,1895,1831,1781,1856,1885,1831,1795,1880,1917,1845,1793,1871,1903,1853,1807,1874,1902,1818,1769,1847,1891,1833,1779,1850,1877,1819,1779,1857,1882,1820,1765,1841,1879,1821,1950,1857,1888,1810,1744,1823,1873,1809,1811,1827,1856,1790,1774,1815,1834,1791,1753,1840,1907,1959,1865,1936,1974,1931,1907,1973,1971,1866,1765,1802,1826,1744,1680,1757,1787,1712,1664,1754,1795,1715,1655,1727,1772,1705,1648,1701,1733,1684,1647,1732,1858,2007,2315,2928,3564,3169,2351,1778,1498,1307,1242,1414,1606,1662,1668,1744,1771,1705,1662,1751,1808,1751,1697,1749,1779,1716,1660,1737,1784,1735,1683,1757,1812,1760,1712,1776,1808,1748,1703,1767,1791,1725,1680,1757,1810,1764,1730,1825,1875,1832,1793,1870,1904,1823,1749,1790,1782,1673,1581,1616,1626,1527,1458,1513,1531,1451,1403,1483,1535,1477,1426,1493,1535,1472,1405,1459,1489,1424,1378,1447,1498,1429,1364,1439,1489,1427,1378,1455,1507,1468,1437,1535,1610,1569,1515,1598,1645,1582,1520,1589,1637,1581,1530,1619,1680,1619,1567,1641,1694,1633,1590,1673,1732,1680,1621,1697,1715,1687,1626,1694,1744,1683,1630,1717,1727,1727,1680,1753,1797,1749,1699,1797,1827,1840,1732,1941,1827,1729,1712,1719,1861,1800,1739,1813,1885,1872,1869,1950,1987,1952,1903,1971,2011,1935,1840,1851,1849,1759,1687,1747,1789,1729,1675,1744,1789,1730,1677,1731,1789,1733,1679,1749,1808,1747,1701,1776,1839,1839,1947,2323,2887,3535,3398,2690,1946,1477,1269,1333,1509,1615,1669,1794,1856,1794,1731,1799,1873,1838,1789,1854,1905,1853,1823,1900,1951,1887,1817,1882,1943,1900,1865,1955,2042,2006,1956,2023,2096,2045,1986,2065,2135,2099,2061,2128,2204,2160,2102,2161,2224,2169,2096,2134,2165,2081,1978,1989,2004,1904,1804,1821,1845,1765,1681,1727,1778,1727,1670,1728,1789,1731,1674,1728,1793,1747,1680,1730,1782,1740,1671,1727,1794,1739,1680,1744,1808,1761,1691,1742,1792,1738,1662,1692,1744,1695,1617,1641,1649,1529,1422,1455,1469,1360,1259,1331,1456,1413,1299,1314,1531,1901,2125,1942,1525,1203,1225,1527,1725,1787,1777,1843,1906,1774,1573,1543,1487,1456,1341,1360,1491,1559,1535,1552,1601,1566,1462,1429,1474,1452,1321"}
What's next for easyG
Integrate API with Web applications e.g. make our own web application or possible to integrate it with existing healthcare applications
Built With
- amazon-web-services
- amplify
- api
- cloud9
- lambda
- s3
- sagemaker
Log in or sign up for Devpost to join the conversation.