Skip to content

Save and reset delay#1

Open
Giordan-Vilamoski wants to merge 2 commits intomainfrom
Giordan
Open

Save and reset delay#1
Giordan-Vilamoski wants to merge 2 commits intomainfrom
Giordan

Conversation

@Giordan-Vilamoski
Copy link
Collaborator

Created a delay to the functions save and reset and allowed to save multiple images

)


s = 0
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definido dentro do IntegraDiniz, vai ficar sempre admitindo s=0 quando rodar na main.py

cv2.imwrite("saved_image"+str(s)+".jpg", saved_img) # Save image to directory
print("saved image: "+str(s))
color = color_input
time.sleep(2)
Copy link
Owner

@VictorBauler VictorBauler May 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Por que usar time.sleep(2) depois de salvar a imagem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants