News for hackers. Stuff that matters.
Re:Camera Pi – DSLR Camera with Embedded Computer by bajsejohannes on Sunday August 19, 2012 @05:11AM (#4403624)
Very cool! What saddens me is that there is already an embedded computer on the camera! There is just not a good way to program it.

While there are some great efforts, like Magic Lantern, to reverse engineer and improve the firmware, I wish the producers just made the source part of their product. (I don't believe their trade secrets are that valuable to be honest. Not more valuable than letting people builds apps for your camera, at least)

Re:Camera Pi – DSLR Camera with Embedded Computer by StringyBob on Sunday August 19, 2012 @05:51AM (#4403685)
The amazing CHDK: http://chdk.wikia.com/wiki/CHDK_in_Brief for those who aren't aware of it. If I could ensure a new camera was supported, that alone would be enough to make me buy it over any competing models.
Re:Camera Pi – DSLR Camera with Embedded Computer by nakedrobot2 on Sunday August 19, 2012 @07:50AM (#4403797)
The story of how the CHDK was born is really amazing. Remember that "print" button on your camera, the one you never use? It has a light on it. Apparently someone coaxed their camera into outputting the source code of the firmware getting the "print" button to flash on and off.....
Re:Camera Pi – DSLR Camera with Embedded Computer by archivator on Sunday August 19, 2012 @09:23AM (#4403912)
Reminds me of how people cracked the iPod Nano (I think) firmware - one of the first steps was exploiting a buffer overrun and dumping the bootloader acoustically, through the clicker. There's a page somewhere with a photo of an iPod and a mike, all in styrofoam.
Re:Camera Pi – DSLR Camera with Embedded Computer by aortega on Sunday August 19, 2012 @02:34PM (#4404741)
BTW, CHDK doesn't use any exploit or vulnerability as all Canon cameras can boot from the SD memory, you only need to know the firmware file format, that it is of course already documented by the folks from CHDK.
Re:Camera Pi – DSLR Camera with Embedded Computer by _b8r0 on Sunday August 19, 2012 @01:15PM (#4404567)
Also worth pointing out the Magic Lantern Firmware[1] that supercharges low end Canon DSLRs.

[1] - http://magiclantern.wikia.com/wiki/Magic_Lantern_Firmware_Wi...

Re:Camera Pi – DSLR Camera with Embedded Computer by beagle3 on Sunday August 19, 2012 @04:06PM (#4405056)
The 5D mark II for which it was originally developed could hardly be considered low end. The official firmware at the time was just extremely lacking for film makers. (it's only very lacking these days).

Unrelated: Trammell Hudson, the guy who started Magic Lantern has done a lot of other interesting stuff - such as open source helicopter control software.

Re:Camera Pi – DSLR Camera with Embedded Computer by _b8r0 on Monday August 20, 2012 @02:50AM (#4406564)
I was referring to the support for other lower-end DSLRs like the 550d rather than the 5D mark II, although I didn't know it was originally developed for the 5D mark II, thanks.
Re:Camera Pi – DSLR Camera with Embedded Computer by justincormack on Sunday August 19, 2012 @05:41AM (#4403669)
There were briefly some Sony cameras that had hackable built in OS. An open firmware or at least apps (Instagram in camera) would be great. Too late now perhaps as the compact camera market is shrinking and DSLRs are premium products?
Re:Camera Pi – DSLR Camera with Embedded Computer by joshu on Sunday August 19, 2012 @11:59PM (#4406211)
Re:Camera Pi – DSLR Camera with Embedded Computer by nakedrobot2 on Sunday August 19, 2012 @07:52AM (#4403801)
Here is my rant, as an experimental (panorama, gigapixel) photographer: Canon, Nikon, and the rest of them will go to their graves keeping their firmware closed and un-scriptable. It is a tragedy. Mobile phones and the Gopro are eating their lunch. The fact that there is even a (niche) market for things like the Eye-fi (wifi sd card) goes to show how utterly clueless and behind the times these dinosaur camera companies really are.
Re:Camera Pi – DSLR Camera with Embedded Computer by wpietri on Sunday August 19, 2012 @08:13AM (#4403821)
Yeah. A great example of how people go wrong when makers focus on the product they're building rather than the people they're building it for.

As a programmer, my natural inclination is to sit in my fortress of arrogance and build the thing that I "know" they need. But learning how to do user testing, user interviews, and customer development has persuaded me that the important moment isn't when the product ships, it's when somebody actually uses it.

I almost never use my non-phone camera anymore because the point for me isn't taking a picture, it's doing something with it. Which camera companies would know if they treated anthropologists with the same respect as CCD scientists.

Re:Camera Pi – DSLR Camera with Embedded Computer by beagle3 on Sunday August 19, 2012 @04:10PM (#4405068)
That's a nice thought. But the real reason they do it is market segmentation; e.g. when I looked at it two years ago, the Canon T3i was infinitely better and cost less than any IP camera out there. If they let you stream out of it live, it would kill the ip camera market. So they don't.
Re:Camera Pi – DSLR Camera with Embedded Computer by wpietri on Sunday August 19, 2012 @06:09PM (#4405426)
If they did it only for purposes of market segmentation, they would have long ago made something that about the size of a point-n-shoot but that was as convenient for getting the photos up and out as a smartphone.

They haven't. That doesn't mean they have forced me into buying a fancier camera, and therefore getting more money. Instead they've pushed me into doing almost all my casual shooting with an (inferior) smartphone.

Besides, market segmentation is a good idea only as long as nobody else is going to disrupt your precious segments. If they will, then you might as well disrupt them yourself.

Established organizations have trouble thinking like that, though, because their ignorance of actual use combines with political desire to avoid change. Thus, Kodak.

Re:Camera Pi – DSLR Camera with Embedded Computer by jlarocco on Sunday August 19, 2012 @04:41PM (#4405175)
I'll believe it when I see it.

Nikon and Canon's target market, photographers, want to spend their time taking photos, not writing code for their camera.

Besides, most of the "possibilities" listed in the article are already available on a lot of cameras (like the intervalometer), better done in post processing (like previewing on ipad), or easily done using a $20 wireless remote control.

Don't get me wrong, it's cool that he's hacking on his camera, but I don't see Nikon and Canon ever promoting it or going out of their way to make it easier.

Re:Camera Pi – DSLR Camera with Embedded Computer by aortega on Sunday August 19, 2012 @02:33PM (#4404738)
Some Canon cameras are scriptable natively ( http://chdk.wikia.com/wiki/Canon_Basic ) and also using the CHDK extension. I understand the vendor's position on this, the market for scriptable cameras is tiny, you can easily destroy your camera with the wrong script and as any programmable device, your scriptable camera could catch a virus (http://www.youtube.com/watch?v=t6ZJ4cmc2o8)
Re:Camera Pi – DSLR Camera with Embedded Computer by protomyth on Sunday August 19, 2012 @01:23PM (#4404586)
This is Stanford's take on what can be done if you could fully program the computer in your camera and it had the sensors of a smartphone: http://graphics.stanford.edu/projects/camera-2.0/
Re:Camera Pi – DSLR Camera with Embedded Computer by PStamatiou on Sunday August 19, 2012 @05:14AM (#4403630)
As a hobbyist photographer this definitely sounds interesting in terms of allowing more control over the camera (especially automated uses, build your own timelapse, get past the 30s long exposure instead of having to buy a $150 canon timer remote, et cetera). But doing anything with image manipulation and transfer (maybe there's a reason Eye-fi hasn't moved into the DSLR space -- no CF version, only Class 6 speeds) seems like a daunting task for the pi..

For those more familiar with the Raspberry Pi, does it actually have enough performance to move big RAW files around? A 5D3 will output ~30MB RAWs and in a shoot you may end up with 500+ of them. Having a Pi transfer/move/adjust them sounds like a slog.

Re:Camera Pi – DSLR Camera with Embedded Computer by sliverstorm on Sunday August 19, 2012 @05:48AM (#4403678)
The Pi does about 10MB/s over the network, I believe.

As for image manipulation, sadly, the Pi is fairly fast by embedded standards, but running general-purpose software on a full-blown OS takes a lot away.

For comparison, the original Xbox used an x86 of the same clock speed.

Re:Camera Pi – DSLR Camera with Embedded Computer by archivator on Sunday August 19, 2012 @09:27AM (#4403917)
> running general-purpose software on a full-blown OS takes a lot away

Which is why we any predefined image manipulation should avoid the ARM core and jump straight to the rather powerful GPU. I think it even supports OpenCL, so there should be software out there that could work with it.

Re:Camera Pi – DSLR Camera with Embedded Computer by sitkack on Sunday August 19, 2012 @06:27PM (#4405476)
The GPU on the Pi can't/won't support OpenCL. That doesn't stop one from writing a GPGPU program in GLSL.
Re:Camera Pi – DSLR Camera with Embedded Computer by polshaw on Sunday August 19, 2012 @01:14PM (#4404564)

    >For comparison, the original Xbox used an x86 of the same clock speed
which is fairly useless as a point of comparison, as not only is it the completely different arm architecture, but it is also Arm V6 (arm11), whereas even our smartphones have been arm v7 (cortex A8, A9, A15) for the last couple of years. If i had to equate it to an x86 clock speed, i'd say 400mhz was possibly a fraction generous.
Re:Camera Pi – DSLR Camera with Embedded Computer by sliverstorm on Sunday August 19, 2012 @11:07PM (#4406098)
Sure, they aren't the same, but they ought to be in the same ballpark.
Re:Camera Pi – DSLR Camera with Embedded Computer by fungi on Sunday August 19, 2012 @07:12AM (#4403768)
Re:Camera Pi – DSLR Camera with Embedded Computer by danboarder on Sunday August 19, 2012 @03:04PM (#4404821)
This could be really great if they release an API to interact with the camera hardware. The article linked above takes a negative view, citing old Android versions and so on, but I think this is really a step in the right direction.
Re:Camera Pi – DSLR Camera with Embedded Computer by tkahn6 on Sunday August 19, 2012 @05:10AM (#4403621)
FYI you need a powered USB hub to attach that wifi dongle.

I also got one of those small Realtek RTL8188SU wifi dongles and found that it worked very poorly. I don't know if it was the particular vendor I got mine from or the drivers or that particular chipset, but the interface would just stop working if you tried to do anything data intensive or prolonged on it. SSH and VNC were unusable.

Re:Camera Pi – DSLR Camera with Embedded Computer by climberhunt on Sunday August 19, 2012 @03:33PM (#4404926)
I've had good success with the RTL8188SU. Direct onto the Raspberry Pi, no hub needed. Worked away through it, ssh'd in, transferring images, etc for several hours, didn't have to touch it once. It does get a tad warm, though, but not hot enough to worry about.
Re:Camera Pi – DSLR Camera with Embedded Computer by yossilac on Sunday August 19, 2012 @05:25AM (#4403649)
He does mention resetting the USB port after every image transfer, so maybe that solves that problem as well.
Re:Camera Pi – DSLR Camera with Embedded Computer by drivebyacct2 on Sunday August 19, 2012 @05:45AM (#4403674)
That's a pain in the neck.

I steam 720p video for hours on end over a IOGear GWU625 (Realtek RTL8191S) with no problems.

(Requires powered hub AFAIK, I don't think I tried it without though).

Re:Camera Pi – DSLR Camera with Embedded Computer by tkahn6 on Sunday August 19, 2012 @05:48AM (#4403679)
Yeah this is the one I got:

http://www.amazon.com/Airlink-compatible-Wireless-Mini-USB-A...

I suppose a thing that small and cheap is too good to be true.