Skip to content

docs: use %pip magic in notebooks, add tagline to README - #48

Merged
petercorke merged 1 commit into
mainfrom
docs/pip-magic-and-tagline
Aug 3, 2026
Merged

docs: use %pip magic in notebooks, add tagline to README#48
petercorke merged 1 commit into
mainfrom
docs/pip-magic-and-tagline

Conversation

@petercorke

Copy link
Copy Markdown
Owner

Summary

  • Replace !pip install machinevision-toolbox-python with %pip install machinevision-toolbox-python across all 13 notebooks in docs/notebooks/ -- %pip is the magic-command form that installs into the actual running kernel's environment, where !pip shells out and can silently target a different Python than the notebook is using (particularly relevant for JupyterLite/Pyodide, where a bare !pip doesn't work at all).
  • Add an <em>OpenCV for humans</em> tagline under the logo in README.md.

Both were sitting uncommitted on the stalled opencv5 branch, unrelated to that branch's actual (incomplete) OpenCV 5 compatibility work -- pulled out and landed independently so they aren't lost when that branch is retired.

Test plan

  • N/A -- docs-only change, no code touched

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

!pip runs the install in a subprocess shell, which can silently
install into a different Python environment than the one the
notebook kernel is actually running -- %pip magic installs into the
active kernel's environment directly. Applies across all 13 notebooks
in docs/notebooks/.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@petercorke
petercorke force-pushed the docs/pip-magic-and-tagline branch from 911b720 to 843db36 Compare August 3, 2026 00:31
@petercorke
petercorke merged commit b1d0b81 into main Aug 3, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant