Opencv | Jupyter Notebook 安装

一. OPenCV 概述

	OpenCV是一个开源计算机视觉库
	OpenCV库用C语言和C++语言编写,可以在Windows,Linux和Mac OS等系统运行
		  具有C ++,Python,Java和MATLAB等语言的接口
		  可以将库导入安卓和IOS中为移动设备开发
	OpenCV设计用于高效的计算,强调实时应用的开发
		  其提供的函数效率大大高于自己的函数
		  由C++语言编写,因此可以多线程处理
	
	OPenCV目标:
		提供易于使用的计算机视觉接口

二. OpenCV安装

1. 环境准备

新建一个名为opencv的conda虚拟环境

	conda create -n opencv python=3.8 -y

激活环境

	conda activate opencv

安装OpenCV、matplotlib包(会自动安装numpy)

	pip install opencv-python==4.3.0.38 -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com

2. jupyter notebook 具体配置

激活环境

	conda activate opencv

安装jupyter notebook

	conda install jupyter notebook -y

改jupyter默认路径

	jupyter notebook --generate-config (任何环境下)

找到相应文件后:

	ctrl + F找到 notebook_dir
	干掉 #
	加入自己目标文件路径
	打开jupyter notebook的文件位置,点击属性,删除目标中"%USERPROFILE%/"	

感谢阅读🌼
如果喜欢这篇文章,记得点赞👍和转发🔄哦!
有任何想法或问题,欢迎留言交流💬,我们下次见!

祝愉快🌟!


相关推荐

  1. 安装】Linux安装ffmpeg

    2024-03-21 07:56:01       67 阅读
  2. mysql 安装

    2024-03-21 07:56:01       57 阅读
  3. Hadoop安装

    2024-03-21 07:56:01       46 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-03-21 07:56:01       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-03-21 07:56:01       106 阅读
  3. 在Django里面运行非项目文件

    2024-03-21 07:56:01       87 阅读
  4. Python语言-面向对象

    2024-03-21 07:56:01       96 阅读

热门阅读

  1. (持续更新中)DRF相关

    2024-03-21 07:56:01       35 阅读
  2. docker和kubectl客户端安装Linux

    2024-03-21 07:56:01       40 阅读
  3. python(Django)之退出功能实现

    2024-03-21 07:56:01       41 阅读
  4. 混合精度训练(AMP)

    2024-03-21 07:56:01       36 阅读
  5. Bert模型输出:last_hidden_state转换为pooler_output

    2024-03-21 07:56:01       38 阅读
  6. 【工具】mac 环境配置

    2024-03-21 07:56:01       46 阅读
  7. 啥是大语言模型LLM

    2024-03-21 07:56:01       44 阅读
  8. mongodb进阶聚合查询各种写法

    2024-03-21 07:56:01       42 阅读
  9. 多数据源 - dynamic-datasource | 事务支持

    2024-03-21 07:56:01       44 阅读
  10. 面试常问问题

    2024-03-21 07:56:01       43 阅读