flir 3.5 has auto ffc enabled by default. its possible to use manual but still need once ffc on every wake up.
Without this you will not get results.
I wonder why you are trying to do this with this sensor and not with a simpler one like:
flir 3.5 has auto ffc enabled by default. its possible to use manual but still need once ffc on every wake up.
Without this you will not get results.
I wonder why you are trying to do this with this sensor and not with a simpler one like:
Thank you for answering @oramafanis,
Because I thought that Lepton 3.5 will be the best sensor for my project. But anyway I bought one time and nothing to do with FFC right now. Now I have to enable/disable the AGC mode.
Do you know something about AGC or filter the image like āmax_temperature , min_temperatureā?
What is the question/issue ? Measurement mode resets the sensor and leaves AGC at its default value (disabled). Iām not sure what you expect to see ?
if (!measurement_mode) {
if (LEP_SetRadEnableState(&LEPHandle, LEP_RAD_DISABLE) != LEP_OK
|| LEP_SetAgcEnableState(&LEPHandle, LEP_AGC_ENABLE) != LEP_OK
|| LEP_SetAgcCalcEnableState(&LEPHandle, LEP_AGC_ENABLE) != LEP_OK) {
return -1;
}
}
Hi @iabdalkader
I was trying to get images more clear from my Lepton 3.5 to detect alive creatures. For this goal, Im trying to enable/disable AGC mode and also filter the image by max min temperatures to get only the alive creatures. Im trying for several days and I couldnt activate AGC as you see my code.
This disables AGC and filter the image by min/max range:
min_temp_in_celsius = 20.0
max_temp_in_celsius = 40.0
sensor.reset()
sensor.ioctl(sensor.IOCTL_LEPTON_SET_MEASUREMENT_MODE, True)
sensor.ioctl(sensor.IOCTL_LEPTON_SET_MEASUREMENT_RANGE, min_temp_in_celsius, max_temp_in_celsius)
If you want to have AGC on the default script for just demoing does that.
If you want to turn AGC off then thatās literally what Ibrahim posted above does.
Turning off FFC is something completely different. Thatās the calibration method the FLIR Lepton uses with itās shutter. As previously mentioned many times we donāt have an API call for that but you can use the set_attribute command to mess with the sensor settings if you want to try to turn that off.
Thank you both