Provides support for infrared cameras that are not directly enabled out-of-the box.
linux-enable-ir-emitter
Provides support for infrared cameras that are not directly enabled out-of-the box (at the very least, the kernel must recognise your infrared camera). The purpose of this repository is to activate the emitter when the infrared camera is called.
linux-enable-ir-emitter
can automatically configure almost any (UVC) infrared emitter.
Download the latest linux-enable-ir-emitter-x.x.x.systemd.x86-64.tar.gz
here, then execute:
sudo tar -C / --no-same-owner -h -vxzf linux-enable-ir-emitter*.tar.gz
We also support immutable distro and the OpenRC service manager. See docs/manual-build.md for information on how to build the project.
It can be uninstalled by executing (remove the last line to keep the emitter configuration):
sudo rm -rf /usr/local/lib/linux-enable-ir-emitter \
/usr/local/bin/linux-enable-ir-emitter \
/usr/local/share/bash-completition/completitions/linux-enable-ir-emitter \
/usr/local/share/zsh/site-functions/_linux-enable-ir-emitter \
/etc/systemd/system/linux-enable-ir-emitter.service \
/etc/udev/rules.d/99-linux-enable-ir-emitter.rules \
/etc/linux-enable-ir-emitter
sudo linux-enable-ir-emitter configure
.
--emitters
. E.g. --emitters 2
.--width
and --height
. E.g. --width 640 --height 360
.--device
. E.g. --device /dev/video2
; useful if you have multiple ir camera.If you like the project, do not hesitate to star the repository to support me, thank you!
If the configuration failed:
--manual
option.--limit -1
option (caution: this may take several hours; do not combine it --manual
).Any criticims, ideas and contributions are welcome!
Some cameras provide instrutions for changing the brightness of the ir emiter. You will need to find the corresponding instructions and the correct value manually. An instruction consists of X values between 0-255.
sudo linux-enable-ir-emitter tweak
--width
and --height
. E.g. --width 640 --height 360
.--device
. E.g. --device /dev/video2
; useful if you have multiple ir camera.