Giter Site home page Giter Site logo

Camera Issue about ai-thermometer HOT 9 CLOSED

tomasz-lewicki avatar tomasz-lewicki commented on July 17, 2024
Camera Issue

from ai-thermometer.

Comments (9)

tomasz-lewicki avatar tomasz-lewicki commented on July 17, 2024 1

Hi there!

This should help 🙂

echo 'SUBSYSTEM=="usb",  ENV{DEVTYPE}=="usb_device", GROUP="plugdev", MODE="0664"' | sudo tee /etc/udev/rules.d/10-libuvc.rules 
sudo udevadm trigger

You can read more about this in the FAQ

from ai-thermometer.

BasilHarun avatar BasilHarun commented on July 17, 2024

Hi,

Thanks for replying, I’ve tried it out but see everytime it gives different error
resize error is due to it doesn't detect pi camera
and waiting for ir frames is due to empty pipline of ir thread

4C492EA4-872C-48E7-9F0D-18F8C84C0DE7

The only thing I think I’m using Nano 2Gb could it be because of the memory.

from ai-thermometer.

BasilHarun avatar BasilHarun commented on July 17, 2024

Error 1

27381ED8-F49E-417B-A96F-87D5FD482B6D

Error 2

BE465A93-DAD8-45A9-BC9D-C25259C67CE4

from ai-thermometer.

BasilHarun avatar BasilHarun commented on July 17, 2024

Uploading 3A799CD2-0BA0-4BD8-8A8D-C5EB8D075842.png…

from ai-thermometer.

tomasz-lewicki avatar tomasz-lewicki commented on July 17, 2024

Yeah, so those are two separate issues:

  1. with Pi Camera
  2. with USB permissions for Lepton 3.

To try addressing 1) I'd start by restarting argus:

sudo systemctl restart nvargus-daemon.service

After restart, try this:

gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM),  width=(int)1920, height=(int)1080, format=(string)NV12,  framerate=(fraction)30/1' ! nvoverlaysink

Can you see video on the screen?

Regarding 2): are you still seeing uvc_open error -3?

from ai-thermometer.

BasilHarun avatar BasilHarun commented on July 17, 2024

Hi,

I did all the steps accordingly, and can see the video.

Then I ran Python3 Main.py,

on side note (I had a low memory warning on right hand corner.)

this is the result.

3D14822E-10F3-46D2-B973-987943AC3863

59ABA8E1-75A9-45B3-B188-4647E8EC7730

from ai-thermometer.

BasilHarun avatar BasilHarun commented on July 17, 2024

After fixing RGB Error, it gives me the IR error.

3AD2AC08-7B58-453C-88B3-A1A6A5C03C65

from ai-thermometer.

BasilHarun avatar BasilHarun commented on July 17, 2024

Also I’m Using Jetson Nano 2GB not 4GB and when I run main.py it always gives me this error on side.

6595C77B-4F51-4333-90AA-70155764B749

from ai-thermometer.

BasilHarun avatar BasilHarun commented on July 17, 2024

When I run the IR camera individually, I get this empty error.

8C01806F-1714-4F5D-8EDD-F7F93145C070

from ai-thermometer.

Related Issues (20)

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.