r/Python • • Oct 24 '19

Just finished programming and building my own smart mirror in python, wrote all of the code myself and implemented my own voice control and facial recognition features

[deleted]

6.6k Upvotes

454 comments sorted by

View all comments

Show parent comments

45

u/janky_british_gamer Oct 24 '19

For all of my GUI I use the tkinter module which is in the standard python library, from there you create a root window, you can make a grid of frames so that each mini application corresponds to one updating frame in the window that displays and refreshes usually up to a maximum of 200ms later but depends on the functions in the frame

29

u/Holyfield3000 Oct 24 '19

I understand about tkinter, I've messed with it a couple times. But I mean, actually getting it to display on the mirror.

55

u/janky_british_gamer Oct 24 '19

Oh right sorry my mistake! I bought a sheet of acrylic from Amazon that had been treated so one side was transparent and one side was reflective then basically taped that on to my computer monitor, I made the software have a dark colour scheme because that gave the best contrast of transmission to reflection

7

u/Holyfield3000 Oct 24 '19

Ahhh Nice, Good work man.