Ruby QR code decoder?

View: New views
8 Messages — Rating Filter:   Alert me  

Ruby QR code decoder?

by ckundo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I'd like to use be able to decode QR codes that people submit to my
rails app. I'm using phonegap for iPhone, so I need to create a work-
around for a native QR code reader. The best I can come up with is
having someone take a picture of the code and submit it, then have
ruby parse it.*

I've searched this forum and online, and all I can find is the zxing
library for Java. Question is:

a) is there a rails plugin or a ruby gem that can decode a qr code
image
or b) is it possible to run a java command from ruby?

Thanks for any guidance.

Cameron

*yes, I will be looking into obj-c eventually, but want to prototype
asap

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Ruby QR code decoder?

by Eric Hill-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


i don't mean to be a jerk, but "asap?" really?

http://www.ruby-forum.com/topic/198410

-eric

On Oct 31, 3:17 pm, ckundo <cku...@...> wrote:

> I'd like to use be able to decode QR codes that people submit to my
> rails app. I'm using phonegap for iPhone, so I need to create a work-
> around for a native QR code reader. The best I can come up with is
> having someone take a picture of the code and submit it, then have
> ruby parse it.*
>
> I've searched this forum and online, and all I can find is the zxing
> library for Java. Question is:
>
> a) is there a rails plugin or a ruby gem that can decode a qr code
> image
> or b) is it possible to run a java command from ruby?
>
> Thanks for any guidance.
>
> Cameron
>
> *yes, I will be looking into obj-c eventually, but want to prototype
> asap
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Ruby QR code decoder?

by ckundo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Eric: Why so incredulous? My point is that I'd rather prototype
something quickly for user testing before I try learn a completely new
language.

To anyone else interested: I found out how to execute java using %x|
java ...| . I think latency would be an issue in the scenario I'm
describing, but I'm going to give it a shot.

Cameron

On Oct 31, 7:52 pm, Eric <ericgh...@...> wrote:

> i don't mean to be a jerk, but "asap?" really?
>
> http://www.ruby-forum.com/topic/198410
>
> -eric
>
> On Oct 31, 3:17 pm, ckundo <cku...@...> wrote:
>
> > I'd like to use be able to decodeQRcodes that people submit to my
> > rails app. I'm using phonegap for iPhone, so I need to create a work-
> > around for a nativeQRcodereader. The best I can come up with is
> > having someone take a picture of thecodeand submit it, then have
> > ruby parse it.*
>
> > I've searched this forum and online, and all I can find is the zxing
> > library for Java. Question is:
>
> > a) is there a rails plugin or a ruby gem that can decode aqrcode
> > image
> > or b) is it possible to run a java command from ruby?
>
> > Thanks for any guidance.
>
> > Cameron
>
> > *yes, I will be looking into obj-c eventually, but want to prototype
> > asap
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Ruby QR code decoder?

by Eric Hill-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Just that in 10 months of asap you could have implemented any of:

http://stackoverflow.com/questions/231741/qr-code-2d-barcode-coding-and-decoding-algorithms

Nothing personal, just sayin'. And yeah, there seem to be any number
of system call solutions.

-eric

On Nov 1, 12:09 pm, ckundo <cku...@...> wrote:

> Eric: Why so incredulous? My point is that I'd rather prototype
> something quickly for user testing before I try learn a completely new
> language.
>
> To anyone else interested: I found out how to execute java using %x|
> java ...| . I think latency would be an issue in the scenario I'm
> describing, but I'm going to give it a shot.
>
> Cameron
>
> On Oct 31, 7:52 pm, Eric <ericgh...@...> wrote:
>
> > i don't mean to be a jerk, but "asap?" really?
>
> >http://www.ruby-forum.com/topic/198410
>
> > -eric
>
> > On Oct 31, 3:17 pm, ckundo <cku...@...> wrote:
>
> > > I'd like to use be able to decodeQRcodes that people submit to my
> > > rails app. I'm using phonegap for iPhone, so I need to create a work-
> > > around for a nativeQRcodereader. The best I can come up with is
> > > having someone take a picture of thecodeand submit it, then have
> > > ruby parse it.*
>
> > > I've searched this forum and online, and all I can find is the zxing
> > > library for Java. Question is:
>
> > > a) is there a rails plugin or a ruby gem that can decode aqrcode
> > > image
> > > or b) is it possible to run a java command from ruby?
>
> > > Thanks for any guidance.
>
> > > Cameron
>
> > > *yes, I will be looking into obj-c eventually, but want to prototype
> > > asap
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Ruby QR code decoder?

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Eric wrote:
> Just that in 10 months of asap you could have implemented any of:
>
> http://stackoverflow.com/questions/231741/qr-code-2d-barcode-coding-and-decoding-algorithms
>
> Nothing personal, just sayin'. And yeah, there seem to be any number
> of system call solutions.

Or use JRuby and RJB.

>
> -eric

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@...
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Ruby QR code decoder?

by ckundo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thanks, I'll give those a shot.

Cameron

On Nov 1, 6:00 pm, Marnen Laibow-Koser <rails-mailing-l...@andreas-
s.net> wrote:

> Eric wrote:
> > Just that in 10 months of asap you could have implemented any of:
>
> >http://stackoverflow.com/questions/231741/qr-code-2d-barcode-coding-a...
>
> > Nothing personal, just sayin'. And yeah, there seem to be any number
> > of system call solutions.
>
> Or use JRuby and RJB.
>
>
>
> > -eric
>
> Best,
> --
> Marnen Laibow-Koserhttp://www.marnen.org
> mar...@...
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Ruby QR code decoder?

by ckundo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Eric, I think I see the confusion. Check http://www.ruby-forum.com/topic/198410,
you'll see that the timestamps are borked (see your reply from 10
months ago). In any event, thanks for the link.

On Nov 1, 5:12 pm, Eric <ericgh...@...> wrote:

> Just that in 10 months of asap you could have implemented any of:
>
> http://stackoverflow.com/questions/231741/qr-code-2d-barcode-coding-a...
>
> Nothing personal, just sayin'. And yeah, there seem to be any number
> of system call solutions.
>
> -eric
>
> On Nov 1, 12:09 pm, ckundo <cku...@...> wrote:
>
> > Eric: Why so incredulous? My point is that I'd rather prototype
> > something quickly for user testing before I try learn a completely new
> > language.
>
> > To anyone else interested: I found out how to execute java using %x|
> > java ...| . I think latency would be an issue in the scenario I'm
> > describing, but I'm going to give it a shot.
>
> > Cameron
>
> > On Oct 31, 7:52 pm, Eric <ericgh...@...> wrote:
>
> > > i don't mean to be a jerk, but "asap?" really?
>
> > >http://www.ruby-forum.com/topic/198410
>
> > > -eric
>
> > > On Oct 31, 3:17 pm, ckundo <cku...@...> wrote:
>
> > > > I'd like to use be able to decodeQRcodes that people submit to my
> > > > rails app. I'm using phonegap for iPhone, so I need to create a work-
> > > > around for a nativeQRcodereader. The best I can come up with is
> > > > having someone take a picture of thecodeand submit it, then have
> > > > ruby parse it.*
>
> > > > I've searched this forum and online, and all I can find is the zxing
> > > > library for Java. Question is:
>
> > > > a) is there a rails plugin or a ruby gem that can decode aqrcode
> > > > image
> > > > or b) is it possible to run a java command from ruby?
>
> > > > Thanks for any guidance.
>
> > > > Cameron
>
> > > > *yes, I will be looking into obj-c eventually, but want to prototype
> > > > asap
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Ruby QR code decoder?

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


ckundo wrote:
> Eric, I think I see the confusion. Check
> http://www.ruby-forum.com/topic/198410,
> you'll see that the timestamps are borked (see your reply from 10
> months ago). In any event, thanks for the link.

There is nothing wrong with the timestamps.  They're just European-style
DMY.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@...
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---