Skip to content
This repository was archived by the owner on Dec 8, 2024. It is now read-only.

Commit

Permalink
docs: added raspberry pi driver information to test-posture-tracker n…
Browse files Browse the repository at this point in the history
…otebook
  • Loading branch information
MitchellJC committed Aug 19, 2024
1 parent 7281b5d commit 459546d
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions notebooks/test-posture-tracker.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 459546d

Please sign in to comment.