自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 01.linux安装nginx

1.下载安装包手动下载.tar.gz安装包,地址:nginx: download下载完毕上传到服务器上 /root2.解压tar -zxvf nginx-1.21.6.tar.gzcd nginx-1.21.63.安装依赖yum install -y gccyum install -y pcre pcre-develyum install -y zlib zlib-devel编译安装./configure --prefix=/usr/local/nginx make make in

2022-04-21 10:16:18 105

原创 AttributeError: module ‘cv2.cv2‘ has no attribute ‘xfeatures2d‘

AttributeError: module ‘cv2.cv2’ has no attribute ‘xfeatures2d’使用python进行图像配准、拼接以及融合时,常用的算法有Sift算子、Surf算子、Harris算子等。由于sift算法的专利问题,部分opencv版本的Sift/Surf算法无法使用,即无法调用cv2.xfeatures2d.SURF_create()。解决方法:卸载当前opencv-python和opencv-contrib-python第三方包pip uninstal

2021-08-11 18:54:45 921

原创 error: ‘struct FRAME’ has no member named ‘frameID’ f.frameID = index;

在include/slamBase.h里(下图红框处)加上:int frameID;

2021-04-21 21:57:32 415

原创 error: no matching function for call to ‘g2o::OptimizationAlgorithmLevenberg::OptimizationAlgorithmL

在高翔的一起做RGB-D SLAM(6)中error: no matching function for call to ‘g2o::OptimizationAlgorithmLevenberg::OptimizationAlgorithmLevenberg(SlamBlockSolver*&)’orithmLevenberg* solver = new g2o::OptimizationAlgorithmLevenberg(blockSolver);解决方案:还是g2o更新的问题。在s

2021-04-21 17:48:15 1180 3

原创 OpenCV Error: Assertion failed (confidence > 0 && confidence < 1) in run,ptsetreg.cpp, line 178

Bug全内容:OpenCV Error: Assertion failed (confidence > 0 && confidence < 1) in run, file /home/chenzhe/soft/opencv-3.1.0/modules/calib3d/src/ptsetreg.cpp, line 178terminate called after throwing an instance of ‘cv::Exception’what(): /home/ch

2021-04-20 20:41:32 280

原创 Tomcat服务器接收中文乱码

将项目部署到Tomcat上时,原来响应的json中中文乱码。解决办法:找到 Tomcat\conf\server.xml文件,加上 URIEncoding=‘UTF-8’。<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding= "UTF-8"/>内添

2021-04-11 21:34:14 513

原创 tomcat控制台出现中文乱码(IDEA版)

解决方案tomcat版本:9.0.44IDEA版本:2020.3.31.找到help2.找到Edit Custom VM Options…3.在文件中加入-Dfile.encoding=UTF-8后保存4.清除缓存后重启IDEA(一定要重启)5. 重启后结果

2021-04-11 21:29:23 60

原创 错误recipe for target ‘CMakeFiles/Mono.dir/all‘ failed

set(LIBS${OpenCV_LIBS}${EIGEN3_LIBS} ${Pangolin_LIBRARIES}${PROJECT_SOURCE_DIR}/../../../Thirdparty/DBoW2/lib/libDBoW2.so${PROJECT_SOURCE_DIR}/../../../Thirdparty/g2o/lib/libg2o.so${PROJECT_SOURCE_DIR}/../../../lib/libORB_SLAM2.so-lboost_system)

2021-04-09 14:23:40 3741 2

原创 ORB_SLAM2编译常见错误

1.解决ORB-SLAM2编译死机问题vim build.sh,在最后将 -j 取消掉。2.解决usleep问题在include里面的system.h加入#include<unistd.h>3.运行./build.sh4.修正错误Failed to invoke rospack to get compile flags for package ‘ORB_SLAM2’.sudo gedit ~/.bashrc修改bashrc,在其末端加入export ROS_PACKAGE_PATH

2021-04-09 14:18:33 1789

原创 ubuntu18.4安装ORB_SLAM2教程

ubuntu18.4安装ORB_SLAM2教程1.更新apt库,安装gccapt-get updatesudo apt install build-essential该命令将安装一堆新包,包括gcc,g ++和make。要验证GCC编译器是否已成功安装:gcc --version2.安装git,用于从Github上克隆项目到本地 sudo apt-get install git3.安装cmake,用于程序的编译源码安装步骤tar -xvf cmake-3.16.8.tar 解压

2021-04-09 14:12:41 334

原创 报错:AttributeError: ‘Series‘ object has no attribute ‘as_matrix‘

出错原因:as_matrix不能用将.as_matrix()改为.values测试运行landmarks_frame = pd.read_csv('data/faces/face_landmarks.csv')n = 65img_name = landmarks_frame.iloc[n, 0]landmarks = landmarks_frame.iloc[n, 1:].valueslandmarks = landmarks.astype('float').reshape(-1, 2)pr

2021-03-18 10:47:56 822

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除