sleep before capturing
This commit is contained in:
parent
61d7712c27
commit
f2d85cb891
1 changed files with 1 additions and 0 deletions
|
|
@ -683,6 +683,7 @@ class SmartScanThing(Thing):
|
||||||
logger.info(f"Waited {wait_time:.1f}s for the previous capture to finish saving.")
|
logger.info(f"Waited {wait_time:.1f}s for the previous capture to finish saving.")
|
||||||
acquired = Event()
|
acquired = Event()
|
||||||
name = f"image_{loc[0]}_{loc[1]}.jpg"
|
name = f"image_{loc[0]}_{loc[1]}.jpg"
|
||||||
|
time.sleep(0.2)
|
||||||
capture_thread = Thread(
|
capture_thread = Thread(
|
||||||
target=capture_and_save,
|
target=capture_and_save,
|
||||||
kwargs={
|
kwargs={
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue