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 recognize your infrared camera). The purpose of this repository is to enable the emitter when the infrared camera is invoked.
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. Then execute:
sudo tar -C / --no-same-owner -m -h -vxzf linux-enable-ir-emitter*.tar.gz
sudo systemctl enable --now linux-enable-ir-emitter
We also support the OpenRC service manager. See docs/manual-build.md for information on how to build the project.
To uninstall the tool, see docs/uninstallation.md for the instructions.
Searching...
output blinking. If you really have to, press CTRL+C
, the tool will stop safely as soon as possible (you may have to answer a last question see 5.).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
. Put something that reflects IR in front of the computer so you can leave.All criticism, ideas and contributions are welcome!
Some cameras provide instructions for changing the brightness of the ir emitter. You will need to find the corresponding instructions and set 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.[DISABLE]
, the instruction may make your camera unusable, so the tool will not use them automatically, we advise you do not touch it.[START]
, the instruction will be executed on the linux-enable-ir-emitter run
command; and by extension when the systemd service is started (at boot).[IDLE]
, the instruction will not be executed on the linux-enable-ir-emitter run
command.