Category: Linux Tech

OCR on Linux at the command line

Perform Optical Character Recognition on Linux quite simply with the cuneiform package.
apt-get install cuneiform

For example:
cuneiform --singlecolumn -o output.txt image.png

The recognised text is written to output.txt. Corrections to the outputted text may be necessary.

Speeding up and reducing resolution of videos

Sometimes it is necessary to speed up videos and/or reduce the resolution. This will typically result in a much smaller file size. ffmpeg and avconv allow video file manipulation on the command line.

These commands work on Debian, and will likely work on Ubuntu and other Linux distributions.

Speed up video, 2× speed:…

Implementing IPv6 Privacy Extensions (RFC4941)

IPv6 auto configuration on Linux will normally assign the same address every time when connecting to a specific network. This address would normally be formed from the network prefix and local interface MAC address. When using IPv4 your identity is slightly masqued by NAT. Although your single public IP address may be tracked, it is

Iperf – multicast IPv4

Using Iperf version 2.0.9 on Debian (Stretch) it’s possible to test networks using a multicast connection.

On the receiving end execute the command: iperf -s -u -B 239.1.1.10 -i 1

On the sending end execute the command: iperf -c 239.1.1.10 -u -T 3 -t 10 -i 1 -b 100M

This will run a bandwidth test using UDP…