- 博客(4)
- 收藏
- 关注
原创 编程小白 python 调用 c++ 传入图像返回二维数组 ubuntu
小白 python 调用 c++ 传入图像返回二维数组 ubuntu .cpp文件 调用.cpp文件需要添加这一段 \\头文件(略) #ifdef __cplusplus extern "C" { #endif \\此处定义想在外部调用的函数名 例:传入图像返回二维数组 double **test(int rows, int cols, unsigned char *src_data); #ifdef __cplusplus } #endif double **test(int rows, int
2021-07-10 15:05:42
541
原创 python爬取百度图库
python爬取百度图库 import requests import os import urllib import random class 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
273
原创 python 多线程 无阻塞获取键盘按键
编程小白 python 多线程 无阻塞获取键盘按键 刚开始学,不喜勿喷,谢谢 import sys import tty import termios import os import threading def 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
2398
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
2315
4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅