As an Amazon Associate I earn from qualifying purchases from amazon.com

It is magic: Utilizing an IR digicam and Raspberry Pi to scan an invisibly marked card deck throughout a magic efficiency: Digital Pictures Evaluation


Card tips can be lots simpler if the magician knew the placement of each card. Paul Nettle and Jeroen Van Goey created a Github undertaking, ‘The Nettle Magic Venture,’ that makes use of particular markings and a digicam to establish and find each card in a deck.

Every card within the deck is marked with a singular barcode. In fact, if the playing cards had been marked in conventional ink, that might disrupt the phantasm, so the playing cards are marked with ink solely seen below particular IR circumstances. Nettle and Van Goey designed a Raspberry Pi machine with a NoIR digicam to see the marked playing cards.

The machine runs a scanning server, and it is linked to an iOS shopper software, Abra, that reveals what the server’s digicam sees and the decoded deck. With the know-how, magicians can know the ordered record of each card within the deck, which card(s) are lacking, and even which playing cards are face-up within the deck. The machine may be run whereas performing as it may scan/decode a 1080p picture to an ordered deck in ‘as little as 4ms.’

The testbed purposes offered are written for macOS and iOS, though there’s additionally help for Linux and the Raspberry Pi platform. There at present aren’t Home windows or Android variations. The total documentation outlines the testbed software intimately.

There’s additionally a high-level overview of how the machine works. Whereas pace is necessary, appropriate outcomes are vital. An error throughout a dwell efficiency is problematic. Whereas scanning outcomes can be incorrect, it is most unlikely. Efficiency is improved by scanning a number of video frames somewhat than a single body. The outcomes of a number of frames are analyzed and mixed. Nonetheless, effectivity issues are necessary, because the machine will doubtless be hidden on a magician’s individual and may’t turn out to be too sizzling or run out of energy.

Excessive-level overview of the Nettle Magic Venture system and its steps

There’s an enter video body augmented by configuration parameters and a deck definition. The deck is searched, decoded, resolved and analyzed earlier than a report is generated for the person. Every of those main steps consists of secondary and even tertiary processes, that are extensively outlined right here.

Every enjoying card is about 0.3mm thick, and so they’re scanned below low-light circumstances utilizing a narrow-band IR digicam. Additional, playing cards turn out to be worn, and a few playing cards are held in somebody’s palms, so the scanning course of is not good. Nonetheless, it is ‘typically’ dependable. The ‘analyze’ section tries to beat a insecurity by combining outcomes from scans which can be ‘principally’ appropriate with scans that ‘may very well be’ appropriate to generate a single ‘assured’ consequence.

The Abra shopper reveals the total outcomes of the scan. We will see that this scan generated a excessive confidence worth (98).

Completely different eventualities produce failures, together with the deck not being within the body or too small, the readability verify failing as a result of the scanned video is not sharp, there being too few playing cards or simply another extra generalized failure. There are additionally completely different success circumstances, together with high and low confidence outcomes. As soon as all steps are full, the ultimate result’s despatched to the Abra shopper.

Considered one of these decks is marked. Are you able to inform which one?

The documentation additionally reveals the way to generate marks utilizing a Sharpie or a custom-printed stamp. The part on UV reactive inks is not full but, however there are some fascinating particulars about making a marked deck that appears regular to the bare eye.

For those who like card tips, you may strive the Nettle Magic Venture for your self. All packages, instruments and documentation can be found on Github.


Picture credit: Nettle Magic Venture / Paul Nettle and Jeroen Van Goey / Github

We will be happy to hear your thoughts

Leave a reply

realdealdeals
Logo
Enable registration in settings - general
Compare items
  • Total (0)
Compare
0
Shopping cart