google-goggles

Using Zxing and Google Goggles with my app

不打扰是莪最后的温柔 提交于 2019-12-23 15:37:29
问题 I have an app, i used this code to integrate zxing public Button.OnClickListener mScan = new Button.OnClickListener() { public void onClick(View v) { Intent intent = new Intent("com.google.zxing.client.android.SCAN"); intent.putExtra("SCAN_MODE", "QR_CODE_MODE"); startActivityForResult(intent, 0); } }; public void onActivityResult(int requestCode, int resultCode, Intent intent) { if (requestCode == 0) { if (resultCode == RESULT_OK) { String contents = intent.getStringExtra("SCAN_RESULT");

Google goggles API [closed]

久未见 提交于 2019-12-17 07:04:09
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . Does anyone know if there is a google goggles API for Android? If not, is there one coming any time soon? With an API for this thing the possibilities are endless... So far all I've been able to find on this subject is a discussion about not currently having a version for the iPhone due to it's "google labs"

Crop image ala Google Goggles

此生再无相见时 提交于 2019-12-04 23:41:26
问题 I'm trying to do some ROI (region of interest) selection in my app, but I don´t know, how to create some kind of resizable (by fingers) rectangle like you can see in Google Goggles. Can you help me? Is there any source code example? 回答1: My final solution is to draw and rectangle in the midle of a view and implement onTouchEvent() in my activity to set new corners coordinates like this: @Override public boolean onTouchEvent(MotionEvent me) { if(SETTING_ROI == true){ if (me.getAction() ==

Crop image ala Google Goggles

那年仲夏 提交于 2019-12-03 14:38:19
I'm trying to do some ROI (region of interest) selection in my app, but I don´t know, how to create some kind of resizable (by fingers) rectangle like you can see in Google Goggles. Can you help me? Is there any source code example? My final solution is to draw and rectangle in the midle of a view and implement onTouchEvent() in my activity to set new corners coordinates like this: @Override public boolean onTouchEvent(MotionEvent me) { if(SETTING_ROI == true){ if (me.getAction() == MotionEvent.ACTION_DOWN) { START_DRAGGING = true; myView.selectCorner((int) me.getRawX(), (int) me.getRawY()); /

Google goggles API [closed]

蓝咒 提交于 2019-11-27 02:55:54
Does anyone know if there is a google goggles API for Android? If not, is there one coming any time soon? With an API for this thing the possibilities are endless... So far all I've been able to find on this subject is a discussion about not currently having a version for the iPhone due to it's "google labs" status (iPhone version coming once it's more "complete"). I'm hoping an API may be released then. Anybody have any info on this at all? Google Goggles to Become App Platform http://phandroid.com/2010/04/14/google-goggles-to-become-app-platform/ Mark Hosang Not an official API but this guy

How to decode protobuf binary response

和自甴很熟 提交于 2019-11-26 23:18:39
问题 I have created a test app that can recognize some image using Goggle Goggles. It works for me, but I receive binaryt protobuf response. I have no proto-files, just binary response. How can I get data from it? (Have sent some image with bottle of bear and got the nex response): A TuborgLogo9 HoaniText���;�)b���2d8e991bff16229f6"� +TR=T=AQBd6Cl4Kd8:X=OqSEi:S=_rSozFBgfKt5d9b0 +TR=T=6rLQxKE2xdA:X=OqSEi:S=gd6Aqb28X0ltBU9V +TR=T=uGPf9zJDWe0:X=OqSEi:S=32zTfdIOdI6kuUTa +TR=T=RLkVoGVd92I:X=OqSEi:S