Set up Raspberry Pi 4 for Edge Impulse, connect peripherals, install the Linux CLI, and troubleshoot deployment.
The Raspberry Pi 4 is a versatile Linux development board with a quad-core processor running at 1.5GHz, a GPIO header to connect sensors, and the ability to easily add an external microphone or camera - and it’s fully supported by Edge Impulse. You’ll be able to sample raw data, build models, and deploy trained machine learning models directly from the Studio.In addition to the Raspberry Pi 4 we recommend that you also add a camera and / or a microphone. Most popular USB webcams and the Camera Module work fine on the development board out of the box.
You can set up your Raspberry Pi without a screen. To do so:
Flash the Raspberry Pi OS image to an SD card using the Raspberry Pi Imager.
You must use 64-bit OS with _aarch64 and 32-bit OS with armv7l_*
During the flashing process, access the Customisation options menu in the Raspberry Pi Imager to preconfigure the following options:
Set your hostname to something memorable (e.g., raspberrypi).
Choose a username and password (as of Bookworm, the default pi/raspberry is no longer available).
Configure your WiFi settings for network architecture (SSID, password).
wpa_supplicant.conf cannot be used from Bookworm onward to set up WiFi and networking. You must use the Pi Imager or the advanced menuraspi-config tool to set up WiFi.
Configure Remote Access by enabling SSH, set the SSH to use password authentication.
You can also create an empty file called ssh in the boot drive to enable SSH if you have not set up SSH through the Raspberry Pi Imager options.
Insert the SD card into your Raspberry Pi 4, and let the device boot up.
Find the IP address of your Raspberry Pi. You can either do this through the DHCP logs in your router or by scanning your network.
You can scan your network on macOS and Linux via:
arp -na | grep -i dc:a6:32
which should return something like:
? (192.168.1.19) at dc:a6:32:f5:b6:7e on en0 ifscope [ethernet]
Here 192.168.1.19 is your IP address.
Connect to the Raspberry Pi over SSH. Open a terminal window on MacOS or Linux and run (replace username with your chosen username). If you’re using Windows, you can use PuTTY or the Windows Subsystem for Linux (WSL) to access SSH:
ssh <username>@192.168.1.19
You can also try using <username>@<hostname> instead of the IP address if your system supports mDNS.
If you are prompted with a security warning about the authenticity of the host, type yes and press Enter then enter your chosen password.
6. You can now run commands directly on your Raspberry Pi through the terminal. Please continue to the next section to install Edge Impulse dependencies.
If you have a screen and a keyboard/mouse attached to your Raspberry Pi:
Flash the Raspberry Pi OS image to an SD card. During the flashing process, access the Customisation options menu in the Raspberry Pi Imager to preconfigure the following options:
Set your hostname to something memorable (e.g., raspberrypi).
Choose a username and password (as of Bookworm, the default pi/raspberry is no longer available).
Configure your WiFi settings for network architecture (SSID, password).
wpa_supplicant.conf cannot be used from Bookworm onward to set up WiFi and networking. You must use the Pi Imager or the advanced menuraspi-config tool to set up WiFi.
Insert the SD card into your Raspberry Pi 5, and let the device boot up.
Connect to your WiFi network via the UI if not already set up during the flashing process.
Click the ‘Terminal’ icon in the top bar of the Raspberry Pi.
You can now run commands directly on your Raspberry Pi through the terminal. Please continue to the next section to install Edge Impulse dependencies.
The following setup instructions are for Raspberry Pi OS Bullseye and older releases. It is recommended to use the latest Raspberry Pi OS Bookworm or newer releases.
You must use 64-bit OS with _aarch64 and 32-bit OS with armv7l_*
To set up WiFi, either use the Raspberry Pi Imager OS Customisation options or after flashing the OS, find the boot mass-storage device on your computer, and create a new file called wpa_supplicant.conf in the boot drive. Add the following code:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdevupdate_config=1country=<Insert 2 letter ISO 3166-1 country code here>network={ ssid="<Name of your wireless LAN>" psk="<Password for your wireless LAN>"}
(Replace the fields marked with <> with your WiFi credentials)
Create an empty file called ssh in the boot drive to enable SSH or set up SSH through the Raspberry Pi Imager “SERVICES” options.
Insert the SD card into your Raspberry Pi 4, and let the device boot up.
Find the IP address of your Raspberry Pi. You can either do this through the DHCP logs in your router, or by scanning your network. E.g., on macOS and Linux via:
arp -na | grep -i dc:a6:32? (192.168.1.19) at dc:a6:32:f5:b6:7e on en0 ifscope [ethernet]
Here 192.168.1.19 is your IP address.
You can also try using raspberrypi.local instead of the IP address if your system supports mDNS.
Connect to the Raspberry Pi over SSH. Open a terminal window and run:
ssh <username>@192.168.1.19
Log in with the default username pi and password raspberry.
Important: Edge Impulse requires Node.js version 20.x or later. Using older versions may lead to installation issues or runtime errors. Please ensure you have the correct version installed before proceeding with the setup.
For CSI cameras (like the Raspberry Pi Camera Module), you also need to install the gstreamer1.0-libcamera package:
sudo apt install gstreamer1.0-libcamera
If you have a Raspberry Pi Camera Module, you also need to activate it first. Run the following commands:
sudo raspi-config
Use the cursor keys to select and open Interfacing Options, and then select Camera and follow the prompt to enable the camera. Then reboot the Raspberry.
You should now be able to run Edge Impulse CLI tools from the container running on your Raspberry.Note that this will only work using an external USB camera.
With all software set up, connect your camera or microphone to your Raspberry Pi (see ‘Next steps’ further on this page if you want to connect a different sensor), and run:
edge-impulse-linux
This command connects your Raspberry Pi to Edge Impulse Studio. It will prompt you to log in and select a project. Once authenticated, your Raspberry Pi will appear in the Edge Impulse Studio under Devices. To verify this, go to your Edge Impulse project, and click Devices. The device will be listed here.
Device connected to Edge Impulse.
You can now sample raw data, build models, and deploy trained machine learning models directly from the Studio. Please let us know if you have any questions or need further assistance: forum.edgeimpulse.com.If you want to switch projects run the command with --clean.
Looking to connect different sensors? Our Linux SDK lets you easily send data from any sensor and any programming language (with examples in Node.js, Python, Go and C++) into Edge Impulse.
To run your impulse locally, just connect to your Raspberry Pi again, and run:
edge-impulse-linux-runner
This will automatically compile your model with full hardware acceleration, download the model to your Raspberry Pi, and then start classifying. Our Linux SDK has examples on how to integrate the model with your favourite programming language.
If you have an image model then you can get a peek of what your device sees by being on the same network as your device, and finding the ‘Want to see a feed of the camera and live classification in your browser’ message in the console. Open the URL in a browser and both the camera feed and the classification are shown:
If you see the following error when trying to deploy a .eim model to your Raspberry Pi:
Failed to run impulse Error: Unsupported architecture “aarch64”
It likely means you are attempting to deploy a .eim Edge Impulse model file to a 32-bit operating system running on a 64-bit CPU. To check your hardware architecture and OS in Linux, please run the following commands:
It means that you are running a 32-bit OS on a 64-bit CPU. To run .eim models on aarch64 CPUs, you must use a 64-bit operating system. Please download and install the 64-bit version of Raspberry Pi OS if you see aarch64 when you run uname -m.
When using RPi OS Bookworm and RPi camera module you need to install gstreamer1.0-libcamera package first. However once gstreamer1.0-libcamera is installed it hides v4l2deviceproviders, as a result it hides webcam.To resolve this issue, you need to install the gstreamer1.0-libcamera package and use the latest edge-impulse-linux >=v1.9.2 to fix this issue.
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":"hardware/boards/raspberry-pi-4","slug":"/hardware/boards/raspberry-pi-4","pageMetadata":{"title":"Raspberry Pi 4","description":"Set up Raspberry Pi 4 for Edge Impulse, connect peripherals, install the Linux CLI, and troubleshoot deployment.","href":"/hardware/boards/raspberry-pi-4"},"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: \"Set up Raspberry Pi 4 for Edge Impulse, connect peripherals, install the Linux CLI, and troubleshoot deployment.\"\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`,em:`em`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,Note,OptimizedImage,Tab,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);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(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The Raspberry Pi 4 is a versatile Linux development board with a quad-core processor running at 1.5GHz, a GPIO header to connect sensors, and the ability to easily add an external microphone or camera - and it’s fully supported by Edge Impulse. You’ll be able to sample raw data, build models, and deploy trained machine learning models directly from the Studio.`}),`\n`,_jsxs(_components.p,{children:[`In addition to the Raspberry Pi 4 we recommend that you also add a camera and / or a microphone. Most popular USB webcams and the `,_jsx(_components.a,{href:`https://www.raspberrypi.org/products/camera-module-v2/`,children:`Camera Module`}),` work fine on the development board out of the box.`]}),`\n`,_jsx(Frame,{caption:`Raspberry Pi 4`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/edgeimpulse/-WgXP515XHSZ7nhZ/.assets/images/raspberry-pi-4-board-viewed-from-above-with-its.png?fit=max\u0026auto=format\u0026n=-WgXP515XHSZ7nhZ\u0026q=85\u0026s=401a9469b1f018039e677d54a1beb71d`,alt:`A Raspberry Pi 4 board viewed from above with its ports and GPIO header`,\"data-og-width\":`843`,width:`843`,\"data-og-height\":`534`,height:`534`,\"data-path\":`.assets/images/raspberry-pi-4-board-viewed-from-above-with-its.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/edgeimpulse/-WgXP515XHSZ7nhZ/.assets/images/raspberry-pi-4-board-viewed-from-above-with-its.png?w=280\u0026fit=max\u0026auto=format\u0026n=-WgXP515XHSZ7nhZ\u0026q=85\u0026s=a4ac713e6683a4f2783b26a6115406e8 280w, https://mintcdn.com/edgeimpulse/-WgXP515XHSZ7nhZ/.assets/images/raspberry-pi-4-board-viewed-from-above-with-its.png?w=560\u0026fit=max\u0026auto=format\u0026n=-WgXP515XHSZ7nhZ\u0026q=85\u0026s=5272fb0e6f98929c3b3f752450c6a4cd 560w, https://mintcdn.com/edgeimpulse/-WgXP515XHSZ7nhZ/.assets/images/raspberry-pi-4-board-viewed-from-above-with-its.png?w=840\u0026fit=max\u0026auto=format\u0026n=-WgXP515XHSZ7nhZ\u0026q=85\u0026s=8deb7e2b7cd77e6b38997f932233bdfb 840w, https://mintcdn.com/edgeimpulse/-WgXP515XHSZ7nhZ/.assets/images/raspberry-pi-4-board-viewed-from-above-with-its.png?w=1100\u0026fit=max\u0026auto=format\u0026n=-WgXP515XHSZ7nhZ\u0026q=85\u0026s=753965c9268f35db830caa4e67cdf93e 1100w, https://mintcdn.com/edgeimpulse/-WgXP515XHSZ7nhZ/.assets/images/raspberry-pi-4-board-viewed-from-above-with-its.png?w=1650\u0026fit=max\u0026auto=format\u0026n=-WgXP515XHSZ7nhZ\u0026q=85\u0026s=507873dbf2d4bd49b45762fcec0d9ee5 1650w, https://mintcdn.com/edgeimpulse/-WgXP515XHSZ7nhZ/.assets/images/raspberry-pi-4-board-viewed-from-above-with-its.png?w=2500\u0026fit=max\u0026auto=format\u0026n=-WgXP515XHSZ7nhZ\u0026q=85\u0026s=5eb5e2a26e3ec062357a274ffa38df0d 2500w`})}),`\n`,_jsx(Heading,{level:`3`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.p,{children:[`For more detailed Raspberry Pi setup instructions please see their official documentation: `,_jsx(_components.a,{href:`https://www.raspberrypi.org/documentation/computers/getting-started.html`,children:`Getting started with Raspberry Pi`}),`.`]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Bookworm and newer releases`,id:`bookworm-and-newer-releases`,\"data-child-heading-ids\":`[\"headless-setup\",\"setup-with-a-screen\"]`,children:[_jsx(Heading,{level:`4`,id:`headless-setup`,children:`Headless Setup`}),_jsx(_components.p,{children:`You can set up your Raspberry Pi without a screen. To do so:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Flash the `,_jsx(_components.a,{href:`https://www.raspberrypi.org/software/`,children:`Raspberry Pi OS`}),` image to an SD card using the Raspberry Pi Imager.`]}),`\n`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`You must use 64-bit OS with `,_jsx(_components.strong,{children:`_aarch64`}),` and 32-bit OS with `,_jsx(_components.strong,{children:`armv7l_`}),`*`]})}),_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`During the flashing process, access the Customisation options menu in the Raspberry Pi Imager to preconfigure the following options:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Set your hostname to something memorable (e.g., `,_jsx(_components.code,{children:`raspberrypi`}),`).`]}),`\n`,_jsxs(_components.li,{children:[`Choose a username and password (as of Bookworm, the default `,_jsx(_components.code,{children:`pi`}),`/`,_jsx(_components.code,{children:`raspberry`}),` is no longer available).`]}),`\n`,_jsxs(_components.li,{children:[`Configure your WiFi settings for network architecture (SSID, password).\n`,_jsxs(Warning,{children:[_jsx(_components.code,{children:`wpa_supplicant.conf`}),` cannot be used from Bookworm onward to set up WiFi and networking. You must use the Pi Imager or the advanced menu`,_jsx(_components.code,{children:`raspi-config`}),` tool to set up WiFi.`]})]}),`\n`,_jsxs(_components.li,{children:[`Configure Remote Access by enabling SSH, set the SSH to use password authentication.\n`,_jsxs(Note,{children:[` You can also create an empty file called `,_jsx(_components.code,{children:`ssh`}),` in the boot drive to enable SSH if you have not set up SSH through the Raspberry Pi Imager options. `]})]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Insert the SD card into your Raspberry Pi 4, and let the device boot up.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Find the IP address of your Raspberry Pi. You can either do this through the DHCP logs in your router or by scanning your network.`}),`\n`]}),`\n`]}),_jsx(_components.p,{children:`You can scan your network on macOS and Linux via:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`arp`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -na`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` grep`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dc:a6:32`})]}),`\n`]})})}),_jsx(_components.p,{children:`which should return something like:`}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`? (192.168.1.19) at dc:a6:32:f5:b6:7e on en0 ifscope [ethernet]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Here `,_jsx(_components.code,{children:`192.168.1.19`}),` is your IP address.`]}),_jsxs(_components.ol,{start:`5`,children:[`\n`,_jsxs(_components.li,{children:[`Connect to the Raspberry Pi over SSH. Open a terminal window on MacOS or Linux and run (replace `,_jsx(_components.code,{children:`username`}),` with your chosen username). If you’re using Windows, you can use `,_jsx(_components.a,{href:`https://www.putty.org/`,children:`PuTTY`}),` or the Windows Subsystem for Linux (WSL) to access SSH:`]}),`\n`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ssh`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`usernam`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`@192.168.1.19`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`You can also try using `,_jsx(_components.code,{children:`\u003cusername>@\u003chostname>`}),` instead of the IP address if your system supports mDNS.\nIf you are prompted with a security warning about the authenticity of the host, type `,_jsx(_components.code,{children:`yes`}),` and press Enter then enter your chosen password.\n6. You can now run commands directly on your Raspberry Pi through the terminal. Please continue to the next section to install Edge Impulse dependencies.`]}),_jsx(Heading,{level:`4`,id:`setup-with-a-screen`,children:`Setup with a Screen`}),_jsx(_components.p,{children:`If you have a screen and a keyboard/mouse attached to your Raspberry Pi:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Flash the `,_jsx(_components.a,{href:`https://www.raspberrypi.org/software/`,children:`Raspberry Pi OS`}),` image to an SD card. During the flashing process, access the Customisation options menu in the Raspberry Pi Imager to preconfigure the following options:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Set your hostname to something memorable (e.g., `,_jsx(_components.code,{children:`raspberrypi`}),`).`]}),`\n`,_jsxs(_components.li,{children:[`Choose a username and password (as of Bookworm, the default `,_jsx(_components.code,{children:`pi`}),`/`,_jsx(_components.code,{children:`raspberry`}),` is no longer available).`]}),`\n`,_jsxs(_components.li,{children:[`Configure your WiFi settings for network architecture (SSID, password).\n`,_jsxs(Warning,{children:[_jsx(_components.code,{children:`wpa_supplicant.conf`}),` cannot be used from Bookworm onward to set up WiFi and networking. You must use the Pi Imager or the advanced menu`,_jsx(_components.code,{children:`raspi-config`}),` tool to set up WiFi.`]})]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.li,{children:`Insert the SD card into your Raspberry Pi 5, and let the device boot up.`}),`\n`,_jsx(_components.li,{children:`Connect to your WiFi network via the UI if not already set up during the flashing process.`}),`\n`,_jsx(_components.li,{children:`Click the ‘Terminal’ icon in the top bar of the Raspberry Pi.`}),`\n`,_jsx(_components.li,{children:`You can now run commands directly on your Raspberry Pi through the terminal. Please continue to the next section to install Edge Impulse dependencies.`}),`\n`]})]}),_jsxs(Tab,{title:`Bullseye and older releases`,id:`bullseye-and-older-releases`,\"data-child-heading-ids\":`[\"headless-setup-2\",\"setup-with-a-screen-2\"]`,children:[_jsx(Note,{children:` The following setup instructions are for Raspberry Pi OS Bullseye and older releases. It is recommended to use the latest Raspberry Pi OS Bookworm or newer releases. `}),_jsx(Heading,{level:`4`,id:`headless-setup-2`,children:`Headless Setup`}),_jsx(_components.p,{children:`You can set up your Raspberry Pi without a screen. To do so:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Flash the `,_jsx(_components.a,{href:`https://www.raspberrypi.org/software/`,children:`Raspberry Pi OS`}),` image to an SD card.`]}),`\n`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`You must use 64-bit OS with `,_jsx(_components.strong,{children:`_aarch64`}),` and 32-bit OS with `,_jsx(_components.strong,{children:`armv7l_`}),`*`]})}),_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`To set up WiFi, either use the Raspberry Pi Imager OS Customisation options or after flashing the OS, find the `,_jsx(_components.code,{children:`boot`}),` mass-storage device on your computer, and create a new file called `,_jsx(_components.strong,{children:`wpa_supplicant.conf`}),` in the `,_jsx(_components.code,{children:`boot`}),` drive. Add the following code:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`update_config=1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`country=\u003cInsert 2 letter ISO 3166-1 country code here>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`network={`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ssid=\"\u003cName of your wireless LAN>\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` psk=\"\u003cPassword for your wireless LAN>\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`(Replace the fields marked with `,_jsx(_components.code,{children:`\u003c>`}),` with your WiFi credentials)`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Create an empty file called `,_jsx(_components.code,{children:`ssh`}),` in the boot drive to enable SSH or set up SSH through the Raspberry Pi Imager “SERVICES” options.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Insert the SD card into your Raspberry Pi 4, and let the device boot up.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Find the IP address of your Raspberry Pi. You can either do this through the DHCP logs in your router, or by scanning your network. E.g., on macOS and Linux via:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`arp`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -na`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` grep`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dc:a6:32`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`192.168.1.19`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) at dc:a6:32:f5:b6:7e on en0 ifscope [ethernet]`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Here `,_jsx(_components.code,{children:`192.168.1.19`}),` is your IP address.\nYou can also try using `,_jsx(_components.code,{children:`raspberrypi.local`}),` instead of the IP address if your system supports mDNS.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Connect to the Raspberry Pi over SSH. Open a terminal window and run:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ssh`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`usernam`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`@192.168.1.19`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Log in with the default username `,_jsx(_components.code,{children:`pi`}),` and password `,_jsx(_components.code,{children:`raspberry`}),`.`]}),`\n`]}),`\n`]}),_jsx(Heading,{level:`4`,id:`setup-with-a-screen-2`,children:`Setup with a Screen`}),_jsx(_components.p,{children:`If you have a screen and a keyboard/mouse attached to your Raspberry Pi:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Flash the `,_jsx(_components.a,{href:`https://www.raspberrypi.org/software/`,children:`Raspberry Pi OS`}),` image to an SD card.`]}),`\n`,_jsx(_components.li,{children:`Insert the SD card into your Raspberry Pi 4, and let the device boot up.`}),`\n`,_jsx(_components.li,{children:`Connect to your WiFi network.`}),`\n`,_jsx(_components.li,{children:`Click the ‘Terminal’ icon in the top bar of the Raspberry Pi.`}),`\n`]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`installing-dependencies`,children:`Installing dependencies`}),`\n`,_jsx(_components.p,{children:`To set this device up in Edge Impulse, run the following commands:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` apt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -sL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://deb.nodesource.com/setup_20.x`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` bash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` -`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` apt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -y`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gcc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` g++`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` make`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` build-essential`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` nodejs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sox`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gstreamer1.0-tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gstreamer1.0-plugins-good`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gstreamer1.0-plugins-base`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gstreamer1.0-plugins-base-apps`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` edge-impulse-linux`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -g`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --unsafe-perm`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Important:`}),` Edge Impulse requires Node.js version 20.x or later. Using older versions may lead to installation issues or runtime errors. Please ensure you have the correct version installed before proceeding with the setup.`]})}),`\n`,_jsxs(_components.p,{children:[`For CSI cameras (like the Raspberry Pi Camera Module), you also need to install the `,_jsx(_components.code,{children:`gstreamer1.0-libcamera`}),` package:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` apt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gstreamer1.0-libcamera`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`If you have a Raspberry Pi Camera Module, you also need to activate it first. Run the following commands:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` raspi-config`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Use the cursor keys to select and open Interfacing Options, and then select Camera and follow the prompt to enable the camera. Then reboot the Raspberry.`}),`\n`,_jsx(Heading,{level:`4`,id:`install-with-docker`,children:`Install with Docker`}),`\n`,_jsx(_components.p,{children:`If you want to install Edge Impulse on your Raspberry Pi using Docker you can run the following commands:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`docker`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -it`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --rm`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --privileged`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --network=host`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -v`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /dev/:/dev/`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` UDEV=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /dev:/dev`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --entrypoint`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /bin/bash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ubuntu:20.04`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Once on the Docker container, run:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`apt-get`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`apt-get`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` wget`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -y`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wget`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://deb.nodesource.com/setup_20.x`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`bash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` setup_20.x`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`apt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -y`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gcc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` g++`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` make`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` build-essential`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` nodejs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sox`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gstreamer1.0-tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gstreamer1.0-plugins-good`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gstreamer1.0-plugins-base`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gstreamer1.0-plugins-base-apps`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` vim`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` v4l-utils`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` usbutils`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` udev`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`apt-get`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` npm`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -y`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` edge-impulse-linux`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -g`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --unsafe-perm`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`and`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`/lib/systemd/systemd-udevd`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --daemon`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`You should now be able to run Edge Impulse CLI tools from the container running on your Raspberry.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.em,{children:`Note that this will only work using an external USB camera.`})}),`\n`,_jsx(Heading,{level:`3`,id:`connecting-to-edge-impulse`,children:`Connecting to Edge Impulse`}),`\n`,_jsx(_components.p,{children:`With all software set up, connect your camera or microphone to your Raspberry Pi (see ‘Next steps’ further on this page if you want to connect a different sensor), and run:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`edge-impulse-linux`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This command connects your Raspberry Pi to Edge Impulse Studio. It will prompt you to log in and select a project. Once authenticated, your Raspberry Pi will appear in the Edge Impulse Studio under Devices. To verify this, go to `,_jsx(_components.a,{href:`https://studio.edgeimpulse.com/studio/profile/projects`,children:`your Edge Impulse project`}),`, and click `,_jsx(_components.strong,{children:`Devices`}),`. The device will be listed here.`]}),`\n`,_jsx(Frame,{caption:`Device connected to Edge Impulse.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/edgeimpulse/UpfKnXz6Rfn5wm4E/.assets/images/devices-page-listing-a-raspberry-pi-as-connected.png?fit=max\u0026auto=format\u0026n=UpfKnXz6Rfn5wm4E\u0026q=85\u0026s=6aaa962f63bfaf42f948c1e042421e87`,alt:`The Devices page listing a Raspberry Pi as connected`,\"data-og-width\":`1225`,width:`1225`,\"data-og-height\":`291`,height:`291`,\"data-path\":`.assets/images/devices-page-listing-a-raspberry-pi-as-connected.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/edgeimpulse/UpfKnXz6Rfn5wm4E/.assets/images/devices-page-listing-a-raspberry-pi-as-connected.png?w=280\u0026fit=max\u0026auto=format\u0026n=UpfKnXz6Rfn5wm4E\u0026q=85\u0026s=82bb661bd32a5e6cb2ba62f2fce453d8 280w, https://mintcdn.com/edgeimpulse/UpfKnXz6Rfn5wm4E/.assets/images/devices-page-listing-a-raspberry-pi-as-connected.png?w=560\u0026fit=max\u0026auto=format\u0026n=UpfKnXz6Rfn5wm4E\u0026q=85\u0026s=1ccb4508a42bfda584b3bee12a6aaf58 560w, https://mintcdn.com/edgeimpulse/UpfKnXz6Rfn5wm4E/.assets/images/devices-page-listing-a-raspberry-pi-as-connected.png?w=840\u0026fit=max\u0026auto=format\u0026n=UpfKnXz6Rfn5wm4E\u0026q=85\u0026s=dc9561ae7c2ba27940040c584fa1271f 840w, https://mintcdn.com/edgeimpulse/UpfKnXz6Rfn5wm4E/.assets/images/devices-page-listing-a-raspberry-pi-as-connected.png?w=1100\u0026fit=max\u0026auto=format\u0026n=UpfKnXz6Rfn5wm4E\u0026q=85\u0026s=86b75237571af88b4ec6daebdd09d356 1100w, https://mintcdn.com/edgeimpulse/UpfKnXz6Rfn5wm4E/.assets/images/devices-page-listing-a-raspberry-pi-as-connected.png?w=1650\u0026fit=max\u0026auto=format\u0026n=UpfKnXz6Rfn5wm4E\u0026q=85\u0026s=a5c1fb956529ec40b1cab1b6bd9cf8e3 1650w, https://mintcdn.com/edgeimpulse/UpfKnXz6Rfn5wm4E/.assets/images/devices-page-listing-a-raspberry-pi-as-connected.png?w=2500\u0026fit=max\u0026auto=format\u0026n=UpfKnXz6Rfn5wm4E\u0026q=85\u0026s=e835f272e53368f900b5120772514ea6 2500w`})}),`\n`,_jsxs(_components.p,{children:[`You can now sample raw data, build models, and deploy trained machine learning models directly from the Studio. Please let us know if you have any questions or need further assistance: `,_jsx(_components.a,{href:`https://forum.edgeimpulse.com`,children:`forum.edgeimpulse.com`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`If you want to switch projects run the command with `,_jsx(_components.code,{children:`--clean`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`next-steps-building-a-machine-learning-model`,children:`Next steps: building a machine learning model`}),`\n`,_jsx(_components.p,{children:`With everything set up you can now build your first machine learning model with these tutorials:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/tutorials/end-to-end/keyword-spotting`,children:`Keyword spotting`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/tutorials/end-to-end/sound-recognition`,children:`Sound recognition`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/tutorials/end-to-end/image-classification`,children:`Image classification`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/tutorials/end-to-end/object-detection-bounding-boxes`,children:`object detection`}),`.`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/tutorials/end-to-end/object-detection-centroids`,children:`Object detection with centroids (FOMO)`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Looking to connect different sensors? Our `,_jsx(_components.a,{href:`/tools/libraries/sdks/inference/linux`,children:`Linux SDK`}),` lets you easily send data from any sensor and any programming language (with examples in Node.js, Python, Go and C++) into Edge Impulse.`]}),`\n`,_jsx(Heading,{level:`3`,id:`deploying-back-to-device`,children:`Deploying back to device`}),`\n`,_jsx(_components.p,{children:`To run your impulse locally, just connect to your Raspberry Pi again, and run:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`edge-impulse-linux-runner`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This will automatically compile your model with full hardware acceleration, download the model to your Raspberry Pi, and then start classifying. Our `,_jsx(_components.a,{href:`/tools/libraries/sdks/inference/linux`,children:`Linux SDK`}),` has examples on how to integrate the model with your favourite programming language.`]}),`\n`,_jsx(Heading,{level:`4`,id:`image-model`,children:`Image model?`}),`\n`,_jsx(_components.p,{children:`If you have an image model then you can get a peek of what your device sees by being on the same network as your device, and finding the ‘Want to see a feed of the camera and live classification in your browser’ message in the console. Open the URL in a browser and both the camera feed and the classification are shown:`}),`\n`,_jsx(Frame,{caption:`Live feed with classification results`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/edgeimpulse/pssAI2UB-dmQQKtc/.assets/images/demo1.png?fit=max\u0026auto=format\u0026n=pssAI2UB-dmQQKtc\u0026q=85\u0026s=f5d180c10366b2d54c7aec5f6c2187cc`,alt:`A browser preview with camera feed and live classification results`,\"data-og-width\":`400`,width:`400`,\"data-og-height\":`440`,height:`440`,\"data-path\":`.assets/images/demo1.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/edgeimpulse/pssAI2UB-dmQQKtc/.assets/images/demo1.png?w=280\u0026fit=max\u0026auto=format\u0026n=pssAI2UB-dmQQKtc\u0026q=85\u0026s=8b9404ca8f99476341d6fbce8b07d670 280w, https://mintcdn.com/edgeimpulse/pssAI2UB-dmQQKtc/.assets/images/demo1.png?w=560\u0026fit=max\u0026auto=format\u0026n=pssAI2UB-dmQQKtc\u0026q=85\u0026s=a307a7b4ce63d456bb5b69c975b9676c 560w, https://mintcdn.com/edgeimpulse/pssAI2UB-dmQQKtc/.assets/images/demo1.png?w=840\u0026fit=max\u0026auto=format\u0026n=pssAI2UB-dmQQKtc\u0026q=85\u0026s=8fb319ead282c8ac5ff091c5d7177088 840w, https://mintcdn.com/edgeimpulse/pssAI2UB-dmQQKtc/.assets/images/demo1.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pssAI2UB-dmQQKtc\u0026q=85\u0026s=bb90b67091735f34e3f3554b722bfe30 1100w, https://mintcdn.com/edgeimpulse/pssAI2UB-dmQQKtc/.assets/images/demo1.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pssAI2UB-dmQQKtc\u0026q=85\u0026s=234c9ecd23fb31a6b214428fbf121db7 1650w, https://mintcdn.com/edgeimpulse/pssAI2UB-dmQQKtc/.assets/images/demo1.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pssAI2UB-dmQQKtc\u0026q=85\u0026s=8f7da8dfdbf6e5ad6514d8797082817a 2500w`})}),`\n`,_jsx(Heading,{level:`3`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsx(Heading,{level:`4`,id:`wrong-os-bits`,children:`Wrong OS bits`}),`\n`,_jsx(_components.p,{children:`If you see the following error when trying to deploy a .eim model to your Raspberry Pi:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Failed to run impulse Error: Unsupported architecture “aarch64”`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`It likely means you are attempting to deploy a .eim Edge Impulse model file to a 32-bit operating system running on a 64-bit CPU. To check your hardware architecture and OS in Linux, please run the following commands:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`uname`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -m`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`uname`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -a`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`getconf`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` LONG_BIT`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`If you see something like this as the output:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`7`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`uname -m`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`aarch64`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`uname -a`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:20 BST 2023 aarch64 GNU/Linux`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`getconf LONG_BIT`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`32`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`It means that you are running a 32-bit OS on a 64-bit CPU. To run .eim models on `,_jsx(_components.em,{children:`aarch64`}),` CPUs, you `,_jsx(_components.em,{children:`must`}),` use a 64-bit operating system. Please download and install the 64-bit version of Raspberry Pi OS if you see `,_jsx(_components.code,{children:`aarch64`}),` when you run `,_jsx(_components.code,{children:`uname -m`}),`.`]}),`\n`,_jsx(Heading,{level:`4`,id:`csi-camera-issues`,children:`CSI Camera Issues`}),`\n`,_jsx(_components.p,{children:`When using RPi OS Bookworm and RPi camera module you need to install gstreamer1.0-libcamera package first. However once gstreamer1.0-libcamera is installed it hides v4l2deviceproviders, as a result it hides webcam.`}),`\n`,_jsx(_components.p,{children:`To resolve this issue, you need to install the gstreamer1.0-libcamera package and use the latest edge-impulse-linux >=v1.9.2 to fix this issue.`})]})}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":"Raspberry Pi 4","description":"Set up Raspberry Pi 4 for Edge Impulse, connect peripherals, install the Linux CLI, and troubleshoot deployment.","href":"/hardware/boards/raspberry-pi-4"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Prerequisites","slug":"prerequisites","depth":3,"children":[]},{"title":"Headless Setup","slug":"headless-setup","depth":4,"children":[],"tabId":"bookworm-and-newer-releases"},{"title":"Setup with a Screen","slug":"setup-with-a-screen","depth":4,"children":[],"tabId":"bookworm-and-newer-releases"},{"title":"Headless Setup","slug":"headless-setup-2","depth":4,"children":[],"tabId":"bullseye-and-older-releases"},{"title":"Setup with a Screen","slug":"setup-with-a-screen-2","depth":4,"children":[],"tabId":"bullseye-and-older-releases"},{"title":"Installing dependencies","slug":"installing-dependencies","depth":3,"children":[]},{"title":"Install with Docker","slug":"install-with-docker","depth":4,"children":[]},{"title":"Connecting to Edge Impulse","slug":"connecting-to-edge-impulse","depth":3,"children":[]},{"title":"Next steps: building a machine learning model","slug":"next-steps-building-a-machine-learning-model","depth":3,"children":[]},{"title":"Deploying back to device","slug":"deploying-back-to-device","depth":3,"children":[]},{"title":"Image model?","slug":"image-model","depth":4,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":3,"children":[]},{"title":"Wrong OS bits","slug":"wrong-os-bits","depth":4,"children":[]},{"title":"CSI Camera Issues","slug":"csi-camera-issues","depth":4,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/edgeimpulse/3a20e79a9abf6af7/.scripts/adobe-analytics.js"],"subdomain":"edgeimpulse","siteName":"Edge Impulse Documentation","title":"Raspberry Pi 4 - Edge Impulse Documentation","contextualStarterQuestions":[{"_id":"6ac78d29407b2b5b5aa387f7","deploymentId":"6888ecea7bd5ed3e5d2f677d","questionText":"What peripherals work with this board?","status":"active","generatedBy":"contextual","path":"hardware/boards/raspberry-pi-4","createdAt":"2026-10-08T12:31:37.784Z","updatedAt":"2026-10-08T12:31:37.784Z","__v":0},{"_id":"6ac78d29407b2b5b5aa387f8","deploymentId":"6888ecea7bd5ed3e5d2f677d","questionText":"Can I deploy ML models on it?","status":"active","generatedBy":"contextual","path":"hardware/boards/raspberry-pi-4","createdAt":"2026-10-08T12:31:37.784Z","updatedAt":"2026-10-08T12:31:37.784Z","__v":0},{"_id":"6ac78d29407b2b5b5aa387f6","deploymentId":"6888ecea7bd5ed3e5d2f677d","questionText":"How do I set up Raspberry Pi 4?","status":"active","generatedBy":"contextual","path":"hardware/boards/raspberry-pi-4","createdAt":"2026-10-08T12:31:37.784Z","updatedAt":"2026-10-08T12:31:37.784Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-13T14:39:24.627Z","originalFileLocation":"hardware/boards/raspberry-pi-4.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=\"Set up Raspberry Pi 4 for Edge Impulse, connect peripherals, install the Linux CLI, and troubleshoot deployment.\">\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=\"Raspberry Pi 4 - Edge Impulse Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Set up Raspberry Pi 4 for Edge Impulse, connect peripherals, install the Linux CLI, and troubleshoot deployment.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Edge Impulse Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.edgeimpulse.com/hardware/boards/raspberry-pi-4\">\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=CPU\u0026amp;title=Raspberry+Pi+4\u0026amp;description=Set+up+Raspberry+Pi+4+for+Edge+Impulse%2C+connect+peripherals%2C+install+the+Linux+CLI%2C+and+troubleshoot+deployment.\u0026amp;theme=c0871bc4d614d2e3b7bd2b2d\u0026amp;signature=bcc27d12a6b411f77d99392d38d74874f0e41075c85e690a5cb419614b478846\">\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=\"Raspberry Pi 4 - Edge Impulse Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Set up Raspberry Pi 4 for Edge Impulse, connect peripherals, install the Linux CLI, and troubleshoot deployment.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://edgeimpulse.mintlify.app/_mintlify/api/og/v2?division=CPU\u0026amp;title=Raspberry+Pi+4\u0026amp;description=Set+up+Raspberry+Pi+4+for+Edge+Impulse%2C+connect+peripherals%2C+install+the+Linux+CLI%2C+and+troubleshoot+deployment.\u0026amp;theme=c0871bc4d614d2e3b7bd2b2d\u0026amp;signature=bcc27d12a6b411f77d99392d38d74874f0e41075c85e690a5cb419614b478846\">\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/hardware/boards/raspberry-pi-4\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/hardware/boards/raspberry-pi-4.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/hardware/boards/raspberry-pi-4#webpage\",\"url\":\"https://docs.edgeimpulse.com/hardware/boards/raspberry-pi-4\",\"name\":\"Raspberry Pi 4\",\"description\":\"Set up Raspberry Pi 4 for Edge Impulse, connect peripherals, install the Linux CLI, and troubleshoot deployment.\",\"dateModified\":\"2026-09-13T14:39:24.627Z\",\"isPartOf\":{\"@id\":\"https://docs.edgeimpulse.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.edgeimpulse.com/hardware/boards/raspberry-pi-4#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.edgeimpulse.com/hardware/boards/raspberry-pi-4#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"BOARDS\",\"item\":\"https://docs.edgeimpulse.com/hardware/boards/ambiq-apollo4\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CPU\",\"item\":\"https://docs.edgeimpulse.com/hardware/boards/arduino-uno-q\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Raspberry Pi 4\",\"item\":\"https://docs.edgeimpulse.com/hardware/boards/raspberry-pi-4\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.edgeimpulse.com/hardware/boards/raspberry-pi-4#article\",\"headline\":\"Raspberry Pi 4\",\"name\":\"Raspberry Pi 4\",\"description\":\"Set up Raspberry Pi 4 for Edge Impulse, connect peripherals, install the Linux CLI, and troubleshoot deployment.\",\"url\":\"https://docs.edgeimpulse.com/hardware/boards/raspberry-pi-4\",\"mainEntityOfPage\":{\"@id\":\"https://docs.edgeimpulse.com/hardware/boards/raspberry-pi-4#webpage\"},\"dateModified\":\"2026-09-13T14:39:24.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","pages":[{"title":"Studio","href":"/studio"}]},{"tab":"Hardware","groups":[{"group":"OVERVIEW","icon":"map","pages":[{"title":"Hardware","href":"/hardware"}]},{"group":"GETTING YOUR DEVICE EDGE IMPULSE READY","icon":"cogs","pages":[{"group":"Inference Testing Guide for Linux Targets","pages":[{"title":"Linux Process Overview","href":"/hardware/porting/linux-inference/linux-inference-process"},{"title":"Inferencing with Edge Impulse Linux CLI","href":"/hardware/porting/linux-inference/linux-inference-cli"},{"title":"Inferencing with Edge Impulse Linux C++ SDK","href":"/hardware/porting/linux-inference/linux-inference-cpp"},{"title":"Inferencing with Edge Impulse Linux Python SDK","href":"/hardware/porting/linux-inference/linux-inference-python"}]}]},{"group":"DEVICES","icon":"tablet-screen-button","pages":[{"title":"Advantech ICAM-540","href":"/hardware/devices/advantech-icam-540"},{"title":"BrickML","href":"/hardware/devices/brickml"},{"title":"CODICO Triple Vision Industrial AI Camera","href":"/hardware/devices/jmo-triple-vision-camera"},{"title":"OnLogic FR101","href":"/hardware/devices/onlogic-fr101"},{"title":"OnLogic Helix 521","href":"/hardware/devices/onlogic-hx521"},{"title":"OnLogic ML100G","href":"/hardware/devices/onlogic-ml100g"},{"title":"Seeed reComputer Jetson","href":"/hardware/devices/seeed-recomputer-jetson"},{"title":"Seeed SenseCAP A1101","href":"/hardware/devices/seeed-sensecap-a1101"},{"title":"macOS devices","href":"/hardware/devices/macos"},{"title":"Linux x86_64 devices","href":"/hardware/devices/linux-x86_64"},{"title":"Mobile phone","href":"/hardware/devices/mobile-phone"}]},{"group":"BOARDS","icon":"mobile-retro","pages":[{"group":"MCU","pages":[{"title":"Ambiq Apollo4 evaluation boards","sidebarTitle":"Ambiq Apollo4 eval boards","href":"/hardware/boards/ambiq-apollo4"},{"title":"Arducam Pico4ML TinyML Dev Kit","href":"/hardware/boards/arducam-pico4ml-tinyml-dev-kit"},{"title":"Arduino Nano 33 BLE Sense","href":"/hardware/boards/arduino-nano-33-ble-sense"},{"title":"Arduino Nicla Sense ME","href":"/hardware/boards/arduino-nicla-sense-me"},{"title":"Arduino Nicla Vision","href":"/hardware/boards/arduino-nicla-vision"},{"title":"Arduino Portenta H7","href":"/hardware/boards/arduino-portenta-h7"},{"title":"Blues Wireless Swan","href":"/hardware/boards/blues-wireless-swan"},{"title":"Espressif ESP-EYE","href":"/hardware/boards/espressif-esp32"},{"title":"Himax WE-I Plus","href":"/hardware/boards/himax-we-i-plus"},{"title":"Infineon CY8CKIT-062-BLE Pioneer Kit","href":"/hardware/boards/infineon-cy8ckit-062-ble"},{"title":"Infineon CY8CKIT-062S2 Pioneer Kit","href":"/hardware/boards/infineon-cy8ckit-062s2"},{"title":"Nordic Semi nRF52840 DK","href":"/hardware/boards/nordic-semi-nrf52840-dk"},{"title":"Nordic Semi nRF5340 DK","href":"/hardware/boards/nordic-semi-nrf5340-dk"},{"title":"Nordic Semi nRF54L15 DK","href":"/hardware/boards/nordic-semi-nrf54L15-dk"},{"title":"Nordic Semi nRF9160 DK","href":"/hardware/boards/nordic-semi-nrf9160-dk"},{"title":"Nordic Semi nRF9161 DK","href":"/hardware/boards/nordic-semi-nrf9161-dk"},{"title":"Nordic Semi nRF9151 DK","href":"/hardware/boards/nordic-semi-nrf9151-dk"},{"title":"Nordic Semi nRF7002 DK","href":"/hardware/boards/nordic-semi-nrf7002-dk"},{"title":"Nordic Semi Thingy:53","href":"/hardware/boards/nordic-semi-thingy53"},{"title":"Nordic Semi Thingy:91","href":"/hardware/boards/nordic-semi-thingy91"},{"title":"Open MV Cam H7 Plus","href":"/hardware/boards/openmv-cam-h7-plus"},{"title":"Particle Boron","href":"/hardware/boards/particle-boron"},{"title":"Particle Photon 2","href":"/hardware/boards/particle-photon-2"},{"title":"Qualcomm QCC744M Evaluation Kit","sidebarTitle":"Qualcomm QCC744M EVK","href":"/hardware/boards/qualcomm-qcc744m_evk"},{"title":"RAKwireless WisBlock","href":"/hardware/boards/rakwireless-wisblock"},{"title":"Raspberry Pi Pico","href":"/hardware/boards/raspberry-pi-pico"},{"title":"Renesas CK-RA6M5 Cloud Kit","href":"/hardware/boards/renesas-ck-ra6m5"},{"title":"Renesas EK-RA8D1","href":"/hardware/boards/renesas-ek-ra8d1"},{"title":"Seeed Wio Terminal","href":"/hardware/boards/seeed-wio-terminal"},{"title":"Seeed XIAO nRF52840 Sense","href":"/hardware/boards/seeed-xiao-nrf52840-sense"},{"title":"Seeed XIAO ESP32 S3 Sense","href":"/hardware/boards/seeed-xiao-esp32s3-sense"},{"title":"SiLabs Thunderboard Sense 2","href":"/hardware/boards/silabs-thunderboard-sense-2"},{"title":"Sony Spresense","href":"/hardware/boards/sony-spresense"},{"title":"ST B-L475E-IOT01A","href":"/hardware/boards/st-b-l475e-iot01a"},{"title":"TI CC1352P Launchpad","href":"/hardware/boards/ti-launchxl"}]},{"group":"MCU + AI accelerator","pages":[{"title":"Alif Ensemble series kits","href":"/hardware/boards/alif-ensemble"},{"title":"Ambiq Apollo5 evaluation boards","sidebarTitle":"Ambiq Apollo5 eval boards","href":"/hardware/boards/ambiq-apollo5"},{"title":"Arduino Nicla Voice","href":"/hardware/boards/arduino-nicla-voice"},{"title":"Avnet RASynBoard","href":"/hardware/boards/avnet-rasynboard"},{"title":"Nordic Semi nRF54LM20 DK","href":"/hardware/boards/nordic-semi-nrf54LM20-dk"},{"title":"Himax WiseEye2 Module and ISM Devboard","href":"/hardware/boards/himax-ism-wise-eye-2"},{"title":"Seeed Grove - Vision AI Module","href":"/hardware/boards/seeed-grove-vision-ai"},{"title":"Seeed Grove Vision AI Module V2 (WiseEye2)","href":"/hardware/boards/seeed-grove-vision-ai-module-v2-wise-eye-2"},{"title":"SiLabs xG24 Dev Kit","href":"/hardware/boards/silabs-xg24-devkit"},{"title":"STMicroelectronics STM32N6570-DK","href":"/hardware/boards/stm32n6570-dk"},{"title":"Synaptics Katana EVK","href":"/hardware/boards/synaptics-katana"},{"title":"Syntiant Tiny ML Board","href":"/hardware/boards/syntiant-tinyml-board"}]},{"group":"CPU","pages":[{"title":"Arduino UNO Q","href":"/hardware/boards/arduino-uno-q"},{"title":"Microchip SAMA7G54","description":"Prepare Microchip SAMA7G54 Linux images, connect the board to Edge Impulse, and run deployed models.","href":"/hardware/boards/microchip-sama7"},{"title":"Raspberry Pi 4","href":"/hardware/boards/raspberry-pi-4"},{"title":"Raspberry Pi 5","description":"Set up Raspberry Pi 5 with Raspberry Pi OS, install Edge Impulse tools, and troubleshoot deployment.","href":"/hardware/boards/raspberry-pi-5"},{"title":"Renesas RZ/G2L","href":"/hardware/boards/renesas-rz-g2l"},{"title":"Texas Instruments SK-AM62","href":"/hardware/boards/ti-sk-am62"}]},{"group":"CPU + AI accelerator","pages":[{"title":"Advantech AOM-2721 OSM","href":"/hardware/boards/advantech-aom2721-osm"},{"title":"Arduino VENTUNO Q","href":"/hardware/boards/arduino-ventuno-q"},{"title":"AVNET RZBoard V2L","href":"/hardware/boards/avenet-rz-v2l"},{"title":"BrainChip AKD1000","href":"/hardware/boards/brainchip-akd1000"},{"title":"Digi ConnectCore 93 Development Kit","href":"/hardware/boards/digi-ccimx93-dvk"},{"title":"IMDT RZ/V2H","href":"/hardware/boards/imdt-rz-v2h"},{"title":"Innodisk EXEC-Q911","href":"/hardware/boards/innodisk-exec-q911"},{"title":"MemryX MX3","href":"/hardware/boards/memryx-mx3"},{"title":"MistyWest MistySOM RZ/V2L","href":"/hardware/boards/mistywest-rz-v2l"},{"title":"NXP i.MX 8M Plus EVK","href":"/hardware/boards/nxp-imx8-evk"},{"title":"Qualcomm Dragonwing IQ-8275 Evaluation Kit","sidebarTitle":"Qualcomm Dragonwing IQ-8275 EVK","href":"/hardware/boards/qualcomm-iq8275-evk"},{"title":"Qualcomm Dragonwing IQ-9075 Evaluation Kit","sidebarTitle":"Qualcomm Dragonwing IQ-9075 EVK","href":"/hardware/boards/qualcomm-iq9075-evk"},{"title":"Qualcomm Dragonwing RB3 Gen 2 Dev Kit","href":"/hardware/boards/qualcomm-rb3-gen-2-dev-kit"},{"title":"Quectel PI-SG565D","href":"/hardware/boards/quectel-pi-sg565d"},{"title":"Renesas RZ/V2H","href":"/hardware/boards/renesas-rz-v2h"},{"title":"Renesas RZ/V2L","href":"/hardware/boards/renesas-rz-v2l"},{"title":"Texas Instruments SK-AM62A-LP","href":"/hardware/boards/ti-sk-am62a-lp"},{"title":"Texas Instruments SK-AM68A","href":"/hardware/boards/ti-sk-am68a"},{"title":"Texas Instruments SK-TDA4VM","href":"/hardware/boards/ti-sk-tda4vm"},{"title":"Thundercomm Rubik Pi 3","href":"/hardware/boards/thundercomm-rubikpi3"},{"title":"Tria Vision AI-KIT 6490","href":"/hardware/boards/tria-vision-ai-kit-6490"}]},{"group":"GPU","pages":[{"title":"NVIDIA Jetson","href":"/hardware/boards/nvidia-jetson"}]}]},{"group":"DEPLOYMENTS","icon":"cube","pages":[{"title":"Deployments","sidebarTitle":"Overview","href":"/hardware/deployments"},{"group":"C++ library","pages":[{"title":"C++ library","sidebarTitle":"Overview","href":"/hardware/deployments/run-cpp-overview"},{"title":"Run C++ library on custom boards","sidebarTitle":"C++ library on custom boards","href":"/hardware/deployments/run-cpp"},{"title":"Run C++ library on desktop","sidebarTitle":"C++ library on desktop","href":"/hardware/deployments/run-cpp-desktop"},{"title":"Run C++ library on Android","sidebarTitle":"C++ library on Android","href":"/hardware/deployments/run-cpp-android"},{"title":"Run C++ library on Alif Ensemble Series devices","sidebarTitle":"C++ library on Alif Ensemble Series","href":"/hardware/deployments/run-cpp-alif-ensemble"},{"title":"Run C++ library on Espressif ESP-EYE (ESP32)","sidebarTitle":"C++ library on Espressif ESP-EYE (ESP32)","href":"/hardware/deployments/run-cpp-espressif-esp32"},{"title":"Run C++ library on Himax WE-I Plus","sidebarTitle":"C++ library on Himax WE-I Plus","href":"/hardware/deployments/run-cpp-himax-we-i-plus"},{"title":"Run C++ library on Raspberry Pi Pico (RP2040)","sidebarTitle":"C++ library on Raspberry Pi Pico (RP2040)","href":"/hardware/deployments/run-cpp-rpi-rp2040"},{"title":"Run C++ library on SiLabs Thunderboard Sense 2","sidebarTitle":"C++ library on SiLabs Thunderboard Sense 2","href":"/hardware/deployments/run-cpp-silabs-thunderboard-sense-2"},{"title":"Run C++ library on Sony Spresense","sidebarTitle":"C++ library on Sony Spresense","href":"/hardware/deployments/run-cpp-sony-spresense"},{"title":"Run C++ library on Syntiant TinyML Board","sidebarTitle":"C++ library on Syntiant TinyML Board","href":"/hardware/deployments/run-cpp-syntiant-tinyml-board"},{"title":"Run C++ library on TI LaunchPad using GCC and the SimpleLink SDK","sidebarTitle":"C++ library on TI LaunchPad","href":"/hardware/deployments/run-cpp-ti-launchxl"},{"title":"Run C++ library on Zephyr-based Nordic Semiconductor development boards","sidebarTitle":"C++ library on Zephyr-based Nordic boards","href":"/hardware/deployments/run-cpp-zephyr-nordic"}]},{"group":"Arduino","pages":[{"title":"Run Arduino App Lab","sidebarTitle":"Arduino App Lab","href":"/hardware/deployments/run-arduino-app-lab"},{"title":"Run Arduino library (IDE 2.0)","sidebarTitle":"Arduino library (IDE 2.0)","href":"/hardware/deployments/run-arduino-2-0"},{"title":"Run Arduino library (IDE 1.18) ","sidebarTitle":"Arduino library (IDE 1.18)","tag":"deprecated","href":"/hardware/deployments/run-arduino-1-18"}]},{"group":"DRP-AI library","pages":[{"title":"Run DRP-AI library on Renesas RZ/V2L","sidebarTitle":"DRP-AI library on Renesas RZ/V2L","href":"/hardware/deployments/run-drpai-rzv2l"},{"title":"Run DRP-AI TVM i8 library on Renesas RZ/V2H","sidebarTitle":"DRP-AI TVM i8 library on Renesas RZ/V2H","href":"/hardware/deployments/run-drpai-rzv2h"}]},{"group":"Zephyr","pages":[{"title":"Edge Impulse Zephyr Module Deployment","sidebarTitle":"Edge Impulse Zephyr Module Deployment","href":"/hardware/deployments/run-zephyr-module"}]},{"group":"WebAssembly library","pages":[{"title":"Run WebAssembly library (browser)","sidebarTitle":"WebAssembly library (browser)","href":"/hardware/deployments/run-webassembly-browser"},{"title":"Run WebAssembly library (Node.js)","sidebarTitle":"WebAssembly library (Node.js)","href":"/hardware/deployments/run-webassembly-node"}]},{"title":"Run Arm Keil MDK CMSIS-Pack","sidebarTitle":"Arm Keil MDK CMSIS-Pack","href":"/hardware/deployments/run-arm-keil-cmsis"},{"title":"Run Cube.MX CMSIS-Pack","sidebarTitle":"Cube.MX CMSIS-Pack","href":"/hardware/deployments/run-cubemx"},{"title":"Run Docker container","sidebarTitle":"Docker container","href":"/hardware/deployments/run-docker"},{"title":"Run Edge Impulse firmwares","sidebarTitle":"Edge Impulse firmwares","href":"/hardware/deployments/run-ei-fw"},{"title":"Run IAR library","sidebarTitle":"IAR library","href":"/hardware/deployments/run-iar"},{"title":"Run Linux EIM","sidebarTitle":"Linux EIM","href":"/hardware/deployments/run-linux-eim"},{"title":"Run Open-CMSIS-Pack","sidebarTitle":"Open-CMSIS-Pack","href":"/hardware/deployments/run-open-cmsis-pack"},{"title":"Run OpenMV library","sidebarTitle":"OpenMV library","href":"/hardware/deployments/run-openmv"},{"title":"Run Particle library","sidebarTitle":"Particle library","href":"/hardware/deployments/run-particle"},{"title":"Run Qualcomm IM SDK GStreamer pipeline","sidebarTitle":"Qualcomm IM SDK GStreamer pipeline","href":"/hardware/deployments/run-qualcomm-im-sdk-gstreamer"}]}]},{"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":"Raspberry Pi 4 - 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"]}