SthPhoenix

Results 136 comments of SthPhoenix
trafficstars

Addition to previous post: looks like in my case of unmodified pics from camera they were always horizontal by default, and opencv just handled rotation by itself. Details [here](https://github.com/JohannesBuchner/imagehash/issues/53)

Yes, it seems so ) I have tried saving image in Adobe RGB without rotation, and it gives a distance of zero with a slightly edited pic in sRGB. Looks...

OpenCV might be a bit overkill, especially considering installation harder than PIL ) I think a code like this ([SO post](http://stackoverflow.com/a/6218425/6749501)): ``` import Image, ExifTags try : image=Image.open(os.path.join(path, fileName)) for...

I think I do ) Sure, I'll try to figure out how to implement this )

@rhsimplex, could you try generating signature for [image](https://cloud.githubusercontent.com/assets/17834919/25771654/4aa9732c-3260-11e7-8370-8fcc62418677.JPG) I posted in **imagehash** issue? For some reason if I am using `gis.generate_signature('path/to/image.jpg')` I get a weird error: ``` Traceback (most recent...

This image was taken by Nikon D5300, I have tested other images taken by it, same result. Interestingly, though, NEF(RAW) version of this image works fine

Trying a dirty fix like: ``` if len(image.shape) 0.], /home/SthPhoenix/codes/ImSearch/image_match/goldberg.py:575: RuntimeWarning: invalid value encountered in less negative_cutoffs = np.percentile(difference_array[difference_array < 0.], /home/SthPhoenix/codes/ImSearch/image_match/goldberg.py:581: RuntimeWarning: invalid value encountered in greater_equal (difference_array =...

Also interestingly enough, arrays of `image[0]` of original image, and `image` of it saved in photoshop differs drastically: In first case: ``` [[[ 42 43 45] [ 40 41 43]...

BTW, are there any specific reasons to use `skimage.imread` in ``` elif type(image_or_path) is str: image = imread(image_or_path, as_grey=True) ``` beside it accepting urls as parameter?

Hi! I haven't tested it, it should work but you might need to modify base image and possibly compile some libs from source, for example I recall Numba won't install...