I think you can do this by writing new file upload handler, then analyze image and store need information in caption attribute.
Look on kernel/classes/ezcontentuploadhandler.php for more info. You can place upload handler in extension, example you can find in http://ez.no/community/contribs/import_export/oasis_open_document_extension