GithubHelp home page GithubHelp logo

makerportal / amg8833_ir_cam Goto Github PK

View Code? Open in Web Editor NEW
16.0 4.0 8.0 31 KB

Python codes for development of a real-time thermal camera using a Raspberry Pi computer and AMG8833 infrared array

Python 100.00%
raspberry-pi wiring-diagram python-codes python3 ir-camera infrared amg8833 thermal-camera camera

amg8833_ir_cam's People

Contributors

josh-hrisko avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

amg8833_ir_cam's Issues

AttributeError: 'FigureCanvasQTAgg' object has no attribute 'set_window_title'

Traceback (most recent call last):
  File "/home/mehularora/AMG8833_IR_cam/examples/IR_cam_interp.py", line 68, in <module>
    fig.canvas.set_window_title('AMG8833 Image Interpolation')
AttributeError: 'FigureCanvasQTAgg' object has no attribute 'set_window_title'

small fix: need to use fig.canvas.manager
if you're accepting PRs, lmk ill open one

The interpol. often crash in Ras..... Pi 4

Hi.
The interpol crash often.
We use Raspberry pi 4.

Here is the warning we get in Thonny Python IDE .

/home/pi/Hämtningar/AMG8833_IR_cam-main/examples/IR_cam_interp.py:68: MatplotlibDeprecationWarning:
The set_window_title function was deprecated in Matplotlib 3.4 and will be removed two minor releases later.

Use .FigureManagerBase.set_window_title or GUI-specific methods instead.
fig.canvas.set_window_title('AMG8833 Image Interpolation')
Traceback (most recent call last):
File "/home/pi/Hämtningar/AMG8833_IR_cam-main/examples/IR_cam_interp.py", line 83, in
status,pixels = sensor.read_temp(pix_to_read) # read pixels with status
File "../amg8833_i2c.py", line 125, in read_temp
raw = self.device.read16(GE_PIXEL_BASE + (i << 1))
File "../amg8833_i2c.py", line 92, in read16
result = self._bus.read_word_data(self._address,register) & 0xFFFF
OSError: [Errno 5] In/ut-fel


Any solution?

Regards from Sweden

Mirrored output

I followed the process and now my AMG8833 sensor is working and giving output. I am using Raspberry Pi 3.
I tried both files IR_cam_interp.py and IR_cam_test.py.
Both files show mirrored output images.
The problem is that the output window shows a horizontally mirrored image.
Do you know how I can correct this? Thanks.
image

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.