rak无线pythonic api配置

rak的Python项目详细描述


rak视频模块的python api,在rak566上测试

安装

直到pypi发布:

sudo pip install rak

用法

fromrakimportRakDevice# If you connect to the RAK567, the ip of the RAK566 (or other transmitters) is 192.168.100.100# If you connect to the RAK566 (or other transmitters) directly, the ip will be 192.168.100.1# RakDevice(self, ip, pipe, username="admin", password="admin"):pipe0=RakDevice("192.168.100.100",pipe=0,username='admin',password='admin')pipe1=RakDevice("192.168.100.100",pipe=1,username='admin',password='admin')# Refresh force to read all the propertiespipe0.refresh()# Show the pipe properties (refreshes only the data that is not yet read)print(str(pipe0))# Set the highest resolution (FHD) and quality for the pipe0pipe0.resolution(3).quality(136).fps(30).gop(30)# Disable pipe1 as nothing is connected by default on the RAK566pipe1.resolution(0).quality(5).fps(1).gop(1)

学分

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何在没有注释/类的情况下将测试用例的实例添加到junit4测试套件中   借助Spring的AbstractBeanDefinition的反射实现java序列化   java哈希如何推送新建和更新当前   需要java中数组的帮助吗   java Spring MVC:在tomcat中的@ResponseBody异常处理程序上使用@ResponseStatus(reason='')   java洗牌图像视图位置   java发送邮件日期正则表达式   java使用Play框架在数据库中查找单个对象   java在jsp中显示查询结果:表字段问题   java显示xml以获得正确的视图   基于MVC的GUI中模型间的java通信   java中的多线程简单线程问题   java我需要从另一个方法调用一个数组,然后使用它   java平滑径向梯度   java如何检查在另一个数组中找到的特定字符串的数组中的值?   我在EclipseJavaAndroid中没有看到命令窗口