Skip to content

Commit

Permalink
adds ipykernel to test demo.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
mxochicale committed Nov 5, 2023
1 parent 13b16cb commit d9fd836
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .devcontainer/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ dependencies:
- pip
- pip:
- opencv-python-headless
- ipykernel # required for jupyter notebook in VS Code
9 changes: 7 additions & 2 deletions codespaces/demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -34,7 +34,12 @@
}
],
"source": [
"import cv2"
"import cv2\n",
"print(cv2.__version__)\n",
"\n",
"# source_image = cv2.imread('shibayan.png')\n",
"# gray_image = cv2.cvtColor(source_image, cv2.COLOR_BGR2GRAY)\n",
"# cv2.imwrite('output.png', gray_image)"
]
}
],
Expand Down

0 comments on commit d9fd836

Please sign in to comment.