sightmachine / SimpleCV

The Open Source Framework for Machine Vision
http://simplecv.org
BSD 3-Clause "New" or "Revised" License
2.69k stars 798 forks source link

Unable to loop through images when using browser display #617

Open ghost opened 10 years ago

ghost commented 10 years ago

When I loop through images and sequentially call show(type="browser") an error is raised implying that the address is already taken (The port is already in use)

[Errno 98] Address already in use

Instead should not the desired behaviour be to replace the old image with the current one ?

To Replicate:

img = Image('lenna')
for i in range(5):
    img.show(type="browser")
sksavant commented 10 years ago

Could you check the fix in the pull request referenced and see if works.

ghost commented 10 years ago

Checked it. Works good :+1: