Tag Archives: Wheezy

Check Debian archive mirrors bandwidth using apt-spy

Full guide is here. I briefly write down how I used apt-spy for finding new Debian mirror site. Apparently the primary mirror site I have been became useless. The network connection was so slow that aptitude even failed to update … Continue reading

Posted in GNU/Linux | Tagged , , , , | Leave a comment

Screen capture using ffmpeg in Debian Wheezy

I made a simple screen capture script that uses ffmpeg to create MPEG-4 video file. I replaced two script lines from the original script. If you are using ALSA sound driver, replace ‘-f alsa -i pulse’ to ‘-f alsa -i … Continue reading

Posted in GNU/Linux | Tagged , , , , , | 1 Comment

Tesseract OCR engine

Optical Character Recognition (OCR) software convert image into text data. Installation of Tesseract in Debian Wheezy is simple. tesseract-ocr Command line OCR tool The Tesseract OCR engine was one of the top 3 engines in the 1995 UNLV Accuracy test. … Continue reading

Posted in GNU/Linux, Science and technologies | Tagged , , , | Leave a comment

How to find shutter count of Nikon D200 in Debian Wheezy?

2016/03/18 I will make a script that read shutter count data from Nikon and Sony cameras. I think exiftool can do it. Sony A6000 Read shutter count from an image file. ./sc-sonya6000.sh sonya6000_2016031716.JPG sonya6000_2016031716.JPG : 1471 Read shutter counts from … Continue reading

Posted in GNU/Linux, Photography | Tagged , , , , , , , , , , , , , , | Leave a comment

IPython and matplotlib

OS: Debian Wheezy The explanation is here. $ ipython -pylab WARNING: `-pylab` flag has been deprecated. Use `–pylab` instead, or `–pylab=foo` to specify a backend.Python 2.7.3 (default, Sep 9 2012, 17:41:34) Type “copyright”, “credits” or “license” for more information. IPython … Continue reading

Posted in GNU/Linux | Tagged , , , , , , , | Leave a comment

Spectacular failure of convert

convert is part of ImageMagick package for image manipulation. It does have a lot of features. I use it most of time for post processing photo images. $ convert –version Version: ImageMagick 6.7.7-10 2012-07-30 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2012 … Continue reading

Posted in GNU/Linux, Photography | Tagged , , , , , , , , | Leave a comment

IOError: [Errno 32] Broken pipe

Python version I use is 2.7.3 in Debian Wheezy. The subprocess example code from here creates annoying error: Traceback (most recent call last): File “process_example4.py”, line 8, in sys.stdout.flush() IOError: [Errno 32] Broken pipe process_example4.py import sys while True: input … Continue reading

Posted in GNU/Linux, Python | Tagged , , , , | 2 Comments

To use David’s Batch Processor of GIMP

sudo aptitude install gimp-plugin-registry The following NEW packages will be installed: gimp-gmic{a} gimp-plugin-registry libtiff-tools{a} libtiff5{a} 0 packages upgraded, 4 newly installed, 0 to remove and 179 not upgraded. Need to get 3,322 kB of archives. After unpacking 9,503 kB will … Continue reading

Posted in GNU/Linux, Photography | Tagged , , | Leave a comment

Recovery of deleted jpg files using PhotoRec

I deleted about hundred sixty image files by mistake I had taken over for whole day. testdisk package has PhotoRec file recovery utility. Install it ‘sudo aptitude testdisk’ For instruction how to use PhotoRec, click the link. I chose only … Continue reading

Posted in Photography | Tagged , , , , , , | Leave a comment

ufraw-batch to convert Canon camera’s raw images to jpg file

(03/09/2013; 10/06/2012;) –wb=camera option works fine. ‘–exposure=auto’ option produces undesired effect on most raw images. Use it after checking the image on ufraw. My Canon camera saves raw images as .CR2 files. ls -lh *.CR2 -rw-r–r– 1 penguin penguin 7.3M … Continue reading

Posted in Photography | Tagged , , , , , , | 2 Comments