Github Link: https://github.com/pjjajal/this-little-piggy-pen
HackED 2021 : This Little Piggy Pen
Our Goal: Create a web application to decrypt user pictures of Pigpen Ciphers using PyTorch, OpenCV.
The pigpen cipher (alternatively referred to as the masonic cipher, Freemason's cipher, Napoleon cipher, and tic-tac-toe cipher) is a geometric simple substitution cipher, which exchanges letters for symbols which are fragments of a grid. The example key shows one way the letters can be assigned to the grid. (From Wikipedia: https://en.wikipedia.org/wiki/Pigpen_cipher)
1) User accesses site 2) User takes picture of written Pigpen cipher 3) Site sends request to Flask server 4) OpenCV parses each Pigpen character 5) Each character is passed off to a PyTorch Siamese Neural network 6) Network classifies each character 7) Characters are mapped to English 8) Results are sent back to user