Simulate-Correct-ColorBlindness icon indicating copy to clipboard operation
Simulate-Correct-ColorBlindness copied to clipboard

silently fails for windows file paths

Open jonoconway opened this issue 4 years ago • 1 comments

great package. I encountered a problem where it silently failed when I used windows style file paths instead of linux. I was running from Pycharm terminal on windows machine.

The first time I ran it appeared to work but did not produce any images.

(Simulate-Correct-ColorBlindness) C:\Users\conwayjp\Documents\code\Simulate-Correct-ColorBlindness>python recolor.py -input "C:\Users\conwayjp\test.png" -output "C:\Users\conwayjp" -run_all
ReColorLib completed running! Check output images in C:\Users\conwayjp

When it was run with linux style path names it worked just fine.

(Simulate-Correct-ColorBlindness) C:\Users\conwayjp\Documents\code\Simulate-Correct-ColorBlindness>python recolor.py -input "C:/Users/conwayjp/test.png" -output "C:/Users/conwayjp" -run_all
ReColorLib completed running! Check output images in C:/Users/conwayjp

also, might be worth noting the name of the opencv package on conda is py-opencv, for newbies.

jonoconway avatar Aug 29 '21 23:08 jonoconway

Hi! Thank you! Unfortunately I did not have a windows machine back then to test on it. I do have it now so will try to get a fix in. Thanks for pointing it out!

tsarjak avatar Dec 11 '22 12:12 tsarjak