How to generate QR Code of any image [closed] - iphone

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Is there any API Which can generate QR Code of any image when i will go to read it,it revels the same image.
Any suggestion would be helpful.
Thanks

There's no direct way to encode an image as QR Code. There are several problems to do this:
- Image would need to be encoded somehow and there's no standard to do that on QR Codes. So any implementation wouldn't work globally.
- An image usually contains hundreds or thousands of kB, while most mobile scanners struggle to decode a QR code with more than a few hundreds bytes (that's at least 1.000 times less information!).
To make it short: It's not possible to do that. Sorry.
A workaround is to upload an image to a server, get a link to that image and create a QR Code with that link. So when the QR Code is scanned, your image is shown on the browser.
QR Droid (for Android) implements this workaround. (QR Droid > Create > Local Image). But I don't think there's any API to do the whole process.

Create a Chrome Custom Search (go to chrome:settings -> manage custom search)
Then just create an entry:
QR Generator | qr | https://chart.googleapis.com/chart?cht=qr&chs=300x300&chld=H|0&chl=%s
then whenever you open a new tab or whatever, you just type qr space your url

Related

Crystal reports offline QR Code generator [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Is there any solution/instalation/tutorial for Crystal Reports (without VS) to create offline QR Code in report. I've tried generating QR code using google API (successfully), but need a offline workaround. Open source would be nice but commercial solutions are also welcome.
Thanks in advance
At least one 3rd-party Crystal Reports UFL (User Function Library) among those listed here can generate QR Code images on the fly without a dependency on font or internet services.
In Crystal, you insert a dummy image with the desired size of the barcode.
You then right-click and select: Format Graphic...
and set the the Graphic Location expression to the QR Code function call.
On Preview/Refresh of the report, the image is generated on the fly to the hard drive and immediately replaces the original image.
This takes only a few milliseconds so you won't notice any slowdown.
I've been using the fabulous Bwip-js, a server solution under MIT license, for quite some years now. It provides qrcodes (and all other kind of 1D and 2D codes) as response to HTTP requests.
In Crystal Reports you can insert an image and set its source to the appropriate URL of bwip-js.
My instance is running on a lightweight Node.js server, needed only small changes in their node.js example script. It all works like a charm and very stable over months without reboot. Excellent project.

Real TIme Image Processing (OCR) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am planing to develop an app like Word Lens. Can any one suggest a good library that I can use? or any one explain technology behind the Word Lens App? is it reel time image matching or OCR? I know some image processing library like OpenCv, tesseract...Any help is greatly appreciated...
I'm one of the creators of Word Lens. Although there are some OCR libraries out there (like tesseract), we decided to make our own in order to get better results and performance. Our general algorithm goes like this:
copy the image from the camera and get its grayscale component
level out the image so the text stands out clearly against the background
draw boxes around things that look like characters & sentences
do OCR: match the pixels in each box against a database of characters -- this is actually pretty hard!
collect the characters into words, look up in a dictionary (this is hard too, because there will be mistakes in the OCR)
draw the results back onto the image
Image matching by itself is not good enough, because of the huge variety of fonts, words, and languages out there.
OpenCV is a great library to get up and running with, and to learn more about computer vision in general. I would recommend building off their examples, and playing around there. Have fun!

Scala library for image creation [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Is there any good Scala or Java library for image manipulation? For simple tasks like composing an image with some others then generating a thumb?
Take a look at https://github.com/sksamuel/scrimage (Disclaimer: I am the author)
This is an open source Scala image library that essentially wraps java.awt Image operations in a nicer API.
You asked how to generate a thumbnail, you would do something like.
val in = ...// some input stream
val out = ... // some output stream
Image(in).scale(300,400).write(out, Png)
You can change the scaling method (Bicubic by default) and the output format.
they're all a bit old school, and maybe inconvenient, but java.awt, java.awt.image, and javax.imageio has everything you need to blend and rescale images. You can find some blending example code e.g. here
http://www.curious-creature.org/2006/09/20/new-blendings-modes-for-java2d/
you can find some examples of rescaling and generating image bytes e.g. here
https://sourceforge.net/projects/ssim/?source=directory
there are probably newer/easier solutions, but these do work.
It's not Scala-specific, but ImgLib2 is a full-powered Java image processing library. It's geared towards scientific/low level use, so it might not be as easy as you want for what you're looking for, but it can almost certainly manage anything you're likely to want.
There are also a lot of nice image filters in this Open Source library:
http://www.jhlabs.com/ip/filters/
Since the question is tag with java-2d you know you can use any Java library. A quick google revealed this SO answer:
open source image processing lib in java

Read text from image iPhone SDK [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have an image on my device which I capture from camera. The image has readable text. I want to convert that image into text i.e. get the text of image and display it.
I went through Tesseract demo, but not all the text of image is converted into text. I know that there are few paid SDK's like ABBY SDK available for this, but I was looking for some free source.
Are there other SDKs available for the same?
See this for how to do something quick on iOS with Tesseract. I doubt you will get the accuracy you want though. So far I haven't found a good opensource solution because the iPhone camera is not well suited to this problem. There are a few online API options that do better.
Oh and one word of advice, don't pay for anything without trying it in your situation :)

Is it possible for any iPhone Barcode Scanner to scan barcode from web page and pass code back to page? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Scanning barcode from web page and passing this code back to same page is possible in Android using http://code.google.com/p/zxing/ tool. Android app can be invoked successfully from webpage, scans the barcode and sends to code back to same web-page.
I need exactly same functionality in iPhone. It is an open issue with Zxing :- http://code.google.com/p/zxing/issues/detail?id=414&colspec=ID%20Type%20Status%20Priority%20Owner%20Summary
I would like to know if there is any similar app for iPhone which gives this feature.
Many thanks.
As far pre-built Browser Apps go, Browscan is not a bad option.
I stumbled across it the App Store - it's a basic web browser that has a little "Scan" button the user can click at any time.
Dead simple, and works pretty well.
https://itunes.apple.com/us/app/browscan-barcode-scanner/id564055630?mt=8