EdgeImpulse Model with custom code on raspberry pi

I am following the article from https://docs.edgeimpulse.com/docs/raspberry-pi-4. I could successfully run the model on Raspberry Pi 3 using command edge-impulse-linux-runner. However I would like to ask how can I get the EdgeImpulse Model code on Raspberry Pi and use it within my custom code. e.g. I want my pi to detect human in video or image whenever he comes in the range of PIR sensor and then to send the result on some remote machine?

Hi Timothy,

You can use our of our Linux SDKs to integrate within your custom code, ie for Python: https://docs.edgeimpulse.com/docs/linux-python-sdk

Here’s an example to classify images: https://github.com/edgeimpulse/linux-sdk-python/blob/master/examples/image/classify.py

Aurelien

1 Like

Thanks aurel. any prerequisite for installing EdgeImpulse SDK apart from python3?

Only python3 and the Edge Impulse Linux CLI are required.

Aurelien

2 Likes