Linux
LIZhang2016
本人从事于机器视觉,主要是关于机器识别技术,用到opencl加速,opencv,和图像处理的算法,以及音视频相关技术
展开
-
写一个脚本记录运行程序的top
#保存文件名字LOGNAME=111.logEXE=python#排除python3EXE1=python3for((i=0;;i++));doTIME=`date`RET=`top -b -n 1 | grep $EXE| grep -v $EXE1 | awk '{print systime(), $0}'`echo $RET $TIME $i >> $(pwd)/$LOGNAMEsleep 1done原创 2022-01-14 14:32:58 · 332 阅读 · 0 评论 -
vscode 如何编辑python 代码
1: 假设你已经安装了anaconda3然后安装了vscode , 怎么配置才可以在写代码时候可以自动补齐方法如下:1: ctrl + p 会弹搜索框, 输入json找到 launch.json 打开,修改成{ // Use IntelliSense to learn about possible attributes. // Hover to view descript...原创 2019-08-16 08:53:57 · 818 阅读 · 0 评论 -
新安装的ubuntu16.04无法连接wifi
https://blog.csdn.net/weixin_41762173/article/details/79480609转载 2019-06-03 16:49:25 · 1433 阅读 · 0 评论 -
Makefile 如何调用opencv 的静态库
#include <stdio.h>#include "opencv2/opencv.hpp"int main(){ cv::Mat image = cv::imread("./testPic/jianhui.jpg"); //cv::imshow("xxx", image); //cv::waitKey(40); printf("ima...原创 2019-06-14 16:50:56 · 3735 阅读 · 0 评论 -
protobuf 静态编译
一.protobuf 安装protobuf版本:2.6.1下载地址:https://github.com/google/protobuf/archive/v2.6.1.zip解压之后进入目录修改autogen.shecho "Google Test not present. Fetching gtest-1.5.0 from the web..."curl http://google...原创 2019-06-19 11:30:57 · 2087 阅读 · 0 评论 -
xshell 链接虚拟机ubuntu 失败
xshell6 可以ping 通虚拟机的ip 但是无法链接,原来虚拟机没有安装ssh-server 这个服务sudo apt-get updatesudo apt-get install openssh-serverps -e | grep ssh // 查看一下如下:表示启动3246 ? 00:00:00 sshd3321 ? 00:00:00 ssh...原创 2019-01-04 15:17:27 · 512 阅读 · 1 评论 -
c++生成java接口,jni技术
c++ 生成java 接口最本质的方法是通过jni 技术,jni 技术可以实现java 和c++的互相调用那么生成so 具体用什么方法好呢?我所知道的有四种方式1: 写andorid 的android.mk 文件,之前在eclipse 中使用过,mk 文件就相当于Makefile2: SWIG 技术,一个工具,c++ 语言生成各种其他语言的工具,java,c#,python 等都支持,中文...原创 2018-12-17 20:21:15 · 2419 阅读 · 0 评论 -
ActiveMQ-CPP在Arm板上编译
https://blog.csdn.net/github_30605157/article/details/60468727https://blog.csdn.net/lx121451/article/details/78717603https://blog.csdn.net/wei_xiaox126/article/details/41874853转载 2018-12-10 13:45:45 · 572 阅读 · 0 评论 -
Makefile 标准写法
opencv.pc // 这个配置被Makefile 调用Makefilethirdparty_root := /usr/local/thirdpartyfacesdk_root := /usr/local/facesdkexport PKG_CONFIG_PATH := ${thirdparty_root}/lib64/pkgconfig:${PKG_CONFIG_PATH}CC...原创 2018-11-22 18:06:55 · 866 阅读 · 0 评论 -
linux脚本启动jar包
https://blog.csdn.net/feidao0/article/details/79483338转载 2018-11-13 20:59:00 · 2241 阅读 · 0 评论 -
ubuntu 文件如何安装.deb怎么安装
1:下载好 bcompare-4.2.7.23425_amd64.deb2:sudo dpkg -i bcompare-4.2.7.23425_amd64.deb3:一般步骤2会出现依赖错误4:sudo apt-get install -f修复依赖安装5:如果要卸载安装的应用我们通过“sudo dpkg -l”查看已经安装的软件,并找到自己的安装的软件名。6:最后使用"sud...原创 2018-10-26 18:39:16 · 8680 阅读 · 0 评论 -
Ubuntu下面怎么找到一个软件安装的目录
aptitude show packagename 实例: aptitude show sublime-text-installer 1234可以看到这个软件一系列信息 dpkg命令dpkg -l //列车所有安装的软件dpkg -l firefox //列出fire...转载 2018-07-21 16:48:47 · 11935 阅读 · 0 评论