Unique Camera ID Numbers needed for multi-camera rigs ? - General Discussion and Assistance - CHDK Forum

Unique Camera ID Numbers needed for multi-camera rigs ?

  • 2 Replies
  • 6575 Views
Unique Camera ID Numbers needed for multi-camera rigs ?
« on: 26 / June / 2014, 23:32:04 »
Advertisements
Maybe this has been discussed before but as I play with attaching all my cameras via USB at the same time using chdkptp,  I've come to notice that there is no way to simply attach a unique camera number to each camera.   

Or at least I haven't found a way.  Chdkptp understands USB id's but that seems to vary with the order you plug the camera in?

I think that is really needed is a simple numeric menu entry field that can be set in the CHDK menus - maybe in  Miscellaneous Stuff - that lets you set a number between zero and whatever.  The default would be zero.

In my latest ptp script I provide an @param user value and added a message interchange so that could be shared with the chdkptp.  This lets me have a unique display on each camera LCD :

Next steps are to embed that number in each image filename (on the host side) so that I know for sure what image came from what camera.  I'll probably embed the shot count too so that I can sort a huge directory of images by camera and shot sequence (or sort and store into sub folders using those indices).

I suppose it might also be nice to store the camera number in the EXIF comment field for the jpg or dng image.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 14126
Re: Unique Camera ID Numbers needed for multi-camera rigs ?
« Reply #1 on: 27 / June / 2014, 01:39:17 »
Modern cameras return a serial number over usb, so that would be an obvious choice. The serial numbers themselves aren't very user friendly, but it it be very easy to map them to numbers or names.

There is not (AFAIK) currently a way to get it easily on the camera itself, although it should be possible to add. (I'd like to add the ability to optionaly include the serial number in DNG exif at some point anyway)

For the old cameras that don't return a serial, my plan for multicam was just to write a file with a unique id on the camera. I don't see any particular reason it should be in the CHDK menu.

I've seen people use the owner name for book scanners, but you have to set that with canon tools or gphoto.
Don't forget what the H stands for.

Re: Unique Camera ID Numbers needed for multi-camera rigs ?
« Reply #2 on: 27 / June / 2014, 04:37:31 »
Modern cameras return a serial number over usb, so that would be an obvious choice. The serial numbers themselves aren't very user friendly, but it it be very easy to map them to numbers or names.
I think that I should have put the "use case" more clearly. 

Consider a rig of 40 cameras mounted on a long rail (or other frame). 

What you'd like to do during commissioning is power up each camera (with CHDK installed) sequentially once they are mounted, test them, and work through them in position order assigning numbers from 1 to 40.   

If I can do that at the camera (menu or @param ) during check out, it would be quick and easy.

Otherwise,  I need the USB network working so that I can run back and forth between my multicam rig and computer and use some sort of software that notices which USB device just came online and that lets me associate its serial number with a number between 1-40 on the PC.  Which then has to be send back to the camera so that it can display the number on the screen (see my screen shot above).  Swapping out a camera or dissassemblng / reassembling the rig becomes more difficult too.  And if you want to change PC's you need to be able to find and move the file that has the serial_number-to-camera_ID number.

If you've configured a networked system of small control devices you'll understand the challenge. But as I originally said, maybe there is an easier way to do this?

Quote
(I'd like to add the ability to optionaly include the serial number in DNG exif at some point anyway)
Semi-stealth digital watermark?

Quote
For the old cameras that don't return a serial, my plan for multicam was just to write a file with a unique id on the camera. I don't see any particular reason it should be in the CHDK menu.
Again, see my use case above. It's a question of ease of setup.  A simple menu item change to CHDK or an additional PC software tool.

Quote
I've seen people use the owner name for book scanners, but you have to set that with canon tools or gphoto.
Is that feature /  param value in every camera? Looking at the Canon menus, it seems to be only in my more recent and expensive cameras.
« Last Edit: 27 / June / 2014, 04:52:34 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal © 2008-2014, SimplePortal