1724 points · by soegaard · 7y ago · 214 comments
I really wouldn't have expected this to work but once you read about it.... of course it would.
This is one of those things that while there maybe wasn't a 'problem' shows how knowing a few things critical, you can really solve problems / come up with solutions that nobody would have ever thought of (well I wouldn't have...).
It's a fun DIY project and you can get it almost working. I suspect edge cases (stemming from different lighting conditions and imperfect finger detection) would render this method unworkable in general.
[1] https://www.macobserver.com/imgs/tmo_articles/20100129ipadbo...
It's all been done before.
Again, fun DIY project, limited commercial value.
I was delighted to see this is so much better. Figuring out touch events from the reflection is really cool. Well done.
You can make junkyard bound stuff do amazing things when you program them right, but you pay for that programming or time spent.
Or to put it another way you wouldnt invent a new way to desalinate seawater and then say the cost is $10/litre instead of 2 cent because of r&d on the device you made..
Depends on the marketing strategy, most likely. But I like GP's point about undervaluing programmer time. It is non-free and everyone down to the programmers themselves tend to grossly underestimate its cost.
Humans are kind of expensive to keep alive and happy enough to program willingly
/That last statement had more caveats than I wanted...
And then it gets turned around and copyrighted/patented anyways.
So yeah it should cost $.02/gal . It's only cause of profittering goons at every level do essential needs for humans get privatized and 'owned'.
Maybe some time-rich person will fork it and do so.
What makes this one different in this regard?
(I'm not trying to say it's a meaningless project.)
My friends and I built a time machine radio (i.e. you tune it to a decade, with a knob and everything, and radio news from the decade was included if we could find it) and won best hardware hack, so it wasn't a total loss. Had a blast either way.
(Not a comment on you, but you poked the button)
While my hackathon experience is limited, I think any attempt to crown a "winner" reduces the experience. Of course, I am too sensitive because everyone can just enjoy it...but as soon as there's a winner there starts to be rules that people try to game, the are added restrictions and limits that reduce what is being created, etc. And creating is the point.
The problem I think is that judges themselves are incompetent/careless — when you promote a “bad” winner, you just discourage everyone from trying, because they realize there is no value to this kind of promotion; its bullshit.
I had a similar experience in my university — some kind of business project idea competition; we submitted my lab’s current project, and there were other interesting projects involved who I would have been happy to lose to.
Instead I lost to the girl with the contentless idea for edible spoons for developing countries... an idea I’d seen repeatedly in recent news cycles because some NGO in India was doing it for the last three years.
Five minutes of googling would have discovered this, but instead we simply ignored the competition since.
Attending itself was valuable, along with the half-attempt at winning — we clarified the project and ideas, and had an excuse to clean things up — so it would have been a good exercise to do yearly (and probably for the other projects involved), and the competition was healthy.
But it just takes an incompetent judge to spoil the whole thing.
There’s nothing wrong with people trying to game the competition, its a natural function of competing. But the judges are meant to operate as experts, and an expert should have (some) ability to discern bullshit from something real.
Rewriting it in C/C++/Rust instead of Python would be one... Any ideas?
It just takes some work.
Source: have used used webcam cube cams in a robotics application where latency needed to be accounted for.
The alternative that usually gets used in productions with a moderate budget is a hardware camera with HDMI or SDI output into a Blackmagic capture device. There's still some latency, but it's better than a webcam. It's pretty much down to the minimum of what you can do with a computer -- the capture device still has to buffer a frame, transmit it to the computer, which copies it into RAM, then blits it to video RAM, where it waits for the next vertical refresh.
All that said, the human finger doesn't travel all that fast, so for a HID application like this, you could probably get the latency way down by extrapolating the near-future position of the finger, much like iPadOS does with Pencil.
You don't need memory to have latency. Speed of light / electrons is enough...
That said, webcams absolutely have extra processing (and thus latency).
Would it? It's using libraries for the heavy lifting already.
We could have a better/safer C but alas we don't. It's either C or all the way to Zig/Rust/etc territory (or using C++ like C).
The laptop hardware is different of course, but it would be an interesting performance comparison.
Here's an interesting overview of using Core frameworks with Python: https://developer.apple.com/videos/play/wwdc2018/719/
Though that does not take account of the latency of the webcam itself.
They are not asking what kind of problems having a touch screen on a laptop would solve.
> With some simple modifications such as a higher resolution webcam (ours was 480p) and a curved mirror that allows the webcam to capture the entire screen, Sistine could become a practical low-cost touchscreen system.
Found this Kickstarter project that’s now a company. http://serafim-tech.com/products/serafim-keybo-world-s-most-...
I'm not at all interested in this as a keyboard per se, but the fact that it functions as a piano keyboard as well gives me ideas. I wonder if the latency and resolution would allow for things like automatic transcription of written documents as you write, a mouse replacement, or other cool things that I haven't thought of yet :)
They claim they have an SDK. I'll have to explore this some more when I have time later this evening.
1. Point a camera at a surface (be it a piece of paper or whatever).
2. Write/print a word on that paper and use CV/OCR to parse it.
3. Detect when a person has pressed on that word and exec the command specified by the text.
Instant macro pad?
Trying to avoid the wacom/tablet path to keep it lightweight :)
[1] - http://www.proelite.co.in/Amazon-Kindle/All-Amazon-Kindle-10...
Als interested to see how it works with different lighting and how dirty the screen can get before recognition fails because the reflection is too „muddled“ ;)
Either you have a mirror that converts your webcam into ultra wide angle so you cover the top edge of the screen (which you pay for by poor resolution on the bottom) or you decide not to cover the whole top area (which is where most window control elements are).
The video action all happens on the lower half of the screen for a reason.
A solution would be some sort of orthographic lense, that basically splits the sensor into multiple distributed lenses to avoid the FOV problems. This however would be not trivial to get right without serious tools.
On the topic of touchscreen Macbooks, I've been using my Mac a lot less since I've spent a lot of time on a touchscreen Windows laptop. It is super handy! A lot of times when using the Mac I'll absentmindedly drag something on the screen only to be disappointed. Apple's resistance to the idea reminds me of their stubbornness on the single button mouse. Admitting you're wrong is not a weakness.
They sell iPads that are touch-enabled, that work well with touch.
However I do strongly feel that touchscreen is the opposite to productivity, maybe usability to the end users, but definitely not what developers need/want.
I agree it's less productive on its own, but it works well when used as a hybrid where you have two types of pointers on one screen.
I may not prefer touch screens but they can be a complete game changer for some users.
Consider if the authors of the article had used (for example) Ruby - you probably wouldn't ask why they didn't do it in Python3, so why do you do it if they write it in Python2?
Python 2 will be EOLed soon.
4 months 25 days 5 hours left until Python 2 is retired. After that point it will no longer be maintained by the Python project.
Of course Linux distros and companies will keep Python 2 running for years to come because of all of the tools that are Python 2 only.
New projects ought to be written in Python 3. However, in this case my guess would be that OP probably used Python 2.7 because macOS ships with Python 2.7 preinstalled.
So if we could, Apple are the ones that we ought to speak to. Convince Apple to ship macOS with Python 3 pre-installed.
I'd have hard time finding support for some Ruby 1.8 upstream dependencies for recent projects, so I don't agree with you.
This is especially true of MacBook screens!
Anything that requires tons of visual calibration is serious work. Both for the programmer and the computer.
It worked for a planned demonstration, but I imagine this would be impossible for Mass production. And I wonder if the users found it useful due to latency and accuracy problems.
They hacked something cool together, I suspect that is the point, and it is awesome.
This isn't a product.