Code Monkey home page Code Monkey logo

lepi's People

Contributors

cosmac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

lepi's Issues

no build possible on RPi4

The build stops with an error:

error: ‘cvWaitKey’ was not declared in this scope

I installed opencv (libopencv-dev) and BCM2838 Library (V1.71).

Same behaviour at a second new upset RPi4.
I need help with this issue.

here the outprint from terminal:

[ 84%] Linking CXX executable ../../../install/bin/PlayerThread
[ 84%] Built target PlayerThread
Scanning dependencies of target LePiServer
[ 88%] Building CXX object app/LePiServer/CMakeFiles/LePiServer.dir/LePiServer.cpp.o
[ 92%] Linking CXX executable ../../../install/bin/LePiServer
[ 92%] Built target LePiServer
Scanning dependencies of target LePiClient
[ 96%] Building CXX object app/LePiClient/CMakeFiles/LePiClient.dir/LePiClient.cpp.o
.../LePi/app/LePiClient/LePiClient.cpp: In function ‘int main()’:
.../LePi/app/LePiClient/LePiClient.cpp:119:19: error: ‘cvWaitKey’ was not declared in this scope
119 | int key = cvWaitKey(5);
| ^~~~~~~~~
make[2]: *** [app/LePiClient/CMakeFiles/LePiClient.dir/build.make:63: app/LePiClient/CMakeFiles/LePiClient.dir/LePiClient.cpp.o] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:424: app/LePiClient/CMakeFiles/LePiClient.dir/all] Fehler 2
make: *** [Makefile:84: all] Fehler 2

Support for Lepton 3.5

Hi,

Has this been tried with a Lepton 3.5 sensor? I have the library working nicely on a Pi 3 Model B with a Lepton 2.5 sensor, but with the 3.5 sensor I just get repeated connect/disconnect messages. The sensor works fine in a PureThermal2 board. This is the quick test code I threw together to illustrate the problem:

        LeptonCamera cam;
	cam.start();
	printf("Dimensions: %dx%d  Type: %d\r\n",cam.width(),cam.height(),cam.LeptonVersion());

	while(1){
		if (cam.hasFrame())
			printf("Got frame!!!\r\n");
		usleep(1000);
	}

This is the output from the Lepton 3.5:

Open SPI port: 0, with address 3
Dimensions: 160x120  Type: 1
Close SPI port: 0, with address 3
Open SPI port: 0, with address 3
Close SPI port: 0, with address 3
Open SPI port: 0, with address 3
Close SPI port: 0, with address 3
Open SPI port: 0, with address 3
Reboot lepton sensor...
Close SPI port: 0, with address 3
Close I2C port: 1, with address 42
Open I2C port: 1, with address 42
Open SPI port: 0, with address 3
Close SPI port: 0, with address 3
Open SPI port: 0, with address 3
Close SPI port: 0, with address 3
Open SPI port: 0, with address 3
Close SPI port: 0, with address 3
Open SPI port: 0, with address 3
Reboot lepton sensor...
Close SPI port: 0, with address 3
Close I2C port: 1, with address 42

Any suggestions?

resize the PlayerThread window

hello,
when I run the Player or PlayerThread app, the window display is small, is there any way I can resize it to something bigger?

No packets in SPI

Hi, I have a problem with reading data on pi 3. It was working fine until last week, but suddenly no data came. I checked the SPI ports using spidev_test and it works. And it works with other codes such as pylepton code, my client code is based on this so it is hectic to change. I checked the packetNumber under LeptonReadSegment() and it is never equal to j hence it keeps resetting.

run without sudo

Is there anyway to run the app without sudo? I would like to use this library to write a ros package and I need to run the code without sudo. I already tried adding "pi" to usergroup "i2c" and "gpio" but doesn't help

SPI

Hi, I have a problem with running the program. When "Player" is executed in terminal can be seen that it opens and closes the SPI communication to the infinity. Some frames are visible on the screen (like 1 frame per 5 sec.), rest it is looking like the camera is freezed. What can cause this issue?
I´m using Rpi Zero, Jessie, Lepton v3. The processor indicator is not even windy, shows around 40% used computing capacity.
When I try to run "PlayerThread" the processor is used whole, 100%. Almost no frames can be seen and it makes Rpi unuseable unless hard restart is done.

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.