TLDR;
Get our API key
Build your fantastic new tool supported by our algorithms
Share what you did with the world
Features
Image segmentation
Image analysis
Landmark detection
Image information
Image enhancement
Motion estimation
Image segmentation
With CURL
curl -H "Content-Type: application/json" -X POST -d '{"username":"USERNAME","password":"PASSWORD"}' https://api.kardio.me/v1/login
curl -H "Content-Type: application/json" -X POST -d '{"url":"https://cardiacimages.com/lvnc.dcm"}' https://api.kardio.me/segment/
Python code snippet
Get API keys
import request
login_credentials = {
'username': USERNAME,
'password': PASSWORD
}
auth = request.post('https://kardio.me/login', auth=login_credentials)
Segment an image from the web
src_image = {
'url': 'https://cardiacimages.com/tetralogy_of_fallot.png'
}
response = request.post('https://api.kardio.me/v1/segment/', json=src_image)
tissue_map = response['all']['mask']
lv_probability_map = response['lv']['mask']
lv_contour = response['lv']['contours']
lv_probability_map = response['lv']['probas']
Image analysis
Extract commonly and less commonly used measures and evaluate the function of each cardiac part.
src_image = {
'url': 'https://cardiacimages.com/tetralogy_of_fallot.png'
}
response = request.post('https://api.kardio.me/v1/analyse/', json=src_image)
aortic_valve_info = response['av']
left_ventricle_info = response['lv']
lv_ejection_fraction = left_ventricle_info['ef']
{
"lv": {
"status": string,
"ef": float,
"edv": float,
"esv": float,
"heartrate": float,
"aha": {
"0": string,
"...": string,
"17": string
},
"regions": {
"lateral": string,
"anterior": string,
"septal": string,
"inferior": string,
"basal": string,
"apical": string
}
},
"rv": {
"status": string,
"ef": float,
"edv": float,
"esv": float,
"heartrate": float,
"aha": {
"18": string,
"...": string,
"30 ": string
}
},
"av": {
"status": string
},
"pv": {
"status": string
},
"rca": {
"status": string
}
}
Landmark detection
src_image = {
'url': 'https://cardiacimages.com/tetralogy_of_fallot.png'
}
response = request.post('https://api.kardio.me/v1/detect-landmarks/', json=src_image)
aortic_valve_info = response['av']
left_ventricle_info = response['lv']
lv_ejection_fraction = left_ventricle_info['ef']
{
"lv": {
"status": string,
"ef": float,
"edv": float,
"esv": float,
"heartrate": float,
"aha": {
"0": string,
"17": string
}
},
"rv": {
"status": string,
"ef": float,
"edv": float,
"esv": float,
"heartrate": float,
"aha": {
"0": string,
"17": string
}
},
"av": {
"status": string
},
"pv": {
"status": string
},
"rca": {
"status": string
}
}
Image enhancement
Motion estimation