Skip to content

IndexError: index 480 is out of bounds for axis 0 - Topdon TC001 on Raspberry Pi 4 model B #27

@tariq526

Description

@tariq526

Hi, I am facing an issue while running tc001v4.2.py with a Topdon TC001 thermal camera on a Raspberry Pi 4 Model B. The program crashes with an IndexError.
My Environment:
• Hardware: Raspberry Pi 4 Model B
• Python Version: 3.10.4
• OpenCV Version: 4.6.0
• NumPy Version: 1.24.4
The error:
Traceback (most recent call last):
File "tc001v4.2.py", line 121, in
himax = thdata[mcol][mrow][0]
IndexError: index 480 is out of bounds for axis 0 with size 192.

can anyone please help me with that?
thank you all,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions