Slashdot Mirror


MIT Researchers Bring JavaScript To Google Glass

colinneagle (2544914) writes "Earlier this week, Brandyn White, a PhD candidate at the University of Maryland, and Scott Greenberg, a PhD candidate at MIT, led a workshop at the MIT Media Lab to showcase an open source project called WearScript, a JavaScript environment that runs on Google Glass. White demonstrated how Glass's UI extends beyond its touchpad, winks, and head movements by adding a homemade eye tracker to Glass as an input device. The camera and controller were dissected from a $25 PC video camera and attached to the Glass frame with a 3D-printed mount. A few modifications were made, such as replacing the obtrusively bright LEDs with infrared LEDs, and a cable was added with a little soldering. The whole process takes about 15 minutes for someone with component soldering skills. With this eye tracker and a few lines of WearScript, the researchers demonstrated a new interface by playing Super Mario on Google Glass with just eye movements."

43 of 70 comments (clear)

  1. Headache by Dan+East · · Score: 5, Funny

    the researchers demonstrated a new interface by playing Super Mario on Google Glass with just eye movements

    Followed by the researchers demonstrating how to try and relieve a headache by massaging their temples with their thumbs.

    --
    Better known as 318230.
    1. Re:Headache by Anonymous Coward · · Score: 2, Insightful

      I got a GREAT BIG COCK

      Yeah and tell it to stop crowing at 6am or I'm gonna shoot it and deep fry it.

    2. Re:Headache by TubeSteak · · Score: 1

      Speaking of headaches, TFA didn't bother linking to the website of what we're all talking about
      http://www.wearscript.com/en/latest/

      --
      [Fuck Beta]
      o0t!
    3. Re:Headache by MrBigInThePants · · Score: 1

      Sir, this is no time for quips and jests. This is a serious and devastating moment.

      My heart goes out to all "Glassholes" (From my readings I believe that is what they prefer to be called) and the exquisitely priced fandanglery they prefer to wear on their futuristic heads.
      The evil that JavaScript will unleash upon their world will be terrifying and its effects widespread - the limited power of their Glasshole devices will be naught a match for the mighty appetite of the beast that is known as JS.
      Mark my words, in the not so distant future we will pine for the social lubricant that is the joyful, carefree bubbling of the typical Glasshole, with their shiny rimmed brand of invasive humour and the charmingly distracted way they drive about town.

      It is truly, truly a sad day.

      I think we should all have a moments silence out of respect for our beloved Glassholes.

    4. Re:Headache by Mashiki · · Score: 5, Funny

      First two things showing up on Google glass after JS showing up:
      Popup ads.
      The second? UR PENIS TOO SMALL! VIAGRA CHEAP!!!!111!

      --
      Om, nomnomnom...
    5. Re:Headache by e133tc1pher · · Score: 2

      No joke, that was seriously tedious and took me hours to get right (https://www.youtube.com/watch?v=QSn6s3DPTSg). The real point of the video was to show that we made a cheap eye tracker ($25) add-on for Glass along with a better pupil detection algorithm than was previously available (https://github.com/wearscript/wearscript-eyetracking). We're working with accessibility labs to use it as an input device for users who can't use the touchpad on Glass. The goal is to make it widely available for people to hack on so that everyone benefits as opposed to $10k proprietary systems that have bad support for modern software/devices. Adding in Mario was just an easy point of reference, everyone knows the relative complexity of that as opposed to a synthetic test.

    6. Re:Headache by MrBigInThePants · · Score: 1

      I would respond to you post but it is rather incomprehensible.

      I don't like MS at all. It is highly likely that I did not like MS before you did. (and that I initially liked it before you also when it was not what it is today)

      And the only hate I see here is in your post...

    7. Re:Headache by Opportunist · · Score: 1

      Well, in this day and age, you don't need to love MS to hate Google, ya know...

      I'm strictly neutral on the issue. I think both have turned into something we'd be better off without.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    8. Re:Headache by LifesABeach · · Score: 1

      It's a little light on detail. It's a shame no one recorded your work, maybe using the Glass ware? You might want to talk to someone in the Signing community, your interface might "pick up" some "pointers" there.

  2. Wow, that opens a up a whole world of dontgiveadam by BrendaEM · · Score: 3, Funny

    Flash will be next.

    --
    https://www.youtube.com/c/BrendaEM
  3. MIT researchers? by oneiros27 · · Score: 3, Informative

    ... Brandyn White, a PhD candidate at the University of Maryland, and Scott Greenberg, a PhD candidate at MIT ...

    At least this time we can blame Network World for the crappy headline, and not someone here at Slashdot. We can just blame them for not bothering to read the summary, much less the article.

    --
    Build it, and they will come^Hplain.
    1. Re:MIT researchers? by godrik · · Score: 1

      Welcome to the world of PR and marketing. If there is any kind of involvement from a famous party, no matter how small the involvement, the famous party always gets the credit. MIT is more famous than University of Maryland so they get the credit.

      Note that I have no clue how much each person contributed to this particular project. But if it is done by somebody famous (or at a famous entity), it becomes great, if you had done the same thing, nobody would talk about it.

    2. Re:MIT researchers? by MBC1977 · · Score: 1

      Not saying your sentiment is wrong, but most people know about the tech wizards at MIT. Most people know Maryland for its college basketball team. Best way I could see to counter this effect is to not involve the people at MIT when a new discovery is made / published.

      --
      Regards,

      MBC1977,
    3. Re:MIT researchers? by e133tc1pher · · Score: 1

      Brandyn here, it can be annoying but in this instance MIT sponsored the event (it was at the Media Lab) so it's an easy mistake. No harm, anyone who looks into it knows that I'm at Maryland.

    4. Re:MIT researchers? by Missing.Matter · · Score: 1

      In academia, most of the actual research is done by PhD candidates. The PIs get the funding and then disappear from the project for three years until it's time to get more funding.

  4. Somebody tell them by rmdingler · · Score: 1

    Javascript should not be received Pig in the 'Poke style.

    --
    Happiness in intelligent people is the rarest thing I know.

    Ernest Hemingway

  5. Now it's doomed by Kardos · · Score: 2

    So how long is it going to be before someone writes some sort of java script that blinds the user?

    1. Re:Now it's doomed by Anonymous Coward · · Score: 5, Funny

      So how long is it going to be before someone writes some sort of java script that blinds the user?

      There are other kinds?

    2. Re:Now it's doomed by Opportunist · · Score: 1

      Begone and don't tempt me, Satan!

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  6. Re:Wow, that opens a up a whole world of dontgivea by Hsien-Ko · · Score: 1, Funny

    I don't think anyone would want to flash a glasshole...

  7. Re:Glasshole by Anonymous Coward · · Score: 1, Interesting

    What misconcenptions or ignorance? Google Glass users are predominately self-obsessed assholes. Maybe you Google fangirls need to get your panties untwisted just because not all of us want to deepthroat Sergey Brin like you?

  8. Dork^2 by PPH · · Score: 1

    We attach something to the thing we attached to our glasses.

    --
    Have gnu, will travel.
  9. Ph.D.? by poached · · Score: 1

    I didn't know soldering some electronics together and porting a language to a platform is Ph.D. level work.

    1. Re:Ph.D.? by e133tc1pher · · Score: 5, Interesting

      I didn't know soldering some electronics together and porting a language to a platform is Ph.D. level work.

      Agreed. This is my research http://scholar.google.com/cita... . WearScript is a tool that helps us in our current research (which is an extension of this https://www.youtube.com/watch?... ). When you do research you can either use tools that already exist or you can take a detour and invest in making better tools so you can do more effective research, that's what this is.

    2. Re:Ph.D.? by Opportunist · · Score: 1

      Well, now maybe the PISA results start to make sense?

      Give it another 20 years and you'll probably get your Ph.D. for being able to assemble a computer (and of course write a 100+ page essay about it).

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  10. The lengths we go to by djhaskin987 · · Score: 2

    just to play super mario.

  11. Re:why all the javascript hate? by freeze128 · · Score: 3, Informative

    Because it's responsible for all the things people hate about web pages. Pop-up ads, pop under ads, floating ads, flash ads, flash exploits, java exploits....

    A better question would be: What has javascript done that's GOOD?

  12. Re:why all the javascript hate? by antifoidulus · · Score: 1

    Because it's responsible for all the things people hate about web pages. Pop-up ads, pop under ads, floating ads, flash ads, flash exploits, java exploits....

    Um...what? How is Javascript even remotely implicated in flash/java applet exploits?

  13. I'm betting on Python Eyes by CrowdedBrainzzzsand9 · · Score: 1

    I'm betting on Python Eyes, O-O=====, object-oriented mayhem.

  14. Re:why all the javascript hate? by raymorris · · Score: 2

    Often, the vulnerability will be in a Java or Flash applet and the exploit will be via JavaScript. A vulnerable applet just sits there being vulnerable until a bad guy takes control of it via script. That's why this setting exists:

    1. Open Internet Explorer.

    2. Click the Tools menu and then click Internet Options.

    3. Click the Security tab, click the Internet icon and then click Custom Level.

    4. Scroll down to the Scripting section. Under Active scripting, select the Enable option. Then, under Scripting of Java applets, select Enable. Click OK.

    5. Surf for 20 twenty minutes.

    6. Restore from backup because you've probably been pownd.

  15. "The Glass - it does nothing!" by Applehu+Akbar · · Score: 1

    With Javascript on Glass, can malware be far behind? Would affected users be stumbling around blinded? Would IT-conscious Glassholes get tired of having to say "OK, Glass: Yes to the umpteenth fucking Java update dialog today!"

    1. Re:"The Glass - it does nothing!" by Opportunist · · Score: 1

      Well, considering we just had a story today how texting is one of the leading causes of accidents, I dare predict that Glass users won't really need JS to stumble around blindly...

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  16. Re:Glasshole by Opportunist · · Score: 1

    Actually, I was looking forward to getting affordable HMDs. The idea that they will just very likely not be "mine" at all is kinda discouraging, though.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  17. Re:why all the javascript hate? by Opportunist · · Score: 1

    Mine too!

    But then again, I'm in IT-Security. I endearingly call it "part of the job security package".

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  18. Re:Glasshole by tapspace · · Score: 1

    The idea that they will just very likely not be "mine" at all is kinda discouraging, though.

    That should be completely revolting to you.

  19. Re:why all the javascript hate? by cascadingstylesheet · · Score: 2

    Because it's responsible for all the things people hate about web pages. Pop-up ads, pop under ads, floating ads, flash ads, flash exploits, java exploits.... A better question would be: What has javascript done that's GOOD?

    Says the man who's never used jQuery ... you can't be serious.

    Yes, with great power comes great responsibility. But don't throw the baby out with the bathwater. (And I have more cliches where those came from!)

  20. Re:why all the javascript hate? by Ryanrule · · Score: 1

    Notice how this whole pages doesnt need to reload every time you click something?

  21. Re:Wow, that opens a up a whole world of dontgivea by ghmh · · Score: 1

    Now you can use your eyeballs to try and get Mario to punch the monkey!

  22. Re:why all the javascript hate? by Anonymous Coward · · Score: 1

    Says someone who assumes that a supposed misuse of JavaScript equates to faulty language.

  23. PISA == Flawed test used only to bash US. by sethstorm · · Score: 1

    The only way that PISA results can ever make sense is if you understand their primary flaw: they do not control for admissions standards and thus penalize more open admission systems (like the US), versus more closed admissions systems (about everywhere else, namely Europe and Asia).

    As for assembling a computer from the parts up, it would require a lot more than one might think.

    --
    Twitter supports and protects racists - by smearing their critics with the "Hate Speech" label.
    1. Re:PISA == Flawed test used only to bash US. by Opportunist · · Score: 1

      Well, technically the admission standards in the US are not more permissive, just different. Brains don't matter, just money does.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    2. Re:PISA == Flawed test used only to bash US. by sethstorm · · Score: 1

      Well, technically the admission standards in the US are not more permissive, just different. Brains don't matter, just money does.

      Some of the features of the US system that make it more permissive:
        Highly permeable education tracks - moving between each is performance based(and sometimes not even that), not specifically test-based.
        Three named tracks exist(Honors/AP,Regular,Remedial), but all provide the same opportunity to access post-secondary education.
        Post-secondary options provide the same opportunity to all participants - a 4 year degree.

      In short, one test score at one point in your life won't determine the rest of your life, unlike about every other nation in the world.

      --
      Twitter supports and protects racists - by smearing their critics with the "Hate Speech" label.
  24. Nice, but useless until available for all. by sethstorm · · Score: 1

    When Glass is available in a full and free form for the Rest of Us, then maybe some of this might be of good use. It seems like about every interesting use is being removed from it until it is turned into something that pales in comparison to the developer units.

    Of course, some Glasshole (or a few of them) would take that as a personal offense instead of responding to the top shortcoming of Glass - lack of general availability.

    --
    Twitter supports and protects racists - by smearing their critics with the "Hate Speech" label.