- 博客(4)
- 收藏
- 关注
原创 编程小白 python 调用 c++ 传入图像返回二维数组 ubuntu
小白 python 调用 c++ 传入图像返回二维数组 ubuntu.cpp文件调用.cpp文件需要添加这一段\\头文件(略)#ifdef __cplusplusextern "C"{#endif\\此处定义想在外部调用的函数名 例:传入图像返回二维数组 double **test(int rows, int cols, unsigned char *src_data);#ifdef __cplusplus}#endifdouble **test(int rows, int
2021-07-10 15:05:42 450
原创 python爬取百度图库
python爬取百度图库import requestsimport osimport urllibimport randomclass Spider_baidu_image(): def __init__(self): self.url = 'http://image.baidu.com/search/acjson?' self.headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 1
2021-04-12 18:35:23 196
原创 python 多线程 无阻塞获取键盘按键
编程小白 python 多线程 无阻塞获取键盘按键刚开始学,不喜勿喷,谢谢import sysimport ttyimport termiosimport osimport threadingdef readchar(): fd = sys.stdin.fileno() old_settings = termios.tcgetattr(fd) try: tty.setraw(sys.stdin.fileno()) ch = sys.s
2021-04-10 11:58:55 2201 3
原创 python订阅ros topic
python订阅ros topic刚接触ros,欢迎交流录制bag:----所有topic:--------rosbag record -a----感兴趣topic:--------rosbag record topic名字1 topic名字2……查看bag信息:----rosbag info ****.bag信息例:----topic名字-------------------------------------------------------数据类型/mynteye/depth/
2021-01-06 17:49:02 2216 4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人