android-vision

Android Vision Face Detection with Video Stream

做~自己de王妃 提交于 2019-12-10 19:14:41
问题 I am trying to integrate the face detection api in a video stream I am receiving from a parrot bebop drone. The stream is decoded with the MediaCodec class (http://developer.android.com/reference/android/media/MediaCodec.html) and this is working fine. Rather than rendering the decoded frame data to a surface view, I can successfully access the ByteBuffer with the decoded frame data from the decoder. I can also access the decoded image objects (class https://developer.android.com/reference

Google Mobile Vision library not downloading

南楼画角 提交于 2019-12-10 03:29:10
问题 I am trying to implement the Google Mobile Vision TextRecogniser API into my app, to read text off a given Image. When I try to use the feature, I get this error: W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite not found. I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:801 I/DynamiteModule: Selected remote version of com.google.android.gms.vision.dynamite,

Scanning QR code using Android's Mobile Vision API

老子叫甜甜 提交于 2019-12-09 14:42:20
问题 I followed this tutorial on how to build an Android app that can scan QR codes. Here's the full code. I added the Google Play services using grade like so compile 'com.google.android.gms:play-services:7.8.0' . AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="bitinvent.io.qrscanner" > <meta-data android:name="com.google.android.gms.vision.DEPENDENCIES" android:value="barcode"/> <uses-permission android:name

Android(Mobile) vision camera brightness is very low

£可爱£侵袭症+ 提交于 2019-12-08 17:34:21
问题 I have integrated google vision in my project as shown in below post: http://code.tutsplus.com/tutorials/reading-qr-codes-using-the-mobile-vision-api--cms-24680 Everything looks fine except the camera view brightness . The camera view here is very dark when comparing with my actual android camera app. Please let me know if i can increase the brightness of the camera and turn on any low light settings. Thanks . Pictures : Camera picture , App Camera view picture 回答1: I had the same problem.

QR Codes - raw binary data

▼魔方 西西 提交于 2019-12-08 04:41:34
问题 Does anybody know if there is a way to get the raw binary data of a QR code using the android vision API ? The QR codes I am reading have binary data (including NUL characters) in them but are built with 8 bit encoding so the full binary data block is there. The Barcode object returned very helpfully has the string "Unknown encoding" in the rawValue field, instead of my binary data ? Thanks for any ideas! 回答1: To answer my own question, it seems both the android vision and zxing libraries

Crop face from the CameraSource

≯℡__Kan透↙ 提交于 2019-12-07 03:59:26
问题 I am implementing the example given in google-vision face tracker. MyFaceDetector class: public class MyFaceDetector extends Detector<Face> { private Detector<Face> mDelegate; MyFaceDetector(Detector<Face> delegate) { mDelegate = delegate; } public SparseArray<Face> detect(Frame frame) { return mDelegate.detect(frame); } public boolean isOperational() { return mDelegate.isOperational(); } public boolean setFocus(int id) { return mDelegate.setFocus(id); } } FaceTrackerActivity class: private

Does Machine Vision API work offline?

邮差的信 提交于 2019-12-06 20:18:39
问题 Does the Google Mobile Vision (https://developers.google.com/vision/) API work offline? Or does it need Internet connectivity? The sample app does not require any Internet permission. Which means the API works entirely offline. I am looking for a positive confirmation of this. PS. Also I am looking for more information on this API. For example, does it use neural networks? If so what algorithms were used? I can not find any detail discussion anywhere. 回答1: The API does an initial library

How to install the barcode scanning library without a google account?

可紊 提交于 2019-12-06 19:46:01
问题 I would like to install the android-vision portion of google play services on devices that are not allowed to have a google account signed in. Traditionally, the android-vision library is downloaded through the play store as an update to google play services. According to this, the package name should be com.google.android.gms.vision.barcode. I used adb to list all packages installed on my rooted nexus device that has the barcode scanning library downloaded and the package was not in the list

Preview size for barcode scanner from vision api

三世轮回 提交于 2019-12-06 19:31:51
问题 I'm using the barcode-reader example from Google's Android Vision API. The preview size doesn't seem to fill up the whole space available (I'm using a Nexus 4 and there is a white unused space to the right of preview, about 1/3 of the width). I would like to be able to run this example on various devices and always have it fill up the whole space available. So the bit I've been playing with is: CameraSource.Builder builder = new CameraSource.Builder(getApplicationContext(), barcodeDetector)

Building Business Cards Reader using android vision Text OCR

时间秒杀一切 提交于 2019-12-05 14:51:27
I am building an android app using google's android mobile vision OCR Text for entry of Business Cards as contacts in the phone. So far i have able to recognize any Latin Generated Text and have been able to apply regex on the block of code What i have done is that i have created a Contacts bean class for five Variables name,email,compnayname,website,adrs,phnno After applying regex on the live data being generated i am filtering the results and saving them in an object of type bean class and passing that object to the activity and extract the data stored in that object and display it in my