问题标签 [android-vision]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - Android(移动)视觉相机亮度非常低
我在我的项目中集成了谷歌视觉,如下面的帖子所示: http ://code.tutsplus.com/tutorials/reading-qr-codes-using-the-mobile-vision-api--cms-24680
一切看起来都很好,除了相机视图亮度。与我实际的 android 相机应用程序相比,这里的相机视图非常暗。
请让我知道我是否可以增加相机的亮度并打开任何弱光设置。谢谢 。
android - 使用 Vision API 的自定义 RectangleDetector
如何在 Mobile vision API 中创建自定义 RectangleDetector,如 FaceDetector 和 BarcodeDetector?我需要从相机框架中检测矩形形状。我怎样才能做到这一点?
android - 谷歌移动视觉文本 API 示例
我目前正在编写代码,该代码应该能够查看文本图片,然后从图片中为基于 android 的设备提取文本。我在网上做了一些研究,发现谷歌提供了他们自己的名为“Mobile Vision”的 API(一个包含许多项目的包,即文本识别、面部识别等)。然而,在他们的演示中,他们只演示了实时文本识别。我想知道是否有人可以给我一个使用 Mobile Vision API 对静止图像进行文本识别的示例。欢迎任何帮助。谢谢。
android - 我想使用移动视觉在后台服务上使用摄像头
我为我的项目制作了一个 android 应用程序。我的应用程序的目的是检测眨眼。
我使用移动视觉 api。我正在使用一个关于移动视觉的面部检测和眨眼检测代码的示例代码。
我的第一个问题是移动视觉 api 可以在后台服务上工作吗?
我的第二个问题是将相机 api 与移动视觉 api 结合起来是什么?相机 api 可以在后台服务上工作,但不能与移动视觉人脸检测类一起使用。
请帮我..
我的应用程序的服务代码是
日志猫
07-13 09:55:05.666 17707-17777/com.hyechon.etrackermv I/Vision:连接错误:空 07-13 10:00:04.761 17707-17707/com.hyechon.etrackermv I/过程:发送信号。PID:17707 SIG:9
android-vision - QR 码 - 原始二进制数据
有人知道是否有办法使用 android vision API 获取 QR 码的原始二进制数据?我正在阅读的 QR 码中包含二进制数据(包括 NUL 字符),但采用 8 位编码构建,因此完整的二进制数据块就在那里。返回的 Barcode 对象非常有用,在 rawValue 字段中包含字符串“未知编码”,而不是我的二进制数据?感谢您的任何想法!
android - 人脸检测 API - 坐标
所以我使用 API 来检测图像中的人脸,到目前为止它对我来说效果很好。但是,我无法弄清楚如何将图像裁剪到脸部。我知道如何裁剪位图,但它需要在位图中获取人脸的左上角位置以及宽度和高度。当我使用查询左上角位置时
但是当我查看点时,我注意到 y 是 -63.5555 而 x 是 235.6666;我不明白为什么有一个负的 y 坐标。我做了一些调试并查看了面部对象内部;我发现它已经包含一个 PointF 对象,该对象已经具有正 x 和 y 坐标。那么为什么在这种情况下会返回负 y 坐标呢?
android - Android instrumentation test errors due to com.google.android.gms.version meta data
I am attempting to write an instrumentation test for my Android app. When I run my test, and it hits the section of my code that attempts to use the com.google.android.gms.vision.face.FaceDetector library, the test framework throws the follow error:
However, my AndroidManifest.xml already does contain that exact meta data tag, right here:
What am I missing? My instrumented test looks something like this:
EDIT: adding build.gradle
Any help is appreciated. I have already found a miriad of SO answers that all say add the meta-data tag to the manifest (this one, for example), however I already have it added and the test still will not run past the FaceDetector library.
android - TextRecognizer 只能检测 TextBlocks
我开始按照 Text API 教程来检测 TextBlocks,效果很好。但是我现在想检测文本行,遇到了一个问题。
textRecognizer.setProcessor 只能使用 TextBlock。有什么方法可以检测线条吗?