- android camera之nv21旋转 这周做的一个android的camera开发,需要获取到视频帧数据,并且需要是nv21格式的byte数组,并且视频帧的图像需要是正方向的。和android相机打过交道的都清楚,android的camera获取到的图片都是横向的,因此,需要进行旋转,对于图像的旋转,其实bitmap这个类已经可以帮我们实现了,但是前提... android camera之nv21旋转 这周做的一个android的camera开发,需要获取到视频帧数据,并且需要是nv21格式的byte数组,并且视频帧的图像需要是正方向的。和android相机打过交道的都清楚,android的camera获取到的图片都是横向的,因此,需要进行旋转,对于图像的旋转,其实bitmap这个类已经可以帮我们实现了,但是前提...
- ndk build 的时候报错,少了libncurses.so.5 在ubuntu环境下,使用sudo apt install libncurses5安装 如果是adb,装32位的: ./adb: error while loading shared libraries: libncurses.so.5: from://http://s... ndk build 的时候报错,少了libncurses.so.5 在ubuntu环境下,使用sudo apt install libncurses5安装 如果是adb,装32位的: ./adb: error while loading shared libraries: libncurses.so.5: from://http://s...
- android NDK增加log调试 1. 首先建立log.h文件 #include <android/log.h>#define LOG_TAG "Android" #define LOGI(...) __android_log_print(ANDROID_LOG_INF... android NDK增加log调试 1. 首先建立log.h文件 #include <android/log.h>#define LOG_TAG "Android" #define LOGI(...) __android_log_print(ANDROID_LOG_INF...
- 还带运动估计: 打不开后置摄像头 https://github.com/tianyalu/NeOpenGLBeautyFace https://github.com/zerochl/MagicShow opencv 美颜 贴纸 大眼睛 有摄像头: https://github.com/xingfengwxx/BeautyF... 还带运动估计: 打不开后置摄像头 https://github.com/tianyalu/NeOpenGLBeautyFace https://github.com/zerochl/MagicShow opencv 美颜 贴纸 大眼睛 有摄像头: https://github.com/xingfengwxx/BeautyF...
- implementation 'com.zxy.android:recovery: implementation 'com.zxy.android:recovery:1.0.0' or debugImplementation 'com.zxy.android:recovery:1.0.0' releaseImplem... implementation 'com.zxy.android:recovery: implementation 'com.zxy.android:recovery:1.0.0' or debugImplementation 'com.zxy.android:recovery:1.0.0' releaseImplem...
- 1.改 classpath 'com.android.tools.build:gradle:3.1.0' 这样能把dat放到raw中 2.改权限: 正确: params.type = WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY; &n... 1.改 classpath 'com.android.tools.build:gradle:3.1.0' 这样能把dat放到raw中 2.改权限: 正确: params.type = WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY; &n...
- android camera2 获取摄像头支持的分辨率 41的for循环我注释了,代码是获取最匹配的分辨率。 private Size getMatchingSize2(){ Size selectSize = null; try { CameraManager mCameraManager = (CameraManager) getSystemS... android camera2 获取摄像头支持的分辨率 41的for循环我注释了,代码是获取最匹配的分辨率。 private Size getMatchingSize2(){ Size selectSize = null; try { CameraManager mCameraManager = (CameraManager) getSystemS...
- 临时解决方法,需要下载gradle,下载后放在目录: 随机变量的目录下面: C:\Users\Administrator\.gradle\wrapper\dists\gradle-6.1.1-all\cfmwm155h49vnt3hynmlrsdst\gradle-6.1.1 把项目删了,重新解压,加载项目。 临时解决方法,需要下载gradle,下载后放在目录: 随机变量的目录下面: C:\Users\Administrator\.gradle\wrapper\dists\gradle-6.1.1-all\cfmwm155h49vnt3hynmlrsdst\gradle-6.1.1 把项目删了,重新解压,加载项目。
- demo合集: https://github.com/dalong982242260/AndroidRuler 1、直尺(测量距离) github:https://github.com/1149863953/ruler 问题:不能适配各种手机,有的不准 2、圆尺(测量角度) github:https://github.com/1149863953/rul... demo合集: https://github.com/dalong982242260/AndroidRuler 1、直尺(测量距离) github:https://github.com/1149863953/ruler 问题:不能适配各种手机,有的不准 2、圆尺(测量角度) github:https://github.com/1149863953/rul...
- 定义变量: gradle.properties COMPILE_SDK_VERSION=25 BUILD_TOOLS_VERSION=25.0.0 TARGET_SDK_VERSION=23 MIN_SDK_VERSION=8 使用变量: build.gradle中 apply plugin: 'com.android.app... 定义变量: gradle.properties COMPILE_SDK_VERSION=25 BUILD_TOOLS_VERSION=25.0.0 TARGET_SDK_VERSION=23 MIN_SDK_VERSION=8 使用变量: build.gradle中 apply plugin: 'com.android.app...
- GLES20.glLineWidth( 3f ); private void drawCircle( float r, float g, float b, float a ) { for( int i = 0; i < circleBuffersesList.size(); ++i ) { //頂点バッファの指定 GLES20.glVer... GLES20.glLineWidth( 3f ); private void drawCircle( float r, float g, float b, float a ) { for( int i = 0; i < circleBuffersesList.size(); ++i ) { //頂点バッファの指定 GLES20.glVer...
- 原文: Android学习笔记——NDK中C++标准库、STL的配置;Include其他头文件 1、STL的使用,以stlport为例 官方的说法是只需要在Application.mk文件中添加如下一行即可 Application.mk代码 APP_STL := stlport_static&... 原文: Android学习笔记——NDK中C++标准库、STL的配置;Include其他头文件 1、STL的使用,以stlport为例 官方的说法是只需要在Application.mk文件中添加如下一行即可 Application.mk代码 APP_STL := stlport_static&...
- adb tcpip 5555 adb下载地址: http://download.clockworkmod.com/test/UniversalAdbDriverSetup.msi 3.在设备中下载超级终端(是andriod软件),设置端口: su setprop service.adb.tcp.... adb tcpip 5555 adb下载地址: http://download.clockworkmod.com/test/UniversalAdbDriverSetup.msi 3.在设备中下载超级终端(是andriod软件),设置端口: su setprop service.adb.tcp....
- Log.e注意问题: "find bar"字符串中间有空格,所有搜索不到,但是用下划线连接起来,过滤日志时就能搜到。 Log.e("find bar",points[0].toString()); package com.lbstock; import java.io.File; import java.io.FileNotFoundEx... Log.e注意问题: "find bar"字符串中间有空格,所有搜索不到,但是用下划线连接起来,过滤日志时就能搜到。 Log.e("find bar",points[0].toString()); package com.lbstock; import java.io.File; import java.io.FileNotFoundEx...
- https://github.com/JunkCode/android-oculus_test 这个有pc版的demo: https://github.com/jherico/OculusSDK https://github.com/jherico/OculusAndroid 这个是游戏,不是摄像头 https://github.com... https://github.com/JunkCode/android-oculus_test 这个有pc版的demo: https://github.com/jherico/OculusSDK https://github.com/jherico/OculusAndroid 这个是游戏,不是摄像头 https://github.com...
上滑加载中
推荐直播
-
HDC深度解读系列 - Serverless与MCP融合创新,构建AI应用全新智能中枢
2025/08/20 周三 16:30-18:00
张昆鹏 HCDG北京核心组代表
HDC2025期间,华为云展示了Serverless与MCP融合创新的解决方案,本期访谈直播,由华为云开发者专家(HCDE)兼华为云开发者社区组织HCDG北京核心组代表张鹏先生主持,华为云PaaS服务产品部 Serverless总监Ewen为大家深度解读华为云Serverless与MCP如何融合构建AI应用全新智能中枢
回顾中 -
关于RISC-V生态发展的思考
2025/09/02 周二 17:00-18:00
中国科学院计算技术研究所副所长包云岗教授
中科院包云岗老师将在本次直播中,探讨处理器生态的关键要素及其联系,分享过去几年推动RISC-V生态建设实践过程中的经验与教训。
回顾中 -
一键搞定华为云万级资源,3步轻松管理企业成本
2025/09/09 周二 15:00-16:00
阿言 华为云交易产品经理
本直播重点介绍如何一键续费万级资源,3步轻松管理成本,帮助提升日常管理效率!
回顾中
热门标签