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

Video | Posted on by | 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