You’d be lying if you denied ever browsing non-work-related content during office hours - we all do it.
But have you ever considered how awkward it would be if your boss caught you taking a BuzzFeed quiz, scrolling through memes and videos, or snapping up the last of the January sales?
However, there is no more need to worry. An ingenious employee has created ‘Boss Sensor’: a programme that uses Artificial Intelligence to switch from your non-work-related screen to an image of work-related content - when it senses your manager is approaching.
Writing in a post on Ahogrammer, programmer Hiroki Nakayama explains the method behind his invention.
Firstly, he surreptiouisly set up a webcam on his computer to take real-time images and videos of his boss, creating and developing specific facial recognition.
Alongside this he had to upload images of random people and isolate their faces using ‘ImageMagick’, in order to differentiate his boss’ face from those of his co-workers.
Nakayama used Keras, an open-source CNN library in Python, developing a Convolutional Neural Network (CNN) to create a facial recognition programme. Once the camera recognised his boss approaching, he used a code to switch screen. Having previously taken a screenshot of a work related document to appear on the screen, the code would switch to this when the camera identified his boss.
He tested it at work, pointing the webcam in his boss’ direction, finding he had around four to five seconds from when his boss leaves his seat, to the time he arrives at Nakayama’s desk. It was a success.
Nakayama has produced a guide on creating your own BossSensor, or, if you’re not code-savvy, the tool can be downloaded from GitHub for free.
Now you can find out what Buzzfeed deems your spirit animal is, without any anxiety that your manager is right behind you…