Skip to content

This is a simple C++ library for "CoolEye" IR sensor to read thermal imaging on Raspberry Pi.

Notifications You must be signed in to change notification settings

addison822/CoolEye

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CoolEye

This is a simple C++ library for "CoolEye" IR sensor to read thermal imaging on Raspberry Pi.

Prerequisites

  1. Because this library is based on wiringPi Project, so you need to install it first.

  2. Ensure SPI Interface is enabled on RPi.

Install

$ git clone https://github.com/addison822/CoolEye
$ cd CoolEye/
  • For dynamic library
$ sudo make install
  • For static library
$ sudo make install-static

Usage

  • test.cpp
#include <cooleye.h>
   
double frame[32][32];
   
int main(){
    //The default SPI channel is 0,
    //you can also indicate channel 1 
    //by using inttialCoolEye(1);
    initialCoolEye();
       
    readFrame(frame);
       
    return 0;
}
  • Compile
$ g++ test.cpp -lwiringPi -lcooleye -o test

Uninstall

$ cd CoolEye/
$ make uninstall

About

This is a simple C++ library for "CoolEye" IR sensor to read thermal imaging on Raspberry Pi.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published