Uploading a Photograph

  • Thread starter Thread starter Simon Harris
  • Start date Start date
S

Simon Harris

Hi All,

I will shortly need to build an app, which will need the ability to upload a
photograph and tie it a record. (User database). This much I can do.

As this will be used on a public ticket gate, it needs to work as fast as
possible, the steps would be to take the photo, then download it from the
camera, then upload to the intranet application.

Just wondering if there is anyway I can interface direct with the camera,
may be software that can poll the camera and automatically download the
single photo as it is produced and associate it with the currently opened
record, or even download it and then prompt the staff member which record to
associate it with. (So the process would need to be create the record, then
take the photo)

I appreciate that this is probably beyond a web app...and that some sort of
windows app would be required, so maybe outside the scope of this NG,
although perhaps one of you has experience with this sort of thing?

Any suggestions will be appreciated.

Thanks!
Simon.
 
Just my two penny worth, The camera would probably expose it's disk when
connected to the computer (all usb cameras I have seen do this), therefore
if you wanted something dynamic you could write a .net service which checks
for the existance of said drive and scan for files and perform the upload.
Should be relatively straight forward.

Br,

Mark.
 
Ahhh...yes, that makes sense, poll for that specific drive (Could be in an
..ini file or similar), upload the files, then delete em.

I like it...think you've solved my problem, sounds good as almost all
cameras work that way now.

THANKS!
 
Hi Simon, glad to help. Forget the ini file though, best to use a dotnet
config file. You probably meant that anyway, but just in case.....

p.s. best to use one the frameworks built in methods for moving/ copying
etc. Dont forget to handle the event that the copy or move didn't work, cos
you dont want to delete them in that event.

Br,

Mark.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top