9 ms·
Apply dog vision to photo of Robert S. McNamara
- w1ntermute 13y agoThis sums up the new Wolfram Language in one command - ways of combining data and algorithms in novel/interesting, but practically useless ways.
- taliesinb 13y agoWell, it's Alpha, not the Wolfram Language. But I don't think it takes much imagination to see how things like http://www.wolfram.com/language/gallery/visualize-celebrity-gossip/ http://www.wolfram.com/language/gallery/visualize-celebrity-... or http://www.wolfram.com/language/gallery/plan-a-city-tour/ http://www.wolfram.com/language/gallery/plan-a-city-tour/ or http://www.wolfram.com/language/gallery/track-a-gps-equipped-wolf/ http://www.wolfram.com/language/gallery/track-a-gps-equipped... or http://www.wolfram.com/language/gallery/email-freeze-alerts/ http://www.wolfram.com/language/gallery/email-freeze-alerts/ or http://www.wolfram.com/language/gallery/classify-images-as-day-or-night/ http://www.wolfram.com/language/gallery/classify-images-as-d... could be the basis of something commercially valuable or publicly useful, especially given how easy they are to create. (edit: and those examples are not even designed for commercial appeal, just concision and cool factor).
- banachtarski 13y agoNo it really doesn't. Think about the underlying abstraction. The point is that somewhere, the engine knew how to define a transformation "dog vision" on a set of objects, namely photos. Taking it further, it's possible that "dog" was a transformation on "vision" and other visions are available. As a math major who used Wolfram alpha for the last 3 years of my undergrad some odd years ago, I have to say I had an overwhelmingly positive impression of the product.
- captainmuon 13y agoAnd it still has glaring omissions. One thing it still can't do is group theory. I'm not a mathematician, but I occasionally need some group theory stuff at work. This is stuff that is either tabulated or can be calculated easily by a computer. Like "show me a matrix representation of SU(3)" or "decompositions of SU(5)" or "irreps of SU(10)" or something. Group theorists have these little equations with circled operators, like 1+8=3 (imagine numbers in bold and a circle around the plus. I just made up the numbers, but they're usually as wierd), that I can never wrap my head around no matter how often I've tried. But they are kind of important for particle physics, and I hope that wolfram alpha will eventually incorporate that stuff. Actual particle physics is also lacking, everything besides simple queries like "mass of the top quark" is missing (and the mass it gives is not up-to-date). I would like it to have "decay modes of neutralino-1 at m0=1000, m12=1000, ..." or "higgs mass=126, particle-such-and-such-mass=1000, solve for parameter-x" and it would show me valid values for x resulting in these masses. This is all easily implementable, but I guess the market for it is too small (otoh, I don't know what the market for "dog vision" is...(
- Aardwolf 13y agoI tried replacing dog by cat, and it doesn't work. Why? Also, for the inverse gamma function of complex numbers: gamma^-1(1+10i) works. gamma^-1(1-10i) confuses its parser (doesn't know how to interpret input, even though the previous and next one work). gamma^-1(1-10.0i) works again. Why?
- eternalban 13y agoCat worked for me.
- Aardwolf 13y agoI tried again, and still doesn't work, it says: Using closest Wolfram|Alpha interpretation: photo of Robert S. McNamara (so it ignores the "cat" part. the fact that the image it shows has a strange yellow color is a coincidence)
- ams6110 13y agoHad no idea that dogs' visual acuity was so poor. My dog seems to be able to spot squirrels at 100 yards...
- comrh 13y agoMaybe smell?
- ekianjo 13y agoIs Smell directional in dogs?
- Crito 13y agoPerhaps if the dog is also aware of the direction of the wind during the time of the smell.
- reeses 13y agoI think the nostrils are too close together for 3d smell detection beyond very short odor wavelengths.
- dennyabraham 13y agoyes, it's one of the reasons they articulate and constantly wet their nostrils. http://chemse.oxfordjournals.org/content/30/4/291.full http://chemse.oxfordjournals.org/content/30/4/291.full
- mstromb 13y agoReplacing "dog" with "cat" does not work... though the resulting interpretation ("photo of Robert S. McNamara") is oddly yellowed.
- Tarrosion 13y agoI tried exactly the same thing. I always find WolframAlpha frustrating for anything except arithmetic. Example: search "sat scores" and you get some info about SAT scores, including a histogram by gender. Search "sat scores male" and the query is not understood, and you get the page for SAT scores. Search "sat scores of males" and the query is not understood, and you get the page for "sat male", i.e. a page describing an infant born tomorrow.
- vacri 13y agoIt's reminiscent of the old text adventures, where the easy part was figuring out what to do, and the hard part was figuring out the right syntax to match the coder's expectations.
- mberning 13y agoI highly doubt that 20% is uniform across all breeds.
- mantrax 13y agoThat's the problem with studying animals, they can't defend themselves to correct our hilarious over-generalizations and misrepresentations of their species.
- mberning 13y agoI did a little research on how they determine the visual acuity of dogs. Apparently it is done by training the dog to respond to lines on a background in order to receive a treat. Once the lines become so small that the dog no longer responds they have arrived at their answer. What strikes me as odd is that they have taken a test designed for humans and modified it to be used for dogs. One issue with this is the fact that when a person takes a vision test they are trying very hard to discern the correct letter. Anybody who has gone thorough one of these tests will know what I am talking about. At some point you get to a letter size where you will spend considerable effort scrutinizing it. Is it a 'C' or a 'G'? It seems to me that you should probably design a test for dogs that brings out a similar level of effort.
- kennywinker 13y ago"apply color blindness to photo of ron howard" is also a valid query
- avodonosov 13y agodo you know how to apply both color blindness and dog vision?
- abruzzi 13y agoI tried that, the the photos look identical. Of course I have red-green colorblindness.
- cynwoody 13y agoSo I tried "apply color blindness to photo of jonti roos" but got no useful results. However, "apply color blindness to http://assets.nydailynews.com/polopoly_fs/1.1717717.1394554759!/img/httpImage/image.jpg_gen/derivatives/landscape_635/cockpit12n-1-web.jpg" http://assets.nydailynews.com/polopoly_fs/1.1717717.13945547... worked. Original: http://assets.nydailynews.com/polopoly_fs/1.1717717.1394554759!/img/httpImage/image.jpg_gen/derivatives/landscape_635/cockpit12n-1-web.jpg http://assets.nydailynews.com/polopoly_fs/1.1717717.13945547...
- taliesinb 13y agoThe Edges of The Edge: http://www.wolframalpha.com/share/clip?f=d41d8cd98f00b204e9800998ecf8427er0uv7vb6lk http://www.wolframalpha.com/share/clip?f=d41d8cd98f00b204e98...
- kennywinker 13y agoThe Boss Embossed: http://www.wolframalpha.com/input/?i=apply+embossing+effect+to+image+of+bruce+springsteen http://www.wolframalpha.com/input/?i=apply+embossing+effect+...
- sailfast 13y agoFog of war? All kidding aside it's interesting to know that the language can perform these kinds of transformations but I'm not quite sure what my use case would be yet.
- taliesinb 13y agoWhenever it gets radically easier to do higher-level things, it usually takes a while for people to understand the possibilities. We haven't released our cloud platform yet, but if there are particular domains you are interested in, you can poke around http://reference.wolfram.com/language/ http://reference.wolfram.com/language/ to see what we have there. The examples to do with machine learning seems to be popular on http://www.wolfram.com/language/gallery/ http://www.wolfram.com/language/gallery/.
- hengheng 13y agoThen teach me. I have no idea what to expect from Alpha, and I've so far only used it as a novelty item or advanced calculator. You can't expect me to 'naturally' speak a new language if you never reveal its vocabulary or grammar. And I can't learn the language intuitively as long as I can't hear it spoken anywhere either.
- notastartup 13y agoIs there a political message here? How McNamara is viewed by a dog. Does the dog represent soldiers of Vietnam? ex. dog tag. If so, does the lack of clarity show the failing of McNamara in the Vietnam war?
- biot 13y agoSometimes a cigar is just a cigar.
- notastartup 13y agolike the one that almost blew up Castro
- sanoli 13y agoWho would make a political statement in some obscure internet page that .01% of users use, about a 50 year old war?
- taliesinb 13y agoFill in anyone you want: https://www.wolframcloud.com/objects/032f062e-5a63-4e3a-aff4-019383ee940d https://www.wolframcloud.com/objects/032f062e-5a63-4e3a-aff4... Corresponding code: DogVision[img : (_Image | _Graphics | _Graphics3D)] := Module[{rgbimg = ColorConvert[img, "RGB"], data}, data = Transpose[ImageData[rgbimg], {3, 2, 1}]; GaussianFilter[ Image[Transpose[{(data[[1]] + data[[2]])/ 2, (data[[1]] + data[[2]])/2, data[[3]]}, {3, 2, 1}]], 5]]; CloudDeploy[ FormFunction[{"person" -> "Person"}, DogVision[EntityValue[#person, "Image"]] &, "JPEG"], Permissions -> "Public"]
- hamburglar 13y agoEvery time I play around with Wolfram Alpha, I get frustrated trying to figure out how I get past the natural language input interpretation and write code like you specify here. Is this a restricted feature for pro subscribers? Why do they bother letting me see the "input interpretation" (and provide it as copyable plaintext) if they're not going to let me actually use it?
- taliesinb 13y agoIt sounds like you want to use the Wolfram Language rather than Wolfram Alpha.
- hamburglar 13y agoI believe what I want is the ability to use Wolfram Alpha by writing my queries in the Wolfram Language. How does one do that?
- hnriot 13y agoThat's exactly what the Wolfram language does. You cloud deploy your code to use it from the web if you want it to be a service, like REST
- hamburglar 13y ago
- briholt 13y agoInverted color http://www.wolframalpha.com/input/?i=invert+photo+of+Robert+S.+McNamara http://www.wolframalpha.com/input/?i=invert+photo+of+Robert+... Upsidedown http://www.wolframalpha.com/input/?i=flip+photo+of+Robert+S.+McNamara http://www.wolframalpha.com/input/?i=flip+photo+of+Robert+S.... Black and white http://www.wolframalpha.com/input/?i=grayscale+photo+of+Robert+S.+McNamara http://www.wolframalpha.com/input/?i=grayscale+photo+of+Robe...
- aheilbut 13y agofixed it: http://www.wolframalpha.com/input/?i=apply+dog+vision+to+photo+of+natalie+portman http://www.wolframalpha.com/input/?i=apply+dog+vision+to+pho...
- NicoJuicy 13y agoBut this doesn't work ? "apply cat vision to photo of obama"
- leoc 13y agoCat vision isn't implemented it seems.
- CmonDev 13y ago"Apply mantis shrimp vision" would be more impressive.
- ttty 13y agoBut this doesn't work: "apply dog vision to a photo of some guy" http://www.wolframalpha.com/input/?i=apply+dog+vision+to+a+photo+of+some+guy http://www.wolframalpha.com/input/?i=apply+dog+vision+to+a+p...
- AutoCorrect 13y agohttp://www.wolframalpha.com/input/?i=apply+dog+vision+to+photo+of+Carla+Gugina http://www.wolframalpha.com/input/?i=apply+dog+vision+to+pho...
- ttty 13y ago"apply dog vision to a photo of a Michael Jackson" really interesting! lol http://www.wolframalpha.com/input/?i=apply+dog+vision+to+a+photo+of+a+Michael+Jackson http://www.wolframalpha.com/input/?i=apply+dog+vision+to+a+p...
- cvs268 13y agoNo wonder cats and dogs don't get along very well... http://www.wolframalpha.com/input/?i=apply+dog+vision+to+photo+of+a+cat http://www.wolframalpha.com/input/?i=apply+dog+vision+to+pho...
- mantrax 13y agoYou shouldn't trust that interpretation by Wolfram Alpha. 1. Distance. One obvious discrepancy is that the closer you look at the photo the less detailed it'll look. That's the opposite of how actual "vision" works. Even in dogs. You need to know how far away you should look at the photo, at what DPI screen in order for it to be even remotely representative for what it "feels" like for a dog to see. 2. Original image dpi. The second flaw is that if that image was a 600 dpi photo McNamara processed through the same filter, it wouldn't have lost nearly as much information percentage-wise, as a small image would. 3. What is "human vision"? The original image doesn't represent "human vision". It's a photo captured by a camera, resampled to a specific (small) resolution. Wolfram Alpha can't know how typical human vision "dpi" applies to that particular photo, because it needs to know a lot of information about the camera lens and sensor, which it doesn't know. So it can't approximate the dog version out of it by using relative human-to-dog metrics. I love Wolfram & all their products. However, sorry, but that "dog vision" image is not scientific. It's just bullshit.
- netcan 13y agoAlso, a lot of what we think of as vision happens in "software." A human looking at a human processes that information differently to a dog looking at a human. Human's read faces, for example. To a human it seems that a lot more information is lost in the from the face part of the image than the hands area when you put it through that filter.
- wavefunction 13y agoExcellent points, and why is the resulting picture larger than the original source image? Sounds like more BS from this company (I don't have a ton of experience with their products but have followed their promotional materials quite frequently.)
- JoeAltmaier 13y agoHarsh! The 2 color receptor part is accurate. And given that both photos are on your screen, and one is 20% less acute than the other, the approximation is fair.
- userbinator 13y agoWoofram Alpha.
- nmeofthestate 13y ago"Wolfram, could I see a hat wobble and a flarhgunnstow?" "Yes Paul"
- alexose 13y agoWe have important work to do.
- AutoCorrect 13y agoI like this one better: http://www.wolframalpha.com/input/?i=apply+dog+vision+to+photo+of+Carla+Gugina http://www.wolframalpha.com/input/?i=apply+dog+vision+to+pho...
- ForHackernews 13y agoThis stuff is what really irritates me about Wolfram Alpha. Almost everything they do beyond basic unit conversion comes across as a nifty parlor trick instead of a real capability. Like you see this example, and think "Oh, it can apply different types of animal vision to different types of images." so you try this: http://www.wolframalpha.com/input/?i=apply+cat+vision+to+photo+of+a+small+dog http://www.wolframalpha.com/input/?i=apply+cat+vision+to+pho... And you get: > Input interpretation: Canis Minor | constellation region With a diagram of the constellation Canis Minor...which I guess is SORT of a small dog. But this kind of stuff is rife throughout Wolfram Alpha, and makes it much much less useful than Google. For example, here's a question I was curious about recently: http://www.wolframalpha.com/input/?i=world+energy+use+per+year+compared+to+solar+incidence http://www.wolframalpha.com/input/?i=world+energy+use+per+ye... Wolfram just totally ignores the second part of the query, versus Google[0], which gives this very on-topic result for the third result: http://www.sandia.gov/~jytsao/Solar%20FAQs.pdf http://www.sandia.gov/~jytsao/Solar%20FAQs.pdf [0] https://encrypted.google.com/search?hl=en&q=world%20energy%20use%20per%20year%20as%20percentage%20of%20solar%20output#hl=en&q=world+energy+use+per+year+compared+to+solar+incidence https://encrypted.google.com/search?hl=en&q=world%20energy%2...