- 博客(12)
- 收藏
- 关注
原创 python小记
计算平均值def get_average(records): """ 平均值 """ return sum(records) / len(records)计算方差def get_variance(records): """ 方差 反映一个数据集的离散程度 """ average = get_average(records) return sum([(x - average) ** 2 for x in records]) / l
2022-01-26 22:28:30
3792
原创 Ubuntu安装opencv
安装cmakesudo apt-get install cmake依赖环境sudo apt-get install build-essential libgtk2.0-dev libavcodec-dev libavformat-dev libjpeg-dev libswscale-dev libtiff5-devsudo apt-get install libgtk2.0-devsudo apt-get install pkg-config下载opencv的包地址:https:.
2021-11-17 12:26:17
175
原创 使用ROS时,VSCode中的.json文件模板
c_cpp_properties.json{ "configurations": [ { "browse": { "databaseFilename": "", "limitSymbolsToIncludedHeaders": true }, "includePath": [ "/opt/ros/melodic/include/**", "/home/rosdemo/videocap_ws/sr
2021-11-13 09:11:05
505
原创 Linux杂记
Linux中查看opencv是否安装:pkg-config opencv --libsLinux中查看opencv的版本:pkg-config opencv --modversion
2021-11-13 09:06:28
2772
原创 ROS中的报错记录
平台:nanoCMake ErrorCMake Error at /opt/ros/melodic/share/cv_bridge/cmake/cv_bridgeConfig.cmake:113 (message): Project 'cv_bridge' specifies '/usr/include/opencv' as an include dir, which is not found. It does neither exist as an absolute directory...
2021-11-13 09:02:02
2229
原创 GStreamer入门-1
Ubuntu18.04-GStreamer入门-1Gstream安装第一步 —— 在Ubuntu上安装GStreamer第二步 —— 使用GStreamer构建应用程序第三步 —— 获取教程的源代码第四步 ——Building 教程第五步 ——Running 教程源码 basic-tutorial-1.cConclusionGstream安装参见官网:Installing on Linux第一步 —— 在Ubuntu上安装GStreamersudo apt-get install libgstrea
2021-10-19 14:54:39
317
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人