Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Move the QR codifier to the dymo printer and document #1247
Alex made/found a QR codifier thing, used here:
The sophia PC originally had the dymo printer, but now that's moved, so the app should move with it.
I'd also like the documentation of it so we can hack and change it because I've decided that Becka has an application for it; of encoding dates and places into the qr code and photographing objects with them in it, given that we have the opencv tech to find and read these things from it.
There's something still missing, even after I sorted out the cross site thing. The example thing is here:
Didn't work. It wants to connect to localhost:41951 which I presume is served by the dymo software. (There's a newer version, but don't know if it's 64 bit only)
One application is to quickly generate templated labels with QR or Aruco tags to stick onto things or people. We have already demonstrated the capability to lift out Arucos using opencv, and there are libraries to extend to QR and barcodes for real-time tracking.
QRs and images can emulate most of the same things as RFIDs, but with the advantage that they are visible, very cheap, longer distance, and you can get positional information from them. We should call them LFIDs for "Light Frequency IDs".
We could print the QI code for the MAC address each SONOFF to stick on the box, which could mean that we'd have a faster way to commission any such IoT item when they are moved about in a place.
So I downloaded Visual Studio 2019 Community edition, rebuilt the QR codifier and it runs up.
The QR code is the wrong size and when you push a button it hangs.
I wonder if the label size for this printer is different or something.
We need to look at the label template it is using and I need to work out why it is hanging.
Collar me when you're about @goatchurchprime and we'll look at it together.