-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hoping to send on windows and decode on another windows #71
Comments
Do you know how to use Docker? Perhaps there's an easy way using it. |
For sending you can use cimbar_js. The easiest way is to save the For decoding there's unfortunately not (currently) a good way to do this. It might be possible to rig something up with the One eventual goal for this project would be to have a browser-based decoder (just as there's a browser based sender/encoder), but it doesn't exist yet. 😶 edit: incorrectly wrote |
i didn't know what is docker untill 2 weeks ago. I was just using docker if there was writen in some instructions. Yes, a browser based decoder would be nice |
Cool. Would you implement it? :) |
I am a complete beginner at c++. I do what I can, but in this case I wait for a ready solution :). i know that this is not great, but how will i implement a browser based decoder if i can do only cout hello world... |
Ha, don't worry about it. 🙂 I'll likely implement that myself, though I don't know how soon it'll be. |
I've dockerized a snapshot of libcimbar (commit b0aae78) a while back. docker run -it --volume //c/Users/myuser/myfolder:/src mihaigalos/libcimbar Make sure to adapt the path to mount into docker to the files you want to encode/decode. Then, inside docker you can type this for help: cimbar --help Then just encode a file using: cimbar --encode -i input.txt -o encoded And decode using: cimbar encoded.png -o . All credits go to @sz3, source attribution is in the docker under |
hmmm it decodes only static images? but how about data transfer? i mean like animated qrcodes. isn't cimbar made for this? |
The I would definitely categorize it as a hack, but it should be possible to capture camera frames to a series of images, feed them to a long-lived |
Hello! why we can't just compile cimbar on windows? |
It's not tested/currently supported, so some work will be necessary to get it to compile/run. But you (or anyone else) is welcome to try it if you want! I'd guess mingw is probably a safer bet than the MS compiler. |
Ok, so I've come up with something that seemed to work for me (with animated barcodes). Disclaimer: I am on Linux, so I don't know if it works on windows, but with docker seems like it might work. |
What is the progress on a browser-based decoder? I'm making an app in react-native, which needs to transfer data to other devices wirelessly without using WiFi. This project seems absolutely perfect for this use. I'd also be willing to contribute if needed. What needs to be done for decoding to work on the web? |
Progress is ... not much yet.
Quite a bit. My plan would/will be something like:
If someone does want to dig into the technology side -- or better yet, already has and can just tell me what the optimal answer is ( 🙂 ) that'd be the logical place to start. (edit: apologies for all the edits, I'm done now 😶 ) |
Is there any reason the MediaStream Recording API/WebRTC API wouldn't work? That's the recommended method for recording and streaming video and audio on the web. https://developer.mozilla.org/en-US/docs/Web/API/MediaStream_Recording_API As for the lower-level C++ stuff, I'm much less familiar with that than I am with web development, but I'll still try and help with that wherever I can. |
MediaStream is another option to add to the list above. All of these seem like they should work, but past experience says one or more of them won't perform well enough to use. Only one way to find out though... |
There's another project about file transition via QR Code: qifi-dev/qrs, it seems work slower than this one in maximum about 30kB/s on iPhone. |
Hello. Are there any bindings or utilities to make the encoder and decoder on windows? I am completely inexperienced in c++ and would love to try this awesome library out. Thank you.
The text was updated successfully, but these errors were encountered: