Displaying 20 results from an estimated 100 matches similar to: "How to convert Image To Text in RoR"
2008 Jul 30
3
Dealing with image PDF's
Guys,
I was just playing around and added a bit of code to omindex.cc so I
could ocr tiff and tif with gocr which seems to work. Here's what it
looks like:
// Tiff:
} else if (startswith(mimetype, "image/tif"))
{
// Inspired by http://mjr.towers.org.uk/comp/sxw2text
string safefile = shell_protect(file);
string cmd = "tifftopnm " + safefile + "
2008 Jul 30
3
Dealing with image PDF's
Guys,
I was just playing around and added a bit of code to omindex.cc so I
could ocr tiff and tif with gocr which seems to work. Here's what it
looks like:
// Tiff:
} else if (startswith(mimetype, "image/tif"))
{
// Inspired by http://mjr.towers.org.uk/comp/sxw2text
string safefile = shell_protect(file);
string cmd = "tifftopnm " + safefile + "
2011 Jul 11
4
How to Install ruby 1.9.2/1.9.1 and Rails 3.x on Ubuntu
Hello All,
I have Ubuntu 11-04, I would want to install ruby 1.9.2/1.9.1 and Rails
3.x. I need the least complicated way of doing this.
Rgds,
Janus
--
*Satajanus Nig. Ltd
*
--
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
2010 Dec 01
2
Develop Facebook app using rail
hello
please tell me the way to develop facebook app by rails need to which
is good tool available now
facebooker , rfacebook ,mini_fb
and how to do post on users wall, email user , or send message to
user
Any link , notes , tutorials , blog
Thanks in advance :)
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to
2011 Dec 31
3
Oh btw...
HAPPY NEW YEAR
from my I&iPhone
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more
2011 Jan 06
1
Invalid argument - https://graph.facebook.com/19292868552
require ''rubygems''
require ''hpricot''
require ''open-uri''
doc = Hpricot(open("http://graph.facebook.com/226723089703"))
@doc = doc.to_s.gsub(/"id.+?likes":/,"").gsub("{","").gsub("}","")
puts @doc
OR
require ''rubygems''
2010 Sep 04
3
its easy but i forgot all
my models
borrower ----- has_many :loans
loan ----- belongs_to :borrower
my loans _controller
def new
@borrower = Borrower.find(params[:borrower_id])
logger.debug '' @borrower.id''
logger.debug @borrower.id
@loan = Loan.new
respond_to do |format|
format.html # new.html.erb
format.xml { render :xml => @loan }
end
2007 Sep 12
3
Document Scanning and Storage
I'd like to start scanning our boxed up documents. I'd say about 30,000
files total.
Mostly to eliminate the boxes of paper we have.
I'd like to scan them, store them, Have some sort of index, and be able to
retrieve them on multiple machines. I think PDF would be the desired format.
I'd like be able to set some permissions as well. (not a deal breaker...)
I've searched
2003 Aug 09
2
First steps towards a simple text stream format.
Hello everyone!
This list may not be entirely appropriate discussion, but in the lack of
ogg@xiph.org or ogg-dev@xiph.org this will have to do.
I've been thinking for a few weeks that Ogg needs a simple text stream
(read subtitle) format to go along with theora. This is important,
because otherwise I can't transcode fellowship of the rings while
keeping the elvish-speek, unless I render
2010 Aug 20
5
country state city drop down list rails
hi every one
please tell me the recommended way to get country
state city drop down list in rails
any gem - plug-in tutorial
thanks in advance.
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe
2013 Feb 07
11
Rails change default time zone.
Hello everyone,
I am using rails 3.2.8.
I want to change time zone to New York time.
I changed following, but didn''t work
#config/application.rb
config.time_zone = ''Eastern Time (US & Canada)''
config.active_record.default_timezone = ''Eastern Time (US & Canada)''
If am wrong please clarify.
Thank You!
--
You received this message
2013 Nov 08
2
Problems with dovecot 2.1.7, spamassassin 3.3.2 and antispam plugin
This might be a fairly long message, but I wanted to be sure to include
as much information as possible. I'm having an issue with the
dovecot-antispam plugin in that it seems to be unable to successfully
run anything from the pipe backend. To qualify that, they run, but they
fail ...
Running /usr/bin/sa-learn directly always returns with an error code of
1, and the bayes DB isn't
2019 Jun 14
3
zfs
Hi, folks,
testing zfs. I'd created a zpoolz2, ran a large backup onto it. Then I
pulled one drive (11-drive, one hot spare pool), and it resilvered with
the hot spare. zpool status -x shows me
state: DEGRADED
status: One or more devices could not be used because the label is missing or
invalid. Sufficient replicas exist for the pool to continue
functioning in a degraded state.
2010 Jul 25
4
zpool destroy causes panic
I'm trying to destroy a zfs array which I recently created. It contains
nothing of value.
# zpool status
pool: storage
state: ONLINE
status: One or more devices could not be used because the label is
missing or
invalid. Sufficient replicas exist for the pool to continue
functioning in a degraded state.
action: Replace the device using 'zpool replace'.
2012 Jun 08
2
rubycas-server login fail
Hi all,
I''ve installed Puppet Enterprise 2.5 on Ubuntu 10.04.4 ("minimal" version
on our new hosting provider, previous on amazon ec2 all works fine). So
couldn''t login to puppet dashboard - internal server error. I found problem
in rubycas-server. It fails when try to hash password:
(/opt/puppet/share/rubycas-server/lib/casserver/authenticators/sql_encrypted.rb)
2008 May 04
3
Some bugs/inconsistencies.
Hi.
I''m working on getting the most recent ZFS to the FreeBSD''s CVS. Because
of the huge amount of changes, I decided to work on ZFS regression
tests, so I''m more or less sure nothing broke in the meantime.
(Yes, I know about ZFS testsuite, but unfortunately I wasn''t able to
port it to FreeBSD, it was just too much work. I''m afraid it is too
2006 Nov 04
1
Message could not be delivered
The message was not delivered due to the following reason(s):
Your message could not be delivered because the destination server was
not reachable within the allowed queue period. The amount of time
a message is queued before it is returned depends on local configura-
tion parameters.
Most likely there is a network problem that prevented delivery, but
it is also possible that the computer is
2005 Jun 09
1
krig.image help
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Mike J Smith
> Sent: 09 June 2005 09:58
> To: r-help at stat.math.ethz.ch
> Subject: [R] krig.image help
>
>
> Hi
>
> I have recently been experimenting with the use of kriging, primarily
> through Goldensoftware's Surfer.
2006 Sep 12
1
Copying file failed
Hello,
I have a Debian Stable (Sarge) with a samba to share file with windows
client.
All is working fine but 2 files generates errors when i try to copy it. The
transfer begins, but stops in the middle of the file, and freeze.
The error message is (French translation): <Unable to copy file_name.psd :
Network name is no more available >
I do not understand why I cannot copy those
2009 Apr 08
3
order transfers by file size
Is it possible to have rsync order transfers by file size (smallest
files first) ?
Would it be a big patch ?
Thanks
Viki