Viewing a response to: @dhimmel/re-steempytutorials-extracting-exif-meta-data-from-images-with-python-20180710t154813923z
Nice! I also found exifread very straightforward to work with. Do not know about scikit-image, did not have to look further as this worked quite well ;p I tried downloading images from an url in python and extracting the EXIF data from the downloaded image, but could not get this to work. For some reason the EXIF data got omitted, while downloading the image manually did make it work.
author | juliank |
---|---|
permlink | re-dhimmel-re-steempytutorials-extracting-exif-meta-data-from-images-with-python-20180710t155659964z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2018-07-10 15:57:00 |
last_update | 2018-07-10 15:57:00 |
depth | 2 |
children | 2 |
last_payout | 2018-07-17 15:57:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.831 HBD |
curator_payout_value | 0.084 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 389 |
author_reputation | 117,823,071,447,502 |
root_title | "Extracting EXIF (Meta)Data From Images With Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 64,178,303 |
net_rshares | 459,112,011,405 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dhimmel | 0 | 459,112,011,405 | 100% |
Hmm. I feel like it should be possible to extract EXIF metadata from an image URL. The `exifread.process_file` [source code](https://github.com/ianare/exif-py/blob/fd12746a9b000b192ebbbc056f0179cec0d51c7f/exifread/__init__.py#L19) seems to expect a bytestream file-like object. If you're using `requests`, did you try wrapping `response.content` in `io.BytesIO` before passing it to `exifread.process_file`?
author | dhimmel |
---|---|
permlink | re-juliank-re-dhimmel-re-steempytutorials-extracting-exif-meta-data-from-images-with-python-20180710t160808162z |
category | utopian-io |
json_metadata | {"community":"busy","app":"busy/2.5.1","format":"markdown","tags":["utopian-io"],"users":[],"links":["https://github.com/ianare/exif-py/blob/fd12746a9b000b192ebbbc056f0179cec0d51c7f/exifread/__init__.py#L19"],"image":[]} |
created | 2018-07-10 16:08:06 |
last_update | 2018-07-10 16:08:06 |
depth | 3 |
children | 1 |
last_payout | 2018-07-17 16:08:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 1.373 HBD |
curator_payout_value | 0.009 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 407 |
author_reputation | 39,788,295,023,882 |
root_title | "Extracting EXIF (Meta)Data From Images With Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 64,179,631 |
net_rshares | 692,317,423,956 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dhimmel | 0 | 467,359,532,568 | 100% | ||
juliank | 0 | 224,957,891,388 | 100% |
I did not, will look into at a later time. Thanks for the tip
author | juliank |
---|---|
permlink | re-dhimmel-re-juliank-re-dhimmel-re-steempytutorials-extracting-exif-meta-data-from-images-with-python-20180710t161240102z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2018-07-10 16:12:39 |
last_update | 2018-07-10 16:12:39 |
depth | 4 |
children | 0 |
last_payout | 2018-07-17 16:12:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 61 |
author_reputation | 117,823,071,447,502 |
root_title | "Extracting EXIF (Meta)Data From Images With Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 64,180,143 |
net_rshares | 8,247,521,162 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dhimmel | 0 | 8,247,521,162 | 2% |