majestic icon indicating copy to clipboard operation
majestic copied to clipboard

WYZE v3 (T31) exposure problems in the daytime

Open mariarti opened this issue 2 years ago • 5 comments

Required information

  • WYZE v3 sensor gc2053
  • Majestic lite HEAD+eba3d1e, 2023-02-11
  • OpenIPC version: master+98e3bca7, 2023-02-11
  • installation method: autoupdated
  • modified majestic.yaml: no

Issue description

Exposure problems in the daytime. At night / cloudy time the picture is normal.

Expectations

Good picture at any time of day (any lighting scene)

Steps to reproduce

  1. Just turn on

Information to attach

openipc-2 3 02 11-lite-t31zx-gc2053-1676393102-snapshot4cron openipc-2 3 02 11-lite-t31zx-gc2053-1676392202-snapshot4cron openipc-2 3 02 11-lite-t31zx-gc2053-1676389501-snapshot4cron

Assumption https://t.me/c/1223369578/13838

mariarti avatar Feb 14 '23 20:02 mariarti

@dimerr Please see this problem, what we can fix here. This is our chance to run a popular device, very many hits.

flyrouter avatar Feb 14 '23 20:02 flyrouter

take gc2053.bin from stock fw and try

dimerr avatar Feb 15 '23 04:02 dimerr

Replacing gc2053.bin does not give the desired result. The only difference is the absence of the pink ring in the middle of the snapshot, and that's it.

As it was found, this particular kind of highlighting is caused by the snapshot script. If a snapshot is taken externally (e.g., curl, wget), the problem does not manifest itself. The assumption was made that there is not enough memory when the script is called. This is most likely the case. At the moment a workaround in the form of an external snapshot rather than directly from the camera is used. I would be happy for it to work normally without any workarounds.

ialexlog avatar Apr 22 '23 18:04 ialexlog

This PR https://github.com/OpenIPC/firmware/pull/966 has fixed exposure issues for me. Maybe you can try the latest master and see if you still have issues.

gtxaspec avatar Oct 05 '23 13:10 gtxaspec

Replacing gc2053.bin does not give the desired result. The only difference is the absence of the pink ring in the middle of the snapshot, and that's it.

As it was found, this particular kind of highlighting is caused by the snapshot script. If a snapshot is taken externally (e.g., curl, wget), the problem does not manifest itself. The assumption was made that there is not enough memory when the script is called. This is most likely the case. At the moment a workaround in the form of an external snapshot rather than directly from the camera is used. I would be happy for it to work normally without any workarounds.

Ah, For the snapshot script, I have found out that its when we pull the sensor model, Is when the flash occurs. I would guess when we pull the sensor model (the command that returns 'gc2053') the sensor is temporarily stopped so we can get it's model, Thus ruining the auto exposure loop. A workaround for me was making the sensor model variable static.

EDIT: This command is run before we take a snapshot, So it takes a snapshot while the exposure goes back to normal.

damienwolf07 avatar Apr 30 '24 12:04 damienwolf07