Giter Site home page Giter Site logo

dolanor-galaxy / yombir Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yomboprime/yombir

0.0 1.0 0.0 44 KB

Native C++ app for the Topdon TC-001 and the Infiray P2 and similar thermal image cameras.

License: GNU General Public License v2.0

Shell 2.73% JavaScript 10.07% C++ 84.55% CMake 2.65%

yombir's Introduction

Yombir

Native C++ app for the Topdon TC-001 and the Infiray P2 and similar thermal image USB cameras that use the Infiray Tiny1-B Micro LWIR Thermal Module.

Tested on:

  • x86 PC
  • Raspberry Pi 4B
  • Pine64 Pinephone Pro

License

Licensed under GPL2.0

Building the app

Linux

Requirements: In summary, OpenCV and libV4Linux.

libv4l2-dev libopencv-core libopencv-imgproc libopencv-highgui libopencv-codecs lopencv_imgcodecs

To build:

mkdir build
cd build
cmake ..
make

Other systems

TODO - Not tested.

How to use

./yombir [camera device path] [r]

By default the device is /dev/video0

If r is specified, screen is rotated 180ΒΊ (only for realtime display, not on recorded files)

When running, the app will display the thermal image in fullscreen. The first two seconds will display noise while it stabilizes.

Control keys:

  • Press SPACEBAR to exit the app.
  • Press ENTER to toggle recording of video.

When recording, a blinking red circle will appear. Recordings are saved to ./captures folder with .t16 extension (from "Thermal 16 bpp") Each file is just the captured raw frames at 16 bpp, one after the another at 24 FPS (about 2 MB/second). Resolution is 256x192.

How to convert recordings to mp4 videos

See ./utils/README.md on how to convert the recorded .t16 files to .mp4 videos.

How to change the color palette

See ./gradients/README.md.

Known issues

I don't set any parameters via USB. Perhaps for this reason the camera sometimes readjusts the range or the optics by itself making an audible clic, and stopping transmitting for less than a second.

Acknowledgements

People at eevblog.com forums for the reverse engineering of the camera's video format.

The libv4l2cpp library at Github (public domain)

yombir's People

Contributors

yomboprime avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.