Popular recipes tagged "mouse" but not "vision"http://code.activestate.com/recipes/tags/mouse-vision/2012-06-26T18:08:25-07:00ActiveState Code RecipesClick counter for Windows (Python) 2012-06-26T18:08:25-07:00Krystian Rosińskihttp://code.activestate.com/recipes/users/4182314/http://code.activestate.com/recipes/578176-click-counter-for-windows/ <p style="color: grey"> Python recipe 578176 by <a href="/recipes/users/4182314/">Krystian Rosiński</a> (<a href="/recipes/tags/mouse/">mouse</a>, <a href="/recipes/tags/python/">python</a>). </p> <p>Run script from cmd.</p> mouse click to crop many large photos quickly [Python, PIL, pygame] (Python) 2012-01-09T03:18:01-08:00Elliot Hallmarkhttp://code.activestate.com/recipes/users/4180468/http://code.activestate.com/recipes/578005-mouse-click-to-crop-many-large-photos-quickly-pyth/ <p style="color: grey"> Python recipe 578005 by <a href="/recipes/users/4180468/">Elliot Hallmark</a> (<a href="/recipes/tags/crop/">crop</a>, <a href="/recipes/tags/images/">images</a>, <a href="/recipes/tags/jpeg/">jpeg</a>, <a href="/recipes/tags/mouse/">mouse</a>, <a href="/recipes/tags/pil/">pil</a>, <a href="/recipes/tags/png/">png</a>). </p> <p>Waste no mouse clicks making multiple crops on many image files. Through pygame interface with pan, zoom and next/previous image. Saves files at new resolution and serialized names in a seperate folder. the mainloop() and helper functions are easy to reuse, but I include a cruddy text based interface if needed. if not, comment out most of __main__().</p> <p>Requires PIL (python imaging library) and pygame.</p>