there is nothing to describe.Among other: where should these pictures be stored? A short description how it works would be appreciated.
Google just detect the content. If there is an Barcode which contains a URL then the url will be filled...Is that (going to be) part of your library too?
case Barcode.CONTACT_INFO:
m.Put("BarcodeType", "CONTACTINFO");
//m.Put("CONTACTINFO", code.contactInfo.organization);
//Log.i(LOG_TAG, code.contactInfo.title);
break;
case Barcode.EMAIL:
m.Put("BarcodeType", "EMAIL");
m.Put("EMAIL",code.email.address);
//Log.i(LOG_TAG, code.email.address);
break;
case Barcode.ISBN:
m.Put("BarcodeType", "ISBN");
m.Put("ISBN",code.rawValue);
//Log.i(LOG_TAG, code.rawValue);
break;
case Barcode.PHONE:
m.Put("BarcodeType", "PHONE");
m.Put("PHONE",code.phone.number);
//Log.i(LOG_TAG, code.phone.number);
break;
case Barcode.PRODUCT:
m.Put("BarcodeType", "PRODUCT");
//Log.i(LOG_TAG, code.rawValue);
break;
case Barcode.SMS:
m.Put("BarcodeType", "SMS");
//Log.i(LOG_TAG, code.sms.message);
break;
case Barcode.TEXT:
m.Put("BarcodeType", "TEXT");
break;
case Barcode.URL:
m.Put("BarcodeType", "URL");
//Log.i(LOG_TAG, "url: " + code.url.url);
break;
case Barcode.WIFI:
m.Put("BarcodeType", "WIFI");
m.Put("WIFI",code.wifi.ssid);
//Log.i(LOG_TAG, code.wifi.ssid);
break;
case Barcode.GEO:
m.Put("BarcodeType", "GEO");
m.Put("GEO.lat",code.geoPoint.lat);
m.Put("GEO.lon",code.geoPoint.lng);
//Log.i(LOG_TAG, code.geoPoint.lat + ":" + code.geoPoint.lng);
break;
case Barcode.CALENDAR_EVENT:
m.Put("BarcodeType", "CALENDAR_EVENT");
m.Put("CALENDAR_EVENT",code.calendarEvent.description);
//Log.i(LOG_TAG, code.calendarEvent.description);
break;
case Barcode.DRIVER_LICENSE:
m.Put("BarcodeType", "DRIVER_LICENSE");
m.Put("DRIVER_LICENSE",code.driverLicense.licenseNumber);
//Log.i(LOG_TAG, code.driverLicense.licenseNumber);
break;
default:
m.Put("BarcodeType", "OTHER");
m.Put("OTHER",code.rawValue);
//Log.i(LOG_TAG, code.rawValue);
break;
}
Right! This is up to YOU as the Developer to built your own Database about the Productbarcodes or about the available Barcodeinfos.Simply deriving the bar code is not really enough.
Logger verbunden mit: 9885e6514556383552
--------- beginning of crash
--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
--------- beginning of system
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
Start Recognize... Recognizer ready = true
Barcode_Result(BARCODE,[{Index=0, displayValue=Psycho Puppy: https://40.media.tumblr.com/tumblr_m9lk21cIj41rrtgfno1_500.jpg, CornerPoints=(ArrayList) [{x=29, y=273}, {x=489, y=273}, {x=489, y=732}, {x=29, y=732}], BarcodeType=TEXT, Barcodes=(ArrayList) []}])
{Index=0, displayValue=Psycho Puppy: https://40.media.tumblr.com/tumblr_m9lk21cIj41rrtgfno1_500.jpg, CornerPoints=(ArrayList) [{x=29, y=273}, {x=489, y=273}, {x=489, y=732}, {x=29, y=732}], BarcodeType=TEXT, Barcodes=(ArrayList) []}
Index - 0
displayValue - Psycho Puppy: https://40.media.tumblr.com/tumblr_m9lk21cIj41rrtgfno1_500.jpg
CornerPoints - (ArrayList) [{x=29, y=273}, {x=489, y=273}, {x=489, y=732}, {x=29, y=732}]
BarcodeType - TEXT
Barcodes - (ArrayList) []
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
com.google.android.gms:play-services-vision
This is the forum policy. Please respect it.If, as a general principle, no questions in threads are allowed (anymore) then threads will become very short and to my opinion it will hamper the debate and the clustering of information. Already I find myself searching through half a dozen of threads regarding Snowboy as well as this library.
Or write my own code in C++For this you need to use Google CloudVision (Paid Service).
You are confusing "Google CLOUD Vision" (Paid Service) (you are talking about) and Google Vision (Free) (this lib is a wrap for the Google Vision).No yet imagecontext settings support ? For languages.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?