Instructions for displaying the webcam liveview in a Jupyter notebook using ipywidgets.
- Install Miniconda
- Operating system dependent
- Windows: Start the "Anaconda Prompt"
- Linux: Open a terminal window
- Create a virtual environment using the enviroment.yml file
conda env create -f environment.yml
- Get e list of the virtual environments
conda env list
There should now be a virtual environment namedwebcam-py36
- Activate the environment
conda activate webcam-py36
- Install Jupyter-Lab
conda install jupyterlab
- Install Jupyter-Lab extensions
https://ipywidgets.readthedocs.io/en/stable/user_install.html
- nodejs and ipywidgets should be already installed
jupyter labextension install @jupyter-widgets/jupyterlab-manager
- Start Jupyter-Lab
jupyter-lab
- Open the Jupyter notebook WebcamLiveView.ipynb