- 博客(12)
- 收藏
- 关注
原创 Android 学习之TextView
1. 基础属性activity_main.xml <TextView android:id="@+id/one_id" android:text="@string/text1_name" android:textColor="@color/black" android:textStyle="bold" android:textSize="20sp" android:background="#
2022-05-14 15:20:36
265
原创 UI Automator 主要的对象类(一)
一. UiDevices类UiDevices代表设备状态。测试时用于检查设备不同属性的状态private static Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation();public static UiDevice Device = UiDevice.getInstance(instrumentation);|方法名 | 描述 | 使用|Pr
2021-01-04 20:54:35
179
原创 图像质量评价数据库与图像质量算法性能评价指标
视频质量专家组(Video Quality Experts Group, VQEG)发起的评价算法性能校准项目的主要思想是通过组织主观实验获取图像的主观质量,以主客观质量的一致性来判断客观评价算法的性能。目前常用的数据主要有以下8种:1)LIVE(Laboratory for image & video engineering )http://live.ece.utexas.edu/index.phpLIVE是美国德克萨斯大学奥斯汀分校的电气与计算机工程系与心理学系联合建立,应用最为广泛。Re
2021-01-04 20:53:45
2276
原创 UiAutomator 断言判断
1. assertFalse(String, boolean)boolean 若为False 则pass,无输出,否则测试case fail,输出 string2. assertTrue(String, boolean)boolean 若为True 则pass,无输出,否则测试case fail,输出 string3. assertNotNull(String, object)object 若为非Null 则pass,无输出,否则测试case fail,输出 string4. ass
2021-01-04 07:54:30
434
原创 AI --github项目
https://github.com/Charmve/Surface-Defect-Detection/blob/master/ReadmeChinese.mdhttps://github.com/SSL92/hyperIQAhttps://github.com/h4nwei/SPAQhttps://github.com/oyxhust/wgan-gp-anomalyhttps://github.com/junyanz/pytorch-CycleGAN-and-pix2pix..
2020-12-31 14:53:43
319
原创 python3文件夹相关操作--创建新文件夹,删除文件,移动文件,获取指定文件下的文件和数量
1. 创建新文件夹若存在且不为空,删除旧文件夹,重新创建# coding=utf-8import globimport shutilimport osdef PicPath(path): if os.path.exists(path): print(path, " is exists!") if not os.listdir(path): print(path, " is empty!") else:
2020-12-18 15:46:17
285
原创 FFMPEG学习笔记-----常用命令行
1. 获取视频信息ffprobe -i input.mp4或者使用第三方工具软件 mediainfo 查看视频信息2. 单独提取出视频和音频ffmpeg -i input.mp4 -an output.mp4 #提取视频ffmpeg -i input.mp4 -vn output.mp3 #提取音频另外:当使用ffmpeg -i input.mp4 -acodec ...
2020-05-07 22:57:21
327
转载 pip升级后ImportError : cannot import name main解决
方法一:sudo gedit /usr/bin/pip将原来的from pip import main改为from pip._internal import main方法二:sudo gedit /usr/bin/pip将原来的:from pip import mainif __name__ == '__main__': sys.exit(main())改为:fr...
2019-05-21 09:46:01
130
原创 pandas - DataFrame ,Series ;Numpy -array, Scipy ;groupby()
学习python模块pandas ,numpy,matplotlib1.pandasDataFrame是Python中Pandas库中的一种数据结构,它类似excel,是一种二维表.array 是Python中Numpy库中的一种数据类型–矩阵Series 是一个一维数组对象 ,类似于 NumPy 的一维 array。它除了包含一组数据还包含一组索引,所以可以把它理解为一组带索引的数组。...
2019-05-08 17:46:13
283
转载 fatal: pathspec 'readme.txt' did not match any files
git add 出现 fatal: pathspec ‘readme.txt’ did not match any files解决方法:先创建readme.txt 文件,再使用 git add
2019-04-24 10:59:42
1157
转载 paramiko出现CryptographyDeprecationWarning
paramiko出现CryptographyDeprecationWarning解决方法:卸载当前cryptography 版本pip uninstall cryptography2.5(2.6 …)安装2.4.2版本pip install cryptography2.4.2
2019-04-24 10:32:45
7093
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人