Truthsayer Uses Facial Recognition To See If You’re Telling The Truth

It’s hard to watch [Mark Zuckerberg]’s 2018 Congressional testimony and not come to the conclusion that he is, at a minimum, quite a bit different than the average person. Of course, having built a multibillion-dollar company that drastically changed everything about the way people communicate is pretty solid evidence of that, but the footage at least made a fun test case for this AI truth-detecting algorithm.

Now, we’re not saying that anyone in these videos was lying, and neither is [Fletcher Heisler]. His algorithm, which analyzes video of a person and uses machine vision to pick up cues that might be associated with the stress of untruthfulness, is far from perfect. But as the first video below shows, it is a lot of fun to see it at work. The idea is to capture data like pulse rate, gaze direction, blink rate, mouth posture, and even hand position and use them as a proxy for lying. The second video, from [Fletcher]’s recent DEFCON talk, has much more detail.

The key to all this is finding human faces in a video — a task that seemed to fail suspiciously frequently when [Zuck] was on camera — using OpenCV and MediaPipe’s Face Mesh. The subject’s pulse is detected by watching for subtle changes in the color of a subject’s cheeks as blood flows through them, which we’ve heard about plenty of times but never before seen presented so clearly and executed so simply. Gaze direction, blinking, and lip compression are fairly easy to detect too. [Fletcher] also threw in the FER library for facial expression recognition, to get an idea of the subject’s mood. Together, these cues form a rough estimate of the subject’s truthiness, which [Fletcher] is quick to point out is just for entertainment purposes and totally shouldn’t be used on your colleagues on the next Zoom call.

Does [Fletcher]’s facial mesh look familiar? It should, since we once watched him twitch his way through a coding interview.

Continue reading “Truthsayer Uses Facial Recognition To See If You’re Telling The Truth”

A wooden device with an LED display and speakers

The Inspirer Keeps Your Mood Up With Inspirational Quotes And Soothing Music

While some people enjoy the cold weather and long, dark nights in the Northern Hemisphere these days, others may find it hard to keep a positive mindset all through the winter. [Michael Wessel] decided he needed to do something about that and came up with The Inspirer, a desktop display that shows inspirational quotes and plays soothing music.

The design is deliberately bare-bones: a strip of wood, standing upright thanks to two metal brackets, onto which a bunch of components have been screwed, glued and taped. The actual display consists of a row of 14-segment LED modules that can show basic alphanumeric characters; these displays emit white light, but [Michael] added a red color filter in front to give them a more “retro” look.

This device is fully off-grid, so no Internet connection issues will disrupt your flow. A huge database of quotes and a selection of music tracks are stored on a pair of micro SD cards; an MP3 player module handles the music while an Arduino picks a quote, drives the display, and reads the buttons. You can select quotes based on a certain theme: examples include friendship, gardening, money, and love. But if you’re open to anything, you can just set it to “random” and get something from any of the 120 categories.

[Michael]’s simple and straightforward design should hopefully prove inspirational to many hardware enthusiasts. But if you’re looking for something more advanced, we featured a neat pomodoro timer that displays quotes a few weeks ago. Of course, this being Hackaday, we’ve also seen a clock based on literary quotes.

Continue reading “The Inspirer Keeps Your Mood Up With Inspirational Quotes And Soothing Music”

An Enchanted Rose For A Beauty

Being a maker opens up so many doors in terms of ways to romance one’s partner through passion projects. If their passion is Disney films, then you may handily make them the enchanted rose from Beauty and the Beast for their birthday. Easy-peasy.

In addition to the love and care that went into this build, redditor [Vonblackhawk2811] has included a set of LEDs, salvaged from cheap flashlights and electronic candles, which are controlled by four toggle switches and offer multiple lighting selections — candlelight, soft white, colour cycling, and bright white — to appropriately set the mood. As if that wasn’t enough to romance his sweetheart, he’s also included an aux cord input and a pair of speakers so they may be serenaded by a tune or two as they dance the night away.

Liberal use of hot glue and duct tape are keeping the electronics secured, preventing any shorts. After all — what would it say if this gift went up in flames? An inspired stencil design — hand drawn and cut out — was used to apply a spray-on frosted glass finish to the cloche, and a romantic phrase was burned into the base, completing this heartfelt gift. The only quibble we have is that now we all have to step up our game in the courtship department.

That is, unless one is sporting the Romance Pants.

[via /r/DIY]

Sentiment

Display Your City’s Emotional State With Illuminated Snow

[Hunter] wanted to do something a bit more interesting for his holiday lights display last year. Rather than just animated lights, he wanted something that was driven by data. In this case, his display was based on the mood of people in his city. We’ve seen a very similar project in the past, but this one has a few notable differences.

The display runs off of an Arduino. [Hunter] is using an Ethernet shield to connect the Arduino to the Internet. It then monitors all of the latest tweets from users within a 15 mile radius of his area. The tweets are then forwarded to the Alchemy Sentiment API for analysis. The API uses various algorithms and detection methods to identify the overall sentiment within a body of text. [Hunter] is using it to determine the general mood indicated by the text of a given tweet.

Next [Hunter] needed a way to somehow display this information. He opted to use an LED strip. Since the range of sentiments is rather small, [Hunter] didn’t want to display the overall average sentiment. This value doesn’t change much over short periods of time, so it’s not very interesting to see. Instead, he plots the change made since the last sample. This results in a more obvious change to the LED display.

Another interesting thing to note about this project is that [Hunter] is using the snow in his yard to diffuse the light from the LEDs. He’s actually buried the strip under a layer of snow. This has the result of hiding the electronics, but blurring the light enough so you can’t see the individual LEDs. The effect is rather nice, and it’s something different to add to your holiday lights display. Be sure to check out the video below for a demonstration. Continue reading “Display Your City’s Emotional State With Illuminated Snow”

Cybraphon, Rocks Hard To The Mood Of The Internet

Start off with a beat, wood sticks on cigar boxes will do. Add some chimes as accent, a Farfisa organ or record player for a voice, several other instruments for harmony and dissonance, and you’re still just on the tip of the iceberg for understanding Cybraphon.

Not only is this antique wardrobe completely autonomous, playing music with over 60 robotic instruments, its song are based on the current mood of the internet. You definitely don’t want to miss the video (or pictures) on this one, catch it after the rift.

[Thanks to PsychoNerd91]

Continue reading “Cybraphon, Rocks Hard To The Mood Of The Internet”

Pulse, The Emotional Visualization Organism


[Markus Kison] built a device called Pulse, which is part art installation and part data visualization tool. What the emotional visualization organism called Pulse actually does is scan new posts on Blogger.com blogs for synonyms of keywords related to 24 distinct emotions from eight emotional groups. A red cone in the center expands when keywords are detected, in effect acting as a mood indicator for Blogger.com blogs.

The 24 distinct emotions are based on [Robert Plutchik]’s psychoevolutionary theory of emotion, and the device itself is built from a glass case, various servo motors, and custom controller for the servos. This is a compelling idea, but we wonder whether it scans for modifying words or just the keywords alone. It wouldn’t make a lot of sense to have the sadness region expand drastically if many people simultaneously post the sentence “I’m not sad at all.” Video embedded after the break.

Continue reading “Pulse, The Emotional Visualization Organism”