<commit_before># libseek-thermal

## Description

libseek-thermal is a user space driver for the SEEK thermal camera series built on libusb and libopencv.

Supported cameras:
* [Seek Thermal compact](http://www.thermal.com/products/compact/)
* [Seek Thermal compact pro](http://www.thermal.com/products/compactpro)

## Credits

The code is based on ideas from the following repo's:
* https://github.com/BjornVT/Masterproef.git
* https://github.com/zougloub/libseek

The added value of this library is the support for the compact pro.

## Compilation

The library depends on libusb-1.0 and opencv (tested with opencv 3.2).
To compile just type 'make' in the root directory.
To get debug verbosity, build with 'make DEBUG=1'.

## Running code samples

You need to add a udev rule to be able to run the program as non root user:

Udev rule:

```
SUBSYSTEM=="usb", ATTRS{idVendor}=="289D", ATTRS{idProduct}=="XXXX", MODE="0666", GROUP="users"
```

Replace 'XXXX' with:
* 0010: Seek Thermal Compact
* 0011: Seek Thermal Compact Pro

or manually chmod the device file after plugging the usb cable:

```
sudo chmod 666 /dev/bus/usb/00x/00x
```<commit_msg>Updated dependecy list in README<commit_after># libseek-thermal

## Description

libseek-thermal is a user space driver for the SEEK thermal camera series built on libusb and libopencv.

Supported cameras:
* [Seek Thermal compact](http://www.thermal.com/products/compact/)
* [Seek Thermal compact pro](http://www.thermal.com/products/compactpro)

## Credits

The code is based on ideas from the following repo's:
* https://github.com/BjornVT/Masterproef.git
* https://github.com/zougloub/libseek

The added value of this library is the support for the compact pro.

## Compilation

Dependencies:
* libopencv-dev (>= 2.4)
* libusb-1.0-0-dev
* libboost-program-options-dev

To compile just type 'make' in the root directory.
To get debug verbosity, build with 'make DEBUG=1'.

## Running code samples

You need to add a udev rule to be able to run the program as non root user:

Udev rule:

```
SUBSYSTEM=="usb", ATTRS{idVendor}=="289D", ATTRS{idProduct}=="XXXX", MODE="0666", GROUP="users"
```

Replace 'XXXX' with:
* 0010: Seek Thermal Compact
* 0011: Seek Thermal Compact Pro

or manually chmod the device file after plugging the usb cable:

```
sudo chmod 666 /dev/bus/usb/00x/00x
```
{'fraction_non_alphanumeric': 0.11268209083119109, 'fraction_numerical': 0.02356469580119966, 'mean_word_length': 4.546318289786223, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4950588', 'n_tokens_mistral': 839, 'n_tokens_neox': 766, 'n_words': 276}