Skip to content

Extrange range temperatures using Lepton3 #70

@Seikon

Description

@Seikon

Hi, I am using Lepton 3.5 camera and Breakout board V2. When using pylepton and performing some statistics counts over frame (with my hand in front of the camera), I get these extange temperature ranges:

frame processed int 0.056710243225097656s, 17.63349869671235hz
Median: -65.83 °C
Min: -273.0°C
Max: -56.849999°C

And Here is the code to get these results:

def calculate(data):
    celsius = (data / 100) - 273
    
    medianT = np.median(celsius)
    minT = np.min(celsius)
    maxT = np.max(celsius)
    
    return (medianT, minT, maxT)

Could anybody help me? :) Thanks in advance!

PS: I am aware that the frame object is returning values in centikelvins (K * 100)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions