android-vision

Text Recognition failing to recognize currency symbols

拟墨画扇 提交于 2021-02-04 20:46:16
问题 I am using the text recognition API within mobile vision, and trying to work with currency amounts. The OCR currently supports Latin based languages like French, German, etc., so I figured the country's currency (Euro) would be a recognized symbol, but as far as I can tell, it's not. Are there language preferences that I should be changing in order to detect €? Does anyone have experience working with currency symbols within mobile vision as well, or is it just not currently supported? Thanks

Building Business Cards Reader using android vision Text OCR

落爺英雄遲暮 提交于 2020-01-13 12:06:37
问题 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

Building Business Cards Reader using android vision Text OCR

浪尽此生 提交于 2020-01-13 12:02:12
问题 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

Android Face Detection API - Stored video file

人走茶凉 提交于 2020-01-13 05:11:25
问题 I would like to perform face detection / tracking on a video file (e.g. an MP4 from the users gallery) using the Android Vision FaceDetector API. I can see many examples on using the CameraSource class to perform face tracking on the stream coming directly from the camera (e.g. on the android-vision github), but nothing on video files. I tried looking at the source code for CameraSource through Android Studio, but it is obfuscated, and I couldn't see the original online. I image there are

Putting a 3D face filter by using the Vision API

感情迁移 提交于 2020-01-02 06:15:31
问题 The similar question has been asked here: Add 2D or 3D Face Filters like MSQRD/SnapChat Using Google Vision API for iOS. However, it has not been answered yet. Essentially, my work assignment is to put a 3D face filter on a person's face while the phone's front-facing camera is being used. Given that the Mobile Vision API/the GitHub Android Vision project provide a way to detect a human face and stick some drawable images on it, but what my users want is a 3D object (cat or dog face) like

CameraSource .setAutoFocusEnabled(true) returns: Camera auto focus is not supported on this device although device supports auto focus

雨燕双飞 提交于 2019-12-19 04:13:22
问题 Below is my barcode scanner activity, everything works fine except for the setAutoFocusEnabled(true). It returns a message on runtime that says my device does not support auto focus although the Samsung Tab E T561 is an auto focus enabled device. import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.util.SparseArray; import android.view.SurfaceHolder; import android.view.SurfaceView; import android.view.View; import android.widget

Google Vision API Samples: Get the CameraSource to Focus

被刻印的时光 ゝ 提交于 2019-12-17 12:48:32
问题 I have checkout out the latest Google Vision APIs from here: https://github.com/googlesamples/android-vision And I am running it on a LG G2 device with KitKat. The only change I have made is to the minSdkVerion in the Gradle file: ... defaultConfig { applicationId "com.google.android.gms.samples.vision.face.multitracker" minSdkVersion 19 ... However it does not focus. How do I make it focus? 回答1: I modified the CameraSourcePreview (....) constructor to be as follows: public

Google Vision API Samples: Get the CameraSource to Focus

若如初见. 提交于 2019-12-17 12:48:15
问题 I have checkout out the latest Google Vision APIs from here: https://github.com/googlesamples/android-vision And I am running it on a LG G2 device with KitKat. The only change I have made is to the minSdkVerion in the Gradle file: ... defaultConfig { applicationId "com.google.android.gms.samples.vision.face.multitracker" minSdkVersion 19 ... However it does not focus. How do I make it focus? 回答1: I modified the CameraSourcePreview (....) constructor to be as follows: public

Media Recorder with Google Vision API

那年仲夏 提交于 2019-12-17 10:48:13
问题 I am using the FaceTracker sample from the Android vision API. However, I am experiencing difficulty in recording videos while the overlays are drawn on them. One way is to store bitmaps as images and process them using FFmpeg or Xuggler to merge them as videos, but I am wondering if there is a better solution to this problem if we can record video at runtime as the preview is projected. Update 1: I updated the following class with media recorder, but the recording is still not working. It is

How to detect the Corners / Center X, Y Coordinates Using Google's Face API?

大兔子大兔子 提交于 2019-12-11 05:08:34
问题 Good day all, I am using Google's new Face API (Link here) which works with improved FaceDetection. One of the things you get back is a List of Landmark objects, each of which has an X and Y coordinate to use. With these coordinates, I am trying to figure out the center of the picture, but figuring out the correct numbers is proving difficult. Here is what I know so far: 1) Unlike in the old ways, it is no longer 1000, 1000 by -1000, -1000 2) The coordinates that are returned are in float