Hardware :: OCR - Getting The Unsatisfactory Results

Jan 27, 2010

I have tested several software to use the OCR with my HP printer. Unfortunately the software that comes with it is only available for Mac OS and Windows. I said I installed several software without success.In my search I found that the Tesseract is better OCR application for Linux.He does not have a GUI, a graphical interface, but it is possible to be done by commands, which is very boring when you want to scan several pages.The results were very unsatisfactory, at least in my language "Portuguese", in a text with 1000 words he recognized only two or three which is very little, i text with several letters, magazines, books and folders.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Unsatisfactory Characteristics Of GRUB 2?

Sep 13, 2010

Now that I've finally learned how to use GRUB along comes GRUB 2. From my vantage point the developers seem to have overlooked some basics. Possibly, hopefully, I just need someone to straighten me out. Therefore I make some observations and would be grateful for someone to point out how I'm wrong.

To begin with it seems natural that a boot loader ought not depend on being able to boot the system in order to configure the settings used for booting. This is especially true for one calling itself grand. As best I can tell GRUB (legacy that is) does accomplish this but I'm having my doubts about GRUB 2. For example, I use GRUB as a boot manager whose job it is to boot other OS's on the same computer. I want the boot manager to be out of site and out of mind (i.e., simple to update on the rare occasion when that might be needed).

Therefore, I install it in a tiny FAT/DOS partition that I always create at the beginning of any new drive. This allows me to create multiple other partitions used to boot different OSs (e.g., in my case several versions of Linux and Windows). This means that every partition that has an OS installed on it also has the necessary software for loading that OS. In the case of Ubuntu this had become GRUB and now is GRUB 2. An important point here is that I do not expect nor want any Ubuntu system to load/boot any system other than itself. Ubuntu (GRUB 2 if you prefer) seems to go to great lengths to find other systems and configure itself to boot them. If this were done via what GRUB calls chain-loading this wouldn't be to bad.

In that, it would fit my purpose pretty well. However, GRUB has this characteristic, that I find quite undesirable, where it may load a kernel and/or mount a root filesystem from a different partition than the one from which GRUB was loaded. When cloning systems it becomes very easy to ruin multiple systems (i.e., not just the one where you made a configuration error but other stable systems as well). While some folks may like this feature I argue that there is a need for an easy foolproof way to disable it. Better yet this should be the default and those that want additional sophistication should have to enable it intentionally.

Something that I do a lot is to clone systems. The purpose is to try new or different things on a new system such that you don't screw up something that is working good while you experiment. It also provides a good method of recovering form errors that you are having difficulty troubleshooting but you aren't quite ready to trash the system that is acting up. Unfortunately you cannot count on GRUB to leave a stable system alone. The Ubuntu technique for using UUID to identify partitions causes a very particular problem when trying to clone a system.

When a partition image is created it includes the UUID. This means that when you restore the image file to a different partition the cloned system partition has the same UUID as the original partition. I've been able to circumvent this problem by changing the UUID on a live system partition before restoring an image of it to another partition. To be sure this technique risks causing a boot problem where one didn't previously exist which to my way of thinking is also poor technique. To do this I have to be able to update the GRUB configuration before being able to boot the restored partition. There are various ways to do this that basically involve mounting the newly restored partition and editing menu.lst (or whatever file might be appropriate). However, what you very definitely cannot do is to depend on booting the system in order to run the update-grub script.

It seems that GRUB 2 intends that the /boot/grub/grub.cfg file should not be edited. It provides a means to add custom menu entries by editing files in /etc/grub.d. However, this technique also depends on being able to run update-grub which cannot be done until after you have a way to boot the system. As best I can tell my only alternative is to edit grub.cfg.

View 9 Replies View Related

General :: Saving The Results Of The Time Command While Discarding The Results Of The Command Being Timed

Apr 6, 2010

I'm timing how long it takes to run a command foo. I'm looking to append the results from the time command to a file, and discard the results from the foo command. I tried the following, but it didn't do what I want:

$ time ./foo > /dev/null >> output_from_time_command.txt

View 1 Replies View Related

General :: Different Results In Du And Df?

Oct 29, 2010

I was checking /opt and then found something unusual. Below are the results of du and df -h,

Code:
$sudo du -h /opt/|tail -3
1.1G /opt/IBM

[code]....

View 2 Replies View Related

Ubuntu :: Where Are Fsck Results?

Mar 3, 2010

I forced a fsck on the next boot by.Code: sudo touch /forcefsck.Where did the results go?/var/log/fsck/checkfs and /var/log/fsck/checkroot both read "(Nothing has been logged yet.)" Am I to assume that if there are no errors nothing is written to the log files?

View 9 Replies View Related

Ubuntu :: C++ Gives Different Results In Windows And 10.04 With G++?

Jun 2, 2010

I have compiled the same program and I get different results when the program is run in windows and in ubuntu, in windows I run it with Dev C++. I was wondering if someone could provide insight on this. My expected result is the one that Windows gives. However, I would really like to work in Ubuntu.

View 3 Replies View Related

Programming :: Get Similar Results Using Both Gcc And G++

Mar 7, 2011

consider these lines of code and their outputs:

[CODE]
int C = 0;
fprintf(stdout, "
(C, ++C) Bef = %d, Aft = %d
", C, ++C);
fprintf(stdout, "(C++, C) Bef = %d, Aft = %d
", C++, C);

[Code].....

The only one that looks right to me is the second one. I get similar results using both gcc and g++.

View 4 Replies View Related

General :: Different Results From Vmstat And Ps?

Jun 24, 2010

I am trying to determine CPU usage on a radio controller running Linux. We have a script that another member of my work wrote using vmstat which I could not get any consistant results from. So, in an effort to understand what was going on I wrote a script using ps. Sadley after running several tests using both scripts, they do no match up at all, vmstat always gives me a much higher value. However, if I simply run the commands at any given time they do match up, therefore I believe that there is an error in one of the scripts. I am very new to linux and so Here is the vmstat script:

#!/bin/bash
declare -i total
declare -i tries

[code]....

View 11 Replies View Related

Server :: What Are The Results Of 664 Permissions

Apr 8, 2010

i am trying to set permissions on my wordpress install such that the wordpress admin can write to the files and directories in the wordpress tree. otherwise i have to do all the things wordpress does automatically by hand with vi.of course i would like to have permissions set as precisely as possible for security.at present the files are set to 644 (-rw-r--r--). my plan is to change permissions to 664 (-rw-rw-r--) using chmod. ie "chmod -r 664 ./wordpress".

View 4 Replies View Related

Debian :: Getting No Results In Aptitude / Resolve This?

Sep 18, 2010

I've been trying to use aptitude for package management, but nothing happens in response to my commands, even as root.

Let's say for example I want to purge popcon. According to the helpfile, I should start aptitude, become root (or vice-versa), select the package in the list and press '_' (underscore), and then it will be marked with something in the left column and a different color in the list. Then later, another command will actually do the purge.

But nothing happens. It doesn't get marked or change color or anything, and 'g' just gets the message 'No packages are scheduled to be installed, removed, or upgraded.'

What am i doing incorrectly?

View 6 Replies View Related

OpenSUSE :: Apt-Get Search Yields No Results

Jun 5, 2010

I've just installed OpenSUSE. I've never used it before. I typically use apt-get to install applications when using Ubuntu; so I'd like to use it with OpenSUSE. I've read some documentation saying that I need to go to YaST -> Software and search for "apt" or "synaptic." However, both of these searches yield no results. Additionally, using the Software Manager to search for these yields no results. What can I do? When I search for something in OpenSUSE and there are 0 results, I get HTML bold tags around the search criteria where it says there are no results (as in, I can actually see the code for the bold tag).

View 9 Replies View Related

General :: 64 Bit - Different Commands Shows Different Results?

Jul 10, 2010

The system of my VPS is centos 5. I want to know if it is 32bit or 64bit. > uname -a Thu May 13 13:49:53 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

looks like 64 bit.
But
> getconf WORD_BIT
32
Looks like 32 bit.
Which is correct?

I believe the linux of my VPS is 32 bit. Because I downloaded a 64bit mongodb, found it can't start. And when I downloaded a 32bit instead, it works well.

View 3 Replies View Related

General :: When Using Grep From VIM, How To Jump To Results

Feb 22, 2011

When using the grep plugin to VIM, I can search the current directory for all occurrences of a string within a set of files, like this::grep Ryan *.txtThis outputs something like this:

file1.txt:3:Ryan was here
file2.txt:10:Ryan likes VIM
file3.txt:5:superuser.com is a fav of Ryan

[code]....

View 1 Replies View Related

General :: Why Does `du` Not Show Results For All Files

May 22, 2011

I (for curiosity's sake) am running du -a inside /usr/lib/git-core and it does not show results for all the files in that directory. Why does it leave out an arbitrary set of files?this is what cd /usr/lib/git-core; du -a returns:

4 ./git-merge-resolve
972 ./git-config
12 ./git-show-index

[code]....

View 1 Replies View Related

Ubuntu :: General, How To Exec On Ls Results?

Feb 10, 2010

Find a file and need to do something to it, think there must be a single line solution for:

$ ls *.c
$ cat *.c

View 1 Replies View Related

Ubuntu :: Can't See Results Of Job Scheduled With The 'at' Command

Oct 5, 2010

I scheduled a job, 'ls -a', with the at command, 3 minutes in the future. It looks like the job ran, but I cannot see the results of 'ls -a'. I accessed my mail with the 'mail' command and saw that the output of my scheduled job was message 1. I typed in '1' after the & prompt, and saw that the subject of the message was the output of my job, scheduled at the time specified with the 'at' command. I cannot see the output of the 'ls -a' command that I scheduled though. How do I see the contents of the message, and the actual output of the job.

View 1 Replies View Related

Ubuntu :: Super + F Can't Find Any Results

Apr 30, 2011

So when I press Super + F I get "Search Files & Folders" but I don't get any results when I search for files/folders I know are in my home folder.

Am I missing something, do I need to install any other packages for this to work?

View 2 Replies View Related

Programming :: Arrange The Results In The Shell?

May 10, 2010

Im having problems with this little thing in a C example Im doing. I want to show in the shell like this example:

Name Birthday
Tomas 13
Adrian 24
Nate 15

Im trying to use the printf function but the names doesnt have the same lenght. So I cant do it like this:

printf("Name Bithday
");
printf("%s %d
");

View 4 Replies View Related

Networking :: Mtr Results Highlighting / Flashing?

Dec 14, 2010

I've noticed that when running an mtr (my traceroute) that sometimes some of the hops would light up. It will flash for about half a second then return back to its normal colour.I've search the net, but have not yet found an explanation as to what it means.

View 1 Replies View Related

General :: Having Only One Instance Of Search Results?

Oct 6, 2010

having only one instance of my search results

View 5 Replies View Related

General :: SU Results In Cannot Execute Bash

Feb 13, 2011

SU results in Cannot execute bash: No such file or directory.

View 1 Replies View Related

Security :: Question - GPG On Two Different Machines (different Results)?

Apr 23, 2010

I'm using gpg to encrypt and sign a file on a linux machine.using the same keys the file is encrypted and signed on a windows machine and the file sizes are different.

I then encrypted and signed on another windows machine and again the file sizes are different. Does GPG use some random stuff from the machine during encryption?

View 1 Replies View Related

Software :: Differences Between LEACH Results On Ns2.1b5 And Ns2.35?

May 11, 2011

I have implemented LEACH on ns2.35. But, the simulation results vary highly from the LEACH paper. The energy consumption in ns2.35 seems to be 4-5 times that of the LEACH paper (which used ns2.1b5). So, I assume it is due to differences in ns2 versions.

View 2 Replies View Related

Programming :: Store The Results In An Array?

Apr 13, 2010

i have a loop which produces new value everytime it runs. i want to store the results in an array. how can i do dat??

loop is like:
a=0
declare v
while ((....))
do
v[$a]="$r"
let a=a+1
done

while doing this it is not treating v as array but as variable and it is overriding the value and old value is lost..i am using bash shell version 3.00.15

View 5 Replies View Related

Programming :: Get Search Results To Array By Awk?

May 5, 2010

I have this multiline variable code...

View 5 Replies View Related

Programming :: IPv6: Using Results From Recvfrom()

Jul 25, 2011

I have a socket library that I tinker with from time to time. Lately, I decided to expand it to support IPv6.

One of the issues I am having is sending data, using sendto(). When the server receives data from a client, using recvfrom(), it does not retain the sockaddr_in information, but instead provides the callee the IPv6 address and port number from where the data originated. See here:

Code:
int
UDPSocket::recv(char* buffer, size_t bufferLen, std::string& sourceAddr, unsigned short& sourcePort)
{
sockaddr_in sin;
socklen_t sinLen = sizeof(sin);

[Code]....

View 8 Replies View Related

Programming :: Splitting Results In More Web Pages?

Apr 1, 2010

I've a web page where I can search information in my database.Sometimes results of search operation are more of fifty.How can I split results in different web page as it happens for example in any search engine or operation

View 7 Replies View Related

Ubuntu :: Picture Screensaver And Odd Results

Jan 5, 2010

A bit back the "Pictures" folder used by the screen saver disappeared. I created a new one, and since I had the files backed up, I put my series of pictures in.But since then in screen saver mode a tremendous variety of pictures are showing up. Some from web pages I have looked at, some from another folder where I store personal fotos, some from pdf files I have looked at, and some I have no idea where they came from... and of course some from my Pictures folder.

This is not a "serious" problem, but I am left very curious as to what happened, or how to correct the situation.... if there is a correction.

View 5 Replies View Related

Debian Configuration :: Different Nmap Results And Configure A MTA?

Jan 26, 2010

I have been trying to configure an MTA (sendmail) on a new Debian installation to receive system messages and local network mail. I have no need to fetch or relay mail outside my teeny LAN. The logs on the sending machine told me the mails were refused by the receiving (Debian Lenny) system. So I ran some quick nmap scans. From the sending machine, scanning the Debian machine:

PORT STATE SERVICE
22/tcp open ssh
111/tcp open rpcbind

From the Debian machine, running 'nmap localhost':

PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
111/tcp open rpcbind
587/tcp open submission

From the Debian machine, running 'nmap debian' (this is a virtual machine named debian) :

PORT STATE SERVICE
22/tcp open ssh
111/tcp open rpcbind

Why the two different results? How do I get the scans to be the same so I can, eventually, configure an MTA?

View 3 Replies View Related

OpenSUSE Install :: Using Cd ~/ Results In / And // Entries For All Directories

May 5, 2011

Since I updated from 11.2 to 11.4 an annoying bug seems to have crept into the shell.

If I type the following and hit tab I get:

cd ~/.kde
.kde/ .kde// .kde4/ .kde4//

i.e. each directory has a / and // version for some reason. I have to enter a / and hit tab again to proceed.

If however I type the following and hit tab I get:

cd /home/tux/.kde
.kde/ .kde4/

i.e. correct as expected.

The ls command does not do this.

This seems like a bug.

GNU bash, version 4.1.10(1)-release (x86_64-suse-linux-gnu)
openSUSE 11.4 (x86_64)
VERSION = 11.4
CODENAME = Celadon
Linux 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 x86_64 x86_64 x86_64 GNU/Linux

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved