diff --git a/notebooks/test-posture-tracker.ipynb b/notebooks/test-posture-tracker.ipynb index e50374d..51abd7e 100644 --- a/notebooks/test-posture-tracker.ipynb +++ b/notebooks/test-posture-tracker.ipynb @@ -10,6 +10,45 @@ "%autoreload 2" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "**STEP FOR PI:**\n", + "To ensure opencv can detect the pi camera, activate the following driver which comes included with\n", + "the raspberry Pi OS.\n", + "\n", + "REF:\n", + "\n", + "- https://stackoverflow.com/questions/27950013/i-am-trying-make-the-raspberry-pi-camera-work-with-opencv\n", + "- https://github.com/thenaran/linux-rpi/blob/master/Documentation/video4linux/bcm2835-v4l2.txt\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "!sudo modprobe bcm2835-v4l2" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Then to check driver is activated.\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "!ls -ltrh /dev/video*" + ] + }, { "cell_type": "code", "execution_count": 2,