Run your impulse on a single new sample to see, window by window, what the model predicts before you deploy it.
Live classification runs your current impulse over one sample and shows you what the model predicts. The sample is usually captured from a connected device, so you can try the model on real data before you deploy it.Model testing scores your whole labeled test set and reports overall accuracy. Live classification shows the results for one sample in detail, so you can see how the model handles a specific input.
Edge Impulse moves a sliding window across the sample, using the window size and window increase configured in your impulse, runs the DSP and learning blocks on each window, and returns one result per window.Keep in mind:
Each window gets its own result. A two-second recording with a one-second window and a 100 ms increase produces around eleven results, and they can disagree with each other.
The window settings come from the impulse, so changing the window length in your impulse also changes live classification results.
Each learning block reports separately. An impulse with a classifier and an anomaly block gives you a confidence per label from the first and an anomaly score from the second, for every window.
Results are compared against the sample’s label when it has one, so you can see which windows were misclassified.
The float32 model is used by default. You can classify against the int8 model, or against several model variants at once, to see where quantization changes a prediction.
If your project has more than one experiment, live classification runs against the impulse you have selected, so switching impulses and reclassifying the same sample is a direct comparison.
Studio warns you if the sample is already in your training set. The model learned from that sample, so classify a new one to see how the model handles data it hasn’t seen.
Connect the source you want to sample from, then click Start sampling. Everything connected to your project appears under Devices.
A development board connected over the Edge Impulse CLI or WebUSB. This is the most representative option, because the data passes through the same sensor and firmware as it will in production.
Your mobile phone. Go to Devices, click Connect a new device, select Use your mobile phone, and scan the QR code. Then click Switch to classification mode and start sampling.
Your computer. Go to Devices, click Connect a new device, select Use your computer, and grant the browser access to your microphone or camera. Then click Switch to classification mode and start sampling.
Connected devices available for live classification.
Connecting a mobile phone for live classification.
You can also classify a sample that is already in your project, or upload a file, so you can rerun the same input without recapturing it.
If a model behaves differently on your device than in Studio, sample from the device itself rather than from your phone. Differences in sensor placement, sample rate, or mounting can make the device’s data look different from your training data.
Object detection projects show detections rather than a confidence per label. Use the dropdown above the image to switch between the Side by side and Overlay views.
SSD MobileNet V2
FOMO
Employs a Single Shot MultiBox Detector (SSD) with a MobileNet V2 backbone for object detection. This model is optimized for running on MCUs and CPUs.
The labeled ground truth above the model's predictions.
The top image shows the ground truth labels and the bottom image shows the predicted bounding boxes, each with a class and a confidence score. Comparing the two makes it easy to spot objects the model missed.
Bounding boxes are drawn directly on the image, with labels and confidence scores in context. Use this view to check how closely the boxes fit the objects.
The labeled ground truth above FOMO's centroid predictions.
In the image above, the model found 7 of the 11 labeled cars. FOMO predicts centroids rather than boxes, so check whether each object was found and counted.
Recall is how many of the objects actually present were found.
High precision with low recall means the model is missing objects. High recall with low precision means it is detecting objects that aren’t there. Check both numbers together.
Model testing for aggregate accuracy across the test set
Devices for connecting a board, phone, or computer
Impulse design for the window settings that live classification uses
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Edge Impulse Documentation","description":"Where you can find all the Edge Impulse documentation, and more!","colors":{"primary":"#5f76db","light":"#5f76db","dark":"#182896"},"logo":{"light":"https://mintcdn.com/edgeimpulse/-Yjt9HB8VCOXQC8H/.assets/logos/ei-logo-light.svg?fit=max\u0026auto=format\u0026n=-Yjt9HB8VCOXQC8H\u0026q=85\u0026s=a26ac03680700105c38fa0507df4fee2","dark":"https://mintcdn.com/edgeimpulse/K7zNEaqi2bZnNjVz/.assets/logos/ei-logo-dark.svg?fit=max\u0026auto=format\u0026n=K7zNEaqi2bZnNjVz\u0026q=85\u0026s=6c5887f8e79896f1ca3c3a63d5477761"},"favicon":"https://mintcdn.com/edgeimpulse/HzwDHenmvHu0xumg/.assets/favicon.svg?fit=max\u0026auto=format\u0026n=HzwDHenmvHu0xumg\u0026q=85\u0026s=5d3672f264e068f096f0ccfeff030489","appearance":{"default":"light"},"navbar":{"links":[{"href":"https://edgeimpulse.com/","label":"Website"},{"href":"https://studio.edgeimpulse.com","label":"Login"}],"primary":{"type":"button","label":"Sign up","href":"https://edgeimpulse.com/signup"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/edgeimpulse","youtube":"https://www.youtube.com/@EdgeImpulse","x":"https://x.com/edgeimpulse"},"links":[{"header":"Policies","items":[{"label":"Responsible AI","href":"https://www.qualcomm.com/site/responsible-ai-license"},{"label":"Privacy","href":"https://www.edgeimpulse.com/legal/privacy-policy"},{"label":"Cookies","href":"https://www.qualcomm.com/site/privacy/cookies"}]},{"header":"Legal","items":[{"label":"Terms of Use","href":"https://www.qualcomm.com/site/terms-of-use"},{"label":"Accessibility","href":"https://www.qualcomm.com/accessibility"}]}]},"seo":{"metatags":{"canonical":"https://docs.edgeimpulse.com"}},"icons":{"library":"fontawesome"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":true},"contextual":{"options":["copy","view","assistant"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Forum","icon":"discourse","href":"https://forum.edgeimpulse.com"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/edgeimpulse"},{"anchor":"GitHub","icon":"github","href":"https://github.com/edgeimpulse"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"edgeimpulse","hasAudioNarration":false,"actualSubdomain":"edgeimpulse","customDomains":["docs.edgeimpulse.com"],"gitSource":{"type":"github","owner":"edgeimpulse","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae2931d32d9b4ba8a7f5edf","collectionId":"0a3eb521-9a93-4591-9452-c58dcc143c16","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae2931d32d9b4ba8a7f5edf"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae2931d32d9b4ba8a7f5edf","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Tools","count":1305},{"language":"default","tag":"LIBRARIES","count":1279},{"language":"default","tag":"Studio Python API bindings","count":1245},{"language":"default","tag":"edgeimpulse-api","count":1244},{"language":"default","tag":"models","count":1211},{"language":"default","tag":"APIs","count":563},{"language":"default","tag":"STUDIO API ENDPOINTS","count":555},{"language":"default","tag":"Projects","count":272},{"language":"default","tag":"EXPERT NETWORK","count":211},{"language":"default","tag":"Hardware","count":123}]},"assistantConfig":{"enableStarterQuestions":true,"enableContextualStarterQuestions":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":".styles/styles.css","content":".cookie-settings-button{color:rgb(var(--gray-800))!important;background-color:rgb(var(--gray-950)/.03)!important;border-radius:var(--rounded-xl, .75rem);font-size:.875rem!important;line-height:1.25rem!important;width:fit-content!important;align-self:flex-end!important;margin-left:auto!important}.cookie-settings-button:hover{background-color:rgb(var(--gray-950)/.1)!important}"}],"page":{"pagePath":"studio/projects/live-classification","slug":"/studio/projects/live-classification","pageMetadata":{"title":"Live classification","description":"Run your impulse on a single new sample to see, window by window, what the model predicts before you deploy it.","href":"/studio/projects/live-classification"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Run your impulse on a single new sample to see, window by window, what the model predicts before you deploy it.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Frame,Heading,Note,OptimizedImage,Tab,Table,Tabs,Tip}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Live classification runs your current impulse over one sample and shows you what the model predicts. The sample is usually captured from a connected device, so you can try the model on real data before you deploy it.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/studio/projects/model-testing`,children:`Model testing`}),` scores your whole labeled test set and reports overall accuracy. Live classification shows the results for one sample in detail, so you can see how the model handles a specific input.`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How it works`}),`\n`,_jsxs(_components.p,{children:[`Edge Impulse moves a sliding window across the sample, using the window size and window increase configured in your `,_jsx(_components.a,{href:`/studio/projects/impulse-design`,children:`impulse`}),`, runs the DSP and learning blocks on each window, and returns one result per window.`]}),`\n`,_jsx(_components.p,{children:`Keep in mind:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Each window gets its own result.`}),` A two-second recording with a one-second window and a 100 ms increase produces around eleven results, and they can disagree with each other.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The window settings come from the impulse`}),`, so changing the window length in your impulse also changes live classification results.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Each learning block reports separately.`}),` An impulse with a classifier and an anomaly block gives you a confidence per label from the first and an anomaly score from the second, for every window.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Results are compared against the sample’s label`}),` when it has one, so you can see which windows were misclassified.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The float32 model is used by default.`}),` You can classify against the int8 model, or against several `,_jsx(_components.a,{href:`/studio/projects/model-testing`,children:`model variants`}),` at once, to see where quantization changes a prediction.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`If your project has more than one `,_jsx(_components.a,{href:`/studio/projects/experiments`,children:`experiment`}),`, live classification runs against the impulse you have selected, so switching impulses and reclassifying the same sample is a direct comparison.`]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Studio warns you if the sample is already in your training set. The model learned from that sample, so classify a new one to see how the model handles data it hasn’t seen.`})}),`\n`,_jsx(Heading,{level:`2`,id:`capturing-a-sample`,children:`Capturing a sample`}),`\n`,_jsxs(_components.p,{children:[`Connect the source you want to sample from, then click `,_jsx(_components.strong,{children:`Start sampling`}),`. Everything connected to your project appears under `,_jsx(_components.a,{href:`/studio/projects/devices`,children:_jsx(_components.strong,{children:`Devices`})}),`.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A development board`}),` connected over the `,_jsx(_components.a,{href:`/tools/clis/edge-impulse-cli`,children:`Edge Impulse CLI`}),` or WebUSB. This is the most representative option, because the data passes through the same sensor and firmware as it will in production.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Your mobile phone.`}),` Go to `,_jsx(_components.strong,{children:`Devices`}),`, click `,_jsx(_components.strong,{children:`Connect a new device`}),`, select `,_jsx(_components.strong,{children:`Use your mobile phone`}),`, and scan the QR code. Then click `,_jsx(_components.strong,{children:`Switch to classification mode`}),` and start sampling.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Your computer.`}),` Go to `,_jsx(_components.strong,{children:`Devices`}),`, click `,_jsx(_components.strong,{children:`Connect a new device`}),`, select `,_jsx(_components.strong,{children:`Use your computer`}),`, and grant the browser access to your microphone or camera. Then click `,_jsx(_components.strong,{children:`Switch to classification mode`}),` and start sampling.`]}),`\n`]}),`\n`,_jsx(Frame,{caption:`Connected devices available for live classification.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/edgeimpulse/_c2MlV3xqBGAqJST/.assets/images/live-classification.PNG?fit=max\u0026auto=format\u0026n=_c2MlV3xqBGAqJST\u0026q=85\u0026s=75bb0c485b368a5481d3222dd552eba1`,alt:`Live classification devices panel listing connected boards available for sampling`,\"data-og-width\":`1045`,width:`1045`,\"data-og-height\":`433`,height:`433`,\"data-path\":`.assets/images/live-classification.PNG`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/edgeimpulse/_c2MlV3xqBGAqJST/.assets/images/live-classification.PNG?w=280\u0026fit=max\u0026auto=format\u0026n=_c2MlV3xqBGAqJST\u0026q=85\u0026s=8dc9da790542d992a9871f6a95300752 280w, https://mintcdn.com/edgeimpulse/_c2MlV3xqBGAqJST/.assets/images/live-classification.PNG?w=560\u0026fit=max\u0026auto=format\u0026n=_c2MlV3xqBGAqJST\u0026q=85\u0026s=fb99ae351a7e3d89c6838939ea2b9e4d 560w, https://mintcdn.com/edgeimpulse/_c2MlV3xqBGAqJST/.assets/images/live-classification.PNG?w=840\u0026fit=max\u0026auto=format\u0026n=_c2MlV3xqBGAqJST\u0026q=85\u0026s=631936cae68c19621075318ac544d77f 840w, https://mintcdn.com/edgeimpulse/_c2MlV3xqBGAqJST/.assets/images/live-classification.PNG?w=1100\u0026fit=max\u0026auto=format\u0026n=_c2MlV3xqBGAqJST\u0026q=85\u0026s=ef9d72a804c455e368b80da434cb6666 1100w, https://mintcdn.com/edgeimpulse/_c2MlV3xqBGAqJST/.assets/images/live-classification.PNG?w=1650\u0026fit=max\u0026auto=format\u0026n=_c2MlV3xqBGAqJST\u0026q=85\u0026s=142e31e8d2c57f0742d03cfce4843a01 1650w, https://mintcdn.com/edgeimpulse/_c2MlV3xqBGAqJST/.assets/images/live-classification.PNG?w=2500\u0026fit=max\u0026auto=format\u0026n=_c2MlV3xqBGAqJST\u0026q=85\u0026s=496730dd455c03dbbab08a2679155bcc 2500w`})}),`\n`,_jsx(Frame,{caption:`Connecting a mobile phone for live classification.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/edgeimpulse/O-6Yv5nSVCNsemg-/.assets/images/live-mobile.PNG?fit=max\u0026auto=format\u0026n=O-6Yv5nSVCNsemg-\u0026q=85\u0026s=11ebf0675e000fa3eedd121c8152be65`,alt:`Mobile phone connection screen with QR code for live classification`,\"data-og-width\":`1351`,width:`1351`,\"data-og-height\":`614`,height:`614`,\"data-path\":`.assets/images/live-mobile.PNG`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/edgeimpulse/O-6Yv5nSVCNsemg-/.assets/images/live-mobile.PNG?w=280\u0026fit=max\u0026auto=format\u0026n=O-6Yv5nSVCNsemg-\u0026q=85\u0026s=a520b39945c0a4f3e527fd129bfb739b 280w, https://mintcdn.com/edgeimpulse/O-6Yv5nSVCNsemg-/.assets/images/live-mobile.PNG?w=560\u0026fit=max\u0026auto=format\u0026n=O-6Yv5nSVCNsemg-\u0026q=85\u0026s=c7fbbfed79674c833855c2a4c9b78955 560w, https://mintcdn.com/edgeimpulse/O-6Yv5nSVCNsemg-/.assets/images/live-mobile.PNG?w=840\u0026fit=max\u0026auto=format\u0026n=O-6Yv5nSVCNsemg-\u0026q=85\u0026s=07ee4257627102a8a8d87059309c8e21 840w, https://mintcdn.com/edgeimpulse/O-6Yv5nSVCNsemg-/.assets/images/live-mobile.PNG?w=1100\u0026fit=max\u0026auto=format\u0026n=O-6Yv5nSVCNsemg-\u0026q=85\u0026s=c2a055ac60bd66718119aae55302dc02 1100w, https://mintcdn.com/edgeimpulse/O-6Yv5nSVCNsemg-/.assets/images/live-mobile.PNG?w=1650\u0026fit=max\u0026auto=format\u0026n=O-6Yv5nSVCNsemg-\u0026q=85\u0026s=f2d7b47089f15fa980b5db3f00b983b3 1650w, https://mintcdn.com/edgeimpulse/O-6Yv5nSVCNsemg-/.assets/images/live-mobile.PNG?w=2500\u0026fit=max\u0026auto=format\u0026n=O-6Yv5nSVCNsemg-\u0026q=85\u0026s=a285a9f36e648634004d318904e1b8a3 2500w`})}),`\n`,_jsx(_components.p,{children:`You can also classify a sample that is already in your project, or upload a file, so you can rerun the same input without recapturing it.`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`If a model behaves differently on your device than in Studio, sample from the device itself rather than from your phone. Differences in sensor placement, sample rate, or mounting can make the device’s data look different from your training data.`})}),`\n`,_jsx(Heading,{level:`2`,id:`reading-the-results-for-object-detection`,children:`Reading the results for object detection`}),`\n`,_jsxs(_components.p,{children:[`Object detection projects show detections rather than a confidence per label. Use the dropdown above the image to switch between the `,_jsx(_components.strong,{children:`Side by side`}),` and `,_jsx(_components.strong,{children:`Overlay`}),` views.`]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`SSD MobileNet V2`,id:`ssd-mobilenet-v2`,\"data-child-heading-ids\":`[\"side-by-side\",\"overlay\",\"summary-table\"]`,children:[_jsx(_components.p,{children:`Employs a Single Shot MultiBox Detector (SSD) with a MobileNet V2 backbone for object detection. This model is optimized for running on MCUs and CPUs.`}),_jsx(Heading,{level:`4`,id:`side-by-side`,children:`Side by side`}),_jsx(Frame,{caption:`The labeled ground truth above the model's predictions.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-side-by-side-lamp.png?fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=267f60d63f9f28927278ab28f93f9706`,alt:`Object detection result in side-by-side mode with detections and confidence scores`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`806`,height:`806`,\"data-path\":`.assets/images/od-side-by-side-lamp.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-side-by-side-lamp.png?w=280\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=f612356f637b06192384743f57cd06d3 280w, https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-side-by-side-lamp.png?w=560\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=96a3c7c96d6035ebc31c4e3ff48fc9a5 560w, https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-side-by-side-lamp.png?w=840\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=941a5aa464d09bd6c86995300100c2df 840w, https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-side-by-side-lamp.png?w=1100\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=08c184005352b5f034b9485698205fac 1100w, https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-side-by-side-lamp.png?w=1650\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=a3c1e4c38112a7fc03f0654380d98c5d 1650w, https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-side-by-side-lamp.png?w=2500\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=dfeb6c5949fb5f09ea22ccb215be3fb4 2500w`})}),_jsx(_components.p,{children:`The top image shows the ground truth labels and the bottom image shows the predicted bounding boxes, each with a class and a confidence score. Comparing the two makes it easy to spot objects the model missed.`}),_jsx(Heading,{level:`4`,id:`overlay`,children:`Overlay`}),_jsx(Frame,{caption:`Detections superimposed on the original image.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-overlay-lamp.png?fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=f18fa57262394b183b6bed37f737404c`,alt:`Object detection overlay mode with detections drawn over the original image`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`806`,height:`806`,\"data-path\":`.assets/images/od-overlay-lamp.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-overlay-lamp.png?w=280\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=32f935e31b25537019add84db04c5a28 280w, https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-overlay-lamp.png?w=560\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=9beef3b31102684a2273619172579893 560w, https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-overlay-lamp.png?w=840\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=db382918919ea043f7da907a24724e2e 840w, https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-overlay-lamp.png?w=1100\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=dda65256cea1c990aa78a68d6e3f288c 1100w, https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-overlay-lamp.png?w=1650\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=e6d0b7a75f08a756fd43fb3e417ece30 1650w, https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-overlay-lamp.png?w=2500\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=82ce7637c5233759d6d15f5702be4940 2500w`})}),_jsx(_components.p,{children:`Bounding boxes are drawn directly on the image, with labels and confidence scores in context. Use this view to check how closely the boxes fit the objects.`}),_jsx(Heading,{level:`4`,id:`summary-table`,children:`Summary table`}),_jsx(Frame,{caption:`Per-sample summary of what the model detected.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-table-lamp.png?fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=d4d739a777fcd1732718a5dd2cd516fd`,alt:`Object detection summary table with predictions for a selected sample file`,\"data-og-width\":`801`,width:`801`,\"data-og-height\":`527`,height:`527`,\"data-path\":`.assets/images/od-table-lamp.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-table-lamp.png?w=280\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=17fc773d5c1eb52b3018192db1b6619d 280w, https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-table-lamp.png?w=560\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=866b4a562b531cf9eb8d213f49b91295 560w, https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-table-lamp.png?w=840\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=03e2b2de8e44edaa133dfa4acfc6dfba 840w, https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-table-lamp.png?w=1100\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=3728904fb72947f4c7e19e3b9aa4d1d6 1100w, https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-table-lamp.png?w=1650\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=b0aedb2a256b5cc79bd2d4a42c36859a 1650w, https://mintcdn.com/edgeimpulse/gFdZuMrTME9p3UIR/.assets/images/od-table-lamp.png?w=2500\u0026fit=max\u0026auto=format\u0026n=gFdZuMrTME9p3UIR\u0026q=85\u0026s=e8ca5eaba58476c844e48d1e797bcfd3 2500w`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Name`}),` is the name of the classified sample, for example `,_jsx(_components.code,{children:`sample.jpg.22l74u4f`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Category`}),` lists the classes the model was trained to detect, here `,_jsx(_components.code,{children:`coffee`}),` and `,_jsx(_components.code,{children:`lamp`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Count`}),` is how many times each class was detected in this sample.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Info`}),` shows the precision score, the model’s accuracy across a range of Intersection over Union (IoU) values, known as mean average precision (mAP).`]}),`\n`]})]}),_jsxs(Tab,{title:`FOMO`,id:`fomo`,\"data-child-heading-ids\":`[\"side-by-side-2\",\"overlay-2\",\"summary-table-2\",\"display-controls\"]`,children:[_jsx(_components.p,{children:`Employs centroids for detecting object locations. Runs on high-end MCUs as well as CPUs and GPUs.`}),_jsx(Heading,{level:`4`,id:`side-by-side-2`,children:`Side by side`}),_jsx(Frame,{caption:`The labeled ground truth above FOMO's centroid predictions.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-side-by-side.png?fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=3c5c03cd78a0710906bdc7a4979f03ae`,alt:`FOMO side-by-side live classification view with centroid detections`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`826`,height:`826`,\"data-path\":`.assets/images/fomo-side-by-side.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-side-by-side.png?w=280\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=9d726137207cb969d5a9c9c858c70e59 280w, https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-side-by-side.png?w=560\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=962c0e541803c56c800695a49b2bad78 560w, https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-side-by-side.png?w=840\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=3914ede143add5b4418752173b5e5923 840w, https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-side-by-side.png?w=1100\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=0f5e7d49652cca25252291a5c1dab3d3 1100w, https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-side-by-side.png?w=1650\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=2b118c3cf3df01bfab92f0ab6c7a997b 1650w, https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-side-by-side.png?w=2500\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=c6beeac5039449a7d273d01f2b444faf 2500w`})}),_jsx(_components.p,{children:`In the image above, the model found 7 of the 11 labeled cars. FOMO predicts centroids rather than boxes, so check whether each object was found and counted.`}),_jsx(Heading,{level:`4`,id:`overlay-2`,children:`Overlay`}),_jsx(Frame,{caption:`FOMO detections drawn over the original image.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-overlay.png?fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=324a4706830131c252f51adca73ebbb4`,alt:`FOMO overlay live classification view with detections over the image`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`826`,height:`826`,\"data-path\":`.assets/images/fomo-overlay.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-overlay.png?w=280\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=ec3a65dfd6217237f88c976c0bc04ae7 280w, https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-overlay.png?w=560\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=79ecf0b412794f248f8a95e79d6abea0 560w, https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-overlay.png?w=840\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=ab700e66b1ef041daa690aa45f44255f 840w, https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-overlay.png?w=1100\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=efb0b51354335618e273f1fc6fc1967c 1100w, https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-overlay.png?w=1650\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=ef9e63772d072d2dd94348e1f9628798 1650w, https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-overlay.png?w=2500\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=f9d30066a0fa61eef245072a0fb95098 2500w`})}),_jsx(Heading,{level:`4`,id:`summary-table-2`,children:`Summary table`}),_jsx(Frame,{caption:`Per-sample summary of FOMO detections.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-predictions-right.png?fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=97abae0ff12efe43733291e85789bf09`,alt:`FOMO prediction summary table listing classes and confidence scores`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`826`,height:`826`,\"data-path\":`.assets/images/fomo-predictions-right.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-predictions-right.png?w=280\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=9c1dfb80684761f54cbd886e4c4b57e6 280w, https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-predictions-right.png?w=560\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=8037e65e7b36b1ac88ef458e6c634c5d 560w, https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-predictions-right.png?w=840\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=70681e38fade811d258c8106589f2bc4 840w, https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-predictions-right.png?w=1100\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=8e791482c2235258e97f5ce98e1cb513 1100w, https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-predictions-right.png?w=1650\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=5b1414d0f314b918026a235a449be725 1650w, https://mintcdn.com/edgeimpulse/8gSv6x4dEVbIP2Vj/.assets/images/fomo-predictions-right.png?w=2500\u0026fit=max\u0026auto=format\u0026n=8gSv6x4dEVbIP2Vj\u0026q=85\u0026s=44831fcadd5e160ba768cb61f8222129 2500w`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Category`}),` is the class label, for example `,_jsx(_components.code,{children:`car`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Count`}),` is how many instances were detected.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Info`}),` shows metrics for counting tasks:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`F1 score`}),` balances precision and recall.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Precision`}),` is how many detections were correct.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Recall`}),` is how many of the objects actually present were found.`]}),`\n`]}),`\n`]}),`\n`]}),_jsx(_components.p,{children:`High precision with low recall means the model is missing objects. High recall with low precision means it is detecting objects that aren’t there. Check both numbers together.`}),_jsx(Heading,{level:`4`,id:`display-controls`,children:`Display controls`}),_jsx(_components.p,{children:`Use the controls in the bottom right to filter what is drawn, which helps you find errors in a crowded image.`}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Predictions`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Show all`}),` displays every detection with its confidence score.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Show correct only`}),` isolates the detections that matched a ground truth label.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Show incorrect only`}),` isolates the false positives.`]}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Ground truth`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Show all`}),` or `,_jsx(_components.strong,{children:`Hide all`}),` the original labels.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Show detected only`}),` displays the labels the model found.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Show undetected only`}),` displays the labels the model missed.`]}),`\n`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`api-reference`,children:`API reference`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Endpoint`}),_jsx(_components.th,{children:`Use`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/apis/studio/classify/classify-sample`,children:`Classify sample`})}),_jsx(_components.td,{children:`Run the current impulse over one sample and get a result per window`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/apis/studio/classify/classify-sample-for-the-given-set-of-variants`,children:`Classify sample for the given set of variants`})}),_jsx(_components.td,{children:`Classify the same sample with several model variants at once`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`additional-resources`,children:`Additional resources`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/studio/projects/model-testing`,children:`Model testing`}),` for aggregate accuracy across the test set`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/studio/projects/devices`,children:`Devices`}),` for connecting a board, phone, or computer`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/studio/projects/impulse-design`,children:`Impulse design`}),` for the window settings that live classification uses`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Live classification","description":"Run your impulse on a single new sample to see, window by window, what the model predicts before you deploy it.","href":"/studio/projects/live-classification"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How it works","slug":"how-it-works","depth":2,"children":[]},{"title":"Capturing a sample","slug":"capturing-a-sample","depth":2,"children":[]},{"title":"Reading the results for object detection","slug":"reading-the-results-for-object-detection","depth":2,"children":[{"title":"Side by side","slug":"side-by-side","depth":4,"children":[],"tabId":"ssd-mobilenet-v2"},{"title":"Overlay","slug":"overlay","depth":4,"children":[],"tabId":"ssd-mobilenet-v2"},{"title":"Summary table","slug":"summary-table","depth":4,"children":[],"tabId":"ssd-mobilenet-v2"},{"title":"Side by side","slug":"side-by-side-2","depth":4,"children":[],"tabId":"fomo"},{"title":"Overlay","slug":"overlay-2","depth":4,"children":[],"tabId":"fomo"},{"title":"Summary table","slug":"summary-table-2","depth":4,"children":[],"tabId":"fomo"},{"title":"Display controls","slug":"display-controls","depth":4,"children":[],"tabId":"fomo"}]},{"title":"API reference","slug":"api-reference","depth":2,"children":[]},{"title":"Additional resources","slug":"additional-resources","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/edgeimpulse/3a20e79a9abf6af7/.scripts/adobe-analytics.js"],"subdomain":"edgeimpulse","siteName":"Edge Impulse Documentation","title":"Live classification - Edge Impulse Documentation","contextualStarterQuestions":[{"_id":"6ac78d52407b2b5b5aa3947a","deploymentId":"6888ecea7bd5ed3e5d2f677d","questionText":"Why are my results disagreeing?","status":"active","generatedBy":"contextual","path":"studio/projects/live-classification","createdAt":"2026-10-08T12:32:18.420Z","updatedAt":"2026-10-08T12:32:18.420Z","__v":0},{"_id":"6ac78d52407b2b5b5aa39478","deploymentId":"6888ecea7bd5ed3e5d2f677d","questionText":"How does live classification work?","status":"active","generatedBy":"contextual","path":"studio/projects/live-classification","createdAt":"2026-10-08T12:32:18.420Z","updatedAt":"2026-10-08T12:32:18.420Z","__v":0},{"_id":"6ac78d52407b2b5b5aa39479","deploymentId":"6888ecea7bd5ed3e5d2f677d","questionText":"Can I test multiple model variants?","status":"active","generatedBy":"contextual","path":"studio/projects/live-classification","createdAt":"2026-10-08T12:32:18.420Z","updatedAt":"2026-10-08T12:32:18.420Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-06T11:34:12.627Z","originalFileLocation":"studio/projects/live-classification.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Run your impulse on a single new sample to see, window by window, what the model predicts before you deploy it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Edge Impulse Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/edgeimpulse/ZmtueQz3qIhQbHQ2/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/edgeimpulse/ZmtueQz3qIhQbHQ2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/edgeimpulse/ZmtueQz3qIhQbHQ2/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/edgeimpulse/ZmtueQz3qIhQbHQ2/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/edgeimpulse/ZmtueQz3qIhQbHQ2/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/edgeimpulse/ZmtueQz3qIhQbHQ2/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/edgeimpulse/ZmtueQz3qIhQbHQ2/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/edgeimpulse/ZmtueQz3qIhQbHQ2/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/edgeimpulse/ZmtueQz3qIhQbHQ2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Live classification - Edge Impulse Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Run your impulse on a single new sample to see, window by window, what the model predicts before you deploy it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Edge Impulse Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.edgeimpulse.com/studio/projects/live-classification\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://edgeimpulse.mintlify.app/_mintlify/api/og/v2?division=PROJECTS\u0026amp;title=Live+classification\u0026amp;description=Run+your+impulse+on+a+single+new+sample+to+see%2C+window+by+window%2C+what+the+model+predicts+before+you+deploy+it.\u0026amp;theme=c0871bc4d614d2e3b7bd2b2d\u0026amp;signature=fbbf1478d139b145664eb31d6eb3829002a3a4160ccf72b14d035d275518a2a0\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Live classification - Edge Impulse Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Run your impulse on a single new sample to see, window by window, what the model predicts before you deploy it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://edgeimpulse.mintlify.app/_mintlify/api/og/v2?division=PROJECTS\u0026amp;title=Live+classification\u0026amp;description=Run+your+impulse+on+a+single+new+sample+to+see%2C+window+by+window%2C+what+the+model+predicts+before+you+deploy+it.\u0026amp;theme=c0871bc4d614d2e3b7bd2b2d\u0026amp;signature=fbbf1478d139b145664eb31d6eb3829002a3a4160ccf72b14d035d275518a2a0\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/edgeimpulse/ZmtueQz3qIhQbHQ2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Edge Impulse Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5f76db\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.edgeimpulse.com/studio/projects/live-classification\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/studio/projects/live-classification.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.edgeimpulse.com/#organization\",\"name\":\"Edge Impulse Documentation\",\"url\":\"https://docs.edgeimpulse.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/edgeimpulse/-Yjt9HB8VCOXQC8H/.assets/logos/ei-logo-light.svg?fit=max\u0026auto=format\u0026n=-Yjt9HB8VCOXQC8H\u0026q=85\u0026s=a26ac03680700105c38fa0507df4fee2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.edgeimpulse.com#website\",\"name\":\"Edge Impulse Documentation\",\"url\":\"https://docs.edgeimpulse.com\",\"publisher\":{\"@id\":\"https://docs.edgeimpulse.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.edgeimpulse.com/studio/projects/live-classification#webpage\",\"url\":\"https://docs.edgeimpulse.com/studio/projects/live-classification\",\"name\":\"Live classification\",\"description\":\"Run your impulse on a single new sample to see, window by window, what the model predicts before you deploy it.\",\"dateModified\":\"2026-10-06T11:34:12.627Z\",\"isPartOf\":{\"@id\":\"https://docs.edgeimpulse.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.edgeimpulse.com/studio/projects/live-classification#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.edgeimpulse.com/studio/projects/live-classification#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"PROJECTS\",\"item\":\"https://docs.edgeimpulse.com/studio/projects/dashboard\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Live classification\",\"item\":\"https://docs.edgeimpulse.com/studio/projects/live-classification\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.edgeimpulse.com/studio/projects/live-classification#article\",\"headline\":\"Live classification\",\"name\":\"Live classification\",\"description\":\"Run your impulse on a single new sample to see, window by window, what the model predicts before you deploy it.\",\"url\":\"https://docs.edgeimpulse.com/studio/projects/live-classification\",\"mainEntityOfPage\":{\"@id\":\"https://docs.edgeimpulse.com/studio/projects/live-classification#webpage\"},\"dateModified\":\"2026-10-06T11:34:12.627Z\",\"publisher\":{\"@id\":\"https://docs.edgeimpulse.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.edgeimpulse.com#website\"}}]}\u003c/script>","siteName":"Edge Impulse Documentation","nav":{"global":{"anchors":[{"anchor":"Forum","icon":"discourse","href":"https://forum.edgeimpulse.com"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/edgeimpulse"},{"anchor":"GitHub","icon":"github","href":"https://github.com/edgeimpulse"}]},"tabs":[{"tab":"Knowledge","pages":[{"title":"Knowledge","href":""}]},{"tab":"Studio","groups":[{"group":"OVERVIEW","icon":"map","pages":[{"title":"Studio","href":"/studio"},{"title":"Account settings","sidebarTitle":"Account settings","href":"/studio/account-settings"}]},{"group":"PROJECTS","icon":"folder-tree","pages":[{"group":"Dashboard","pages":[{"title":"Dashboard","sidebarTitle":"Overview","href":"/studio/projects/dashboard"},{"title":"API keys","href":"/studio/projects/dashboard/api-keys"},{"title":"Target device","href":"/studio/projects/dashboard/target-device"},{"title":"Bring your own model (BYOM)","href":"/studio/projects/dashboard/byom"}]},{"title":"Devices","href":"/studio/projects/devices"},{"group":"Data acquisition","pages":[{"title":"Data acquisition","sidebarTitle":"Overview","href":"/studio/projects/data-acquisition"},{"group":"Dataset","pages":[{"title":"Dataset","sidebarTitle":"Overview","href":"/studio/projects/data-acquisition/dataset"},{"title":"Uploader","href":"/studio/projects/data-acquisition/dataset/uploader"},{"title":"Define dataset split","sidebarTitle":"Splits","href":"/studio/projects/data-acquisition/dataset/splits"},{"title":"Metadata","href":"/studio/projects/data-acquisition/dataset/metadata"},{"title":"Multi-label data","href":"/studio/projects/data-acquisition/dataset/multi-label"},{"title":"Tabular data","href":"/studio/projects/data-acquisition/dataset/tabular-data"},{"title":"Advanced dataset settings","sidebarTitle":"Advanced settings","href":"/studio/projects/data-acquisition/dataset/advanced-settings"}]},{"title":"Data explorer","href":"/studio/projects/data-acquisition/data-explorer"},{"title":"Data sources","href":"/studio/projects/data-acquisition/data-sources"},{"title":"Synthetic data","href":"/studio/projects/data-acquisition/synthetic-data"},{"title":"Labeling queue","href":"/studio/projects/data-acquisition/labeling-queue"},{"title":"AI labeling","href":"/studio/projects/data-acquisition/ai-labeling"},{"title":"CSV Wizard","href":"/studio/projects/data-acquisition/csv-wizard"}]},{"title":"Experiments","href":"/studio/projects/experiments"},{"group":"EON Tuner","pages":[{"title":"EON Tuner","sidebarTitle":"Overview","href":"/studio/projects/eon-tuner"},{"title":"Search space","href":"/studio/projects/eon-tuner/search-space"}]},{"title":"Impulse design","href":"/studio/projects/impulse-design"},{"group":"Processing blocks","pages":[{"title":"Processing blocks","sidebarTitle":"Overview","href":"/studio/projects/processing-blocks"},{"title":"Feature explorer","href":"/studio/projects/processing-blocks/feature-explorer"},{"group":"Blocks","pages":[{"title":"Audio MFCC","href":"/studio/projects/processing-blocks/blocks/audio-mfcc"},{"title":"Audio MFE","href":"/studio/projects/processing-blocks/blocks/audio-mfe"},{"title":"Audio Syntiant","href":"/studio/projects/processing-blocks/blocks/audio-syntiant"},{"title":"EEG","href":"/studio/projects/processing-blocks/blocks/eeg"},{"title":"Flatten","href":"/studio/projects/processing-blocks/blocks/flatten"},{"title":"HR/HRV","href":"/studio/projects/processing-blocks/blocks/hr-hrv"},{"title":"Image","href":"/studio/projects/processing-blocks/blocks/image"},{"title":"IMU Syntiant","href":"/studio/projects/processing-blocks/blocks/imu-syntiant"},{"title":"Raw data","href":"/studio/projects/processing-blocks/blocks/raw-data"},{"title":"Spectral analysis","href":"/studio/projects/processing-blocks/blocks/spectral-analysis"},{"title":"Spectrogram","href":"/studio/projects/processing-blocks/blocks/spectrogram"},{"title":"Custom processing blocks","href":"/studio/organizations/custom-blocks/custom-processing-blocks"}]}]},{"group":"Learning blocks","pages":[{"title":"Learning blocks","sidebarTitle":"Overview","href":"/studio/projects/learning-blocks"},{"title":"Expert mode","href":"/studio/projects/learning-blocks/expert-mode"},{"title":"Training graphs","href":"/studio/projects/learning-blocks/training-graphs"},{"group":"Blocks","pages":[{"title":"Anomaly detection","href":"/studio/projects/learning-blocks/blocks/anomaly-detection-custom"},{"title":"Anomaly detection (GMM)","href":"/studio/projects/learning-blocks/blocks/anomaly-detection-gmm"},{"title":"Anomaly detection (K-means)","href":"/studio/projects/learning-blocks/blocks/anomaly-detection-k-means"},{"title":"Classification","href":"/studio/projects/learning-blocks/blocks/classification"},{"title":"Classical ML","href":"/studio/projects/learning-blocks/blocks/classical-ml"},{"group":"Object detection","pages":[{"title":"Object detection","sidebarTitle":"Overview","href":"/studio/projects/learning-blocks/blocks/object-detection"},{"title":"YOLO-Pro","href":"/studio/projects/learning-blocks/blocks/object-detection/yolo-pro"},{"title":"FOMO","href":"/studio/projects/learning-blocks/blocks/object-detection/fomo"},{"title":"MobileNetV2 SSD FPN","href":"/studio/projects/learning-blocks/blocks/object-detection/mobilenetv2-ssd-fpn"}]},{"title":"Regression","href":"/studio/projects/learning-blocks/blocks/regression"},{"title":"Transfer learning (images)","href":"/studio/projects/learning-blocks/blocks/transfer-learning-images"},{"title":"Transfer learning (keyword spotting)","href":"/studio/projects/learning-blocks/blocks/transfer-learning-keyword"},{"title":"Visual anomaly detection (FOMO-AD)","href":"/studio/projects/learning-blocks/blocks/visual-anomaly-detection-fomo-ad"},{"title":"Custom learning blocks","href":"/studio/organizations/custom-blocks/custom-learning-blocks"},{"title":"NVIDIA TAO","tag":"deprecated","href":"/studio/projects/learning-blocks/blocks/nvidia-tao"}]}]},{"title":"Retrain model","description":"Regenerate features and retrain an existing impulse in one step after adding data to a project.","href":"/studio/projects/retrain-model"},{"title":"Live classification","href":"/studio/projects/live-classification"},{"title":"Model testing","description":"Evaluate a trained model on held-out test data, read the confusion matrix, and tune per-block thresholds.","href":"/studio/projects/model-testing"},{"title":"Performance calibration","href":"/studio/projects/performance-calibration"},{"group":"Post-processing","pages":[{"title":"Object tracking","href":"/studio/projects/post-processing/object-tracking"}]},{"group":"Deployment","pages":[{"title":"Deployment","sidebarTitle":"Overview","href":"/studio/projects/deployment"},{"title":"EON Compiler","href":"/studio/projects/deployment/eon-compiler"},{"title":"EON Operator Matrix (TensorFlow 2.19)","sidebarTitle":" Operator matrix (2.19)","mode":"wide","href":"/studio/projects/deployment/eon-compiler-operator-matrix-2-19"},{"title":"Custom deployment blocks","href":"/studio/organizations/custom-blocks/custom-deployment-blocks"},{"title":"Multi-project deployment","href":"/studio/organizations/multi-project-deployment"}]},{"title":"Versioning","href":"/studio/projects/versioning"}]},{"group":"ORGANIZATIONS","icon":"building","pages":[{"title":"Dashboard","href":"/studio/organizations/dashboard"},{"title":"Data campaigns","href":"/studio/organizations/data-campaigns"},{"title":"Users","href":"/studio/organizations/users"},{"title":"Projects","href":"/studio/organizations/projects"},{"title":"Multi-project deployment","href":"/studio/organizations/multi-project-deployment"},{"group":"Data","pages":[{"title":"Data","sidebarTitle":"Overview","href":"/studio/organizations/data"},{"title":"Cloud data storage","href":"/studio/organizations/data/cloud-data-storage"}]},{"title":"Data pipelines","href":"/studio/organizations/data-pipelines"},{"title":"Data transformation","href":"/studio/organizations/data-transformation"},{"group":"Transformation blocks","pages":[{"title":"Transformation blocks","sidebarTitle":"Overview","href":"/studio/organizations/transformation-blocks"},{"group":"Blocks","pages":[{"title":"Time-series data augmentation","href":"/studio/organizations/transformation-blocks/blocks/time-series-data-augmentation"}]}]},{"title":"Upload portals","href":"/studio/organizations/upload-portals"},{"group":"Custom blocks","pages":[{"title":"Custom blocks","sidebarTitle":"Overview","href":"/studio/organizations/custom-blocks"},{"title":"Custom AI labeling blocks","href":"/studio/organizations/custom-blocks/custom-ai-labeling-blocks"},{"title":"Custom deployment blocks","href":"/studio/organizations/custom-blocks/custom-deployment-blocks"},{"title":"Custom learning blocks","href":"/studio/organizations/custom-blocks/custom-learning-blocks"},{"title":"Custom processing blocks","href":"/studio/organizations/custom-blocks/custom-processing-blocks"},{"title":"Custom synthetic data blocks","href":"/studio/organizations/custom-blocks/custom-synthetic-data-blocks"},{"title":"Custom transformation blocks","href":"/studio/organizations/custom-blocks/custom-transformation-blocks"}]},{"title":"Secrets","href":"/studio/organizations/secrets"}]}]},{"tab":"Hardware","pages":[{"title":"Hardware","href":"/hardware"}]},{"tab":"Tools","pages":[{"title":"Tools","href":"/tools"}]},{"tab":"APIs","pages":[{"title":"APIs","href":"/apis"}]},{"tab":"Tutorials","pages":[{"title":"Tutorials","href":"/tutorials"}]},{"tab":"Projects","pages":[{"title":"Projects","href":"/projects"}]},{"tab":"Datasets","pages":[{"title":"Datasets","href":"/datasets"}]}]},"basePath":"","title":"Live classification - Edge Impulse Documentation","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-DXXFP6nH.js","DynamicMarkdown-B54_zNBF.js","zoom-image-lightbox-BG6oD64b.js","lightbox-handle-r17bVUz3.js"]}