2008. december 29.

ImageMagick

I gave up on tesseract, so now I'm modifying the photos I took to a smaller size, and attaching them in a PDF with gscan2pdf.

I installed ImageMagick with synaptic, and found the matching script on it's webpage.
I had to modify this script, because convert didn't find the
-contrast-stretch.
Now it looks like this:
convert eredeti.JPG -background white -flatten -colorspace Gray -negate -edge 1 -negate -normalize -sharpen 1 -threshold 50% -despeckle -blur 0x.5 -normalize +dither -posterize 8 verzio_dit3.gif
Since I want to modify a lot of images, I tried to do this simple, so I tried to use these tricks:
- input filename globbing (convert *.JPG [outputfilename])
- output filename references (convert *.jpg myimage-%d.jpg) which should produce myimage-1.jpg, myimage-2.jpg, etc.
However, the output just didn't want to work. It always gave me a single file: the last file. But the procedure was so long, I think the program did the work, just saved all the images over that one file.

To see if this is only because of the older version (2.4) of the program, I tried to install, the newest version(2.6). It installed well, however, something went wrong, and I got the following error while trying to use convert
error while loading shared libraries:libMagickCore.so.1
Now I'm reinstalling, following these tips
./configure LDFLAGS="-L/usr/local/lib -Wl,-rpath,/usr/local/lib"
Installation was a success.

However, converting more files at once still doesn't work.

2008. december 15.

Cinelerra

Installing:

With Synaptic Package Manager:

Open the Software Sources Window:
- Synaptic Package Manager: Settings -> Repositories.
Make sure you have universe, multiverse and restricted sources checked in the first tab.
Click on tab Third Party. Click on the Add button and enter your chosen repository (for me the next line):
deb http://giss.tv/~vale/ubuntu64 ./
(for AMD64 (and also Core Duo Intel64), by Valentina Messeri)

Clicking Add Source will display the new repository enabled in the Software Sources window.
You should now see Cinelerra in the list of packages available in Synaptic.
Follow Synaptic instructions for installation.

2008. november 26.

Tesseract

Guided with the idea of language files not being separated in tesseract versions below 2.0, so that training will be not supported, I tried to install a newer version from source.
The winner was 2.01. with the ./configure, make and sudo make install it went well. I only had to install the language files manually. I downloaded the 2.00 language files, and overwrited the 0 byte files in the /user/local/share/tessdata.

Now it works fine. I only have to train it for Hungarian.
I also want to find an easier way to prepare the images...

2008. november 22.

gnokii again

I get this when I try to:

~$ gnokii --identify

GNOKII Version 0.6.27
Unsupported [global] connection value "bluetooth"
Couldn't read /home/user/.gnokiirc config file.
No connection type specified in the config file.
Now what shall I do? ...
-------------------------------------

I varied some thing in synaptic like:
installed "bluetooth", uninstalled "bluez-cups", installed "gnome-bluetooth" and "libbluetooth-dev"
than I installed gnokii from source, and it worked! (at the end of the configuration check if bluetooth is marked "yes" for installation!)

2008. október 28.

MPlayer ?!?

I ran into the following problem:

VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1280x720 => 1280x720 Planar YV12
aspect: Warning: no suitable new res found!
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0

MPlayer interrupted by signal 6 in module: vo_check_events
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
gnome_screensaver_control()
I found this:
MPlayer interrupted by signal 6 in module vo_check_events or this error
"X11 error: BadAccess (attempt to access private resource denied)" using an intel card
  • add Option "LinearAlloc" "8192" to xorg.conf and restart X
I added the line Option "LinearAlloc" "8192" to /etc/X11/xorg.conf in the Device section, restarted X (ctrl+alt+backspace) and voila, it works.

2008. október 17.

Gutsy vs HP-Compaq TC4400 Checklist

Tablet:
  • Pen with tablet - WORKING
  • Pen buttons - WORKING
  • Pen Activated Tablet buttons - NOT WORKING
  • Scroll button on tablet edge - WORKING
  • Ctrl-Alt-Del button - WORKING
Features:
  • Fingerprint Sensor - not tested
  • Ambient Light Sensor - not tested
Communication:
  • Wired Network - WORKING
  • Wireless Network - WORKING
  • Modem - not tested
  • Bluetooth - WORKING
  • Infrared - not tested
Slots:
  • MMC-SD - WORKING
  • PC Card - not tested
Other Interfaces:
  • External Monitor - not tested
  • S-Video TV Out - not tested
  • USB 2.0 - WORKING
  • Docking Connector - not tested
  • Accessory Battery Connector - not tested
  • LED Status Indicators - WORKING
Sounds & Audio
  • Mono speaker - WORKING
  • Line Out / Headphone - WORKING
  • Internal Mic - WORKING
  • External Mic - WORKING
Keyboard, Mouse, Buttons:
  • Touchpad & Mouse Buttons & Side Scroll - WORKING
  • Pointstick & Mouse Buttons - WORKING
  • Function Keys & Number Pad - WORKING
  • Additional Buttons - WORKING
-------------
I think this is it. Did I leave something out?

SD card slot

I just tried out the SD Card Slot. It works perfectly.