How To Install klt on Fedora 34

klt is An implementation of the Kanade-Lucas-Tomasi feature tracker An implementation of the Kanade-Lucas-Tomasi feature tracker

Introduction

In this tutorial we learn how to install klt on Fedora 34.

What is klt

KLT is an implementation, in the C programming language, of a feature tracker for the computer vision community. The source code is in the public domain, available for both commercial and non-commercial use. The tracker is based on the early work of Lucas and Kanade, was developed fully by Tomasi and Kanade, and was explained clearly in the paper by Shi and Tomasi. Later, Tomasi proposed a slight modification which makes the computation symmetric with respect to the two images – the resulting equation is derived in the unpublished note by myself. Briefly, good features are located by examining the minimum eigenvalue of each 2 by 2 gradient matrix, and features are tracked using a Newton-Raphson method of minimizing the difference between the two windows. Multi-resolution tracking allows for relatively large displacements between images. The affine computation that evaluates the consistency of features between non-consecutive frames was implemented by Thorsten Thormaehlen several years after the original code and documentation were written. klt 1.3.4 23.fc34 x86_64 40 k klt-1.3.4-23.fc34.src.rpm fedora An implementation of the Kanade-Lucas-Tomasi feature tracker http Public Domain KLT is an implementation, in the C programming language, of a feature tracker for the computer vision community. The source code is in the public domain, available for both commercial and non-commercial use. The tracker is based on the early work of Lucas and Kanade, was developed fully by Tomasi and Kanade, and was explained clearly in the paper by Shi and Tomasi. Later, Tomasi proposed a slight modification which makes the computation symmetric with respect to the two images – the resulting equation is derived in the unpublished note by myself. Briefly, good features are located by examining the minimum eigenvalue of each 2 by 2 gradient matrix, and features are tracked using a Newton-Raphson method of minimizing the difference between the two windows. Multi-resolution tracking allows for relatively large displacements between images. The affine computation that evaluates the consistency of features between non-consecutive frames was implemented by Thorsten Thormaehlen several years after the original code and documentation were written.

We can use yum or dnf to install klt on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install klt.

Install klt on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install klt using dnf by running the following command:

sudo dnf -y install klt

Install klt on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install klt using yum by running the following command:

sudo yum -y install klt

How To Uninstall klt on Fedora 34

To uninstall only the klt package we can use the following command:

sudo dnf remove klt

klt Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/d32cb2e7d21ed9ccc5d3599b4c4f4617a8f77d
/usr/lib/libklt.so.1
/usr/lib/libklt.so.1.3.4
/usr/share/doc/klt
/usr/share/doc/klt/README.txt
/usr/share/doc/klt/speed.txt
/usr/lib/.build-id
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/94fa08a8a4fdd63e69573e86f6ca6a2119970f
/usr/lib64/libklt.so.1
/usr/lib64/libklt.so.1.3.4
/usr/share/doc/klt
/usr/share/doc/klt/README.txt
/usr/share/doc/klt/speed.txt

References

Summary

In this tutorial we learn how to install klt on Fedora 34 using yum and dnf.