color detection and change color

Aswani Kumar aswin.1231 at gmail.com
Wed Mar 19 14:05:13 EDT 2014


Thank you neil,

but i don't have control on the images, i need to do this apply for 
existing images in inventory of a apparel shopping site. Is there any way 
to do this? i can do prefer hard way too...

On Sunday, March 16, 2014 5:35:45 AM UTC+5:30, Neil wrote:
>
> Do you have control over the photos? If so, here is a simple approach: 
> have the model wear a green shirt, as this will make shirt detection and 
> fabric replacement much easier. Then the basic idea is to (1) convert the 
> image to a color space that separates color (hue) from intensity and 
> saturation (skimage can do this), (2) create a mask that identifies "green" 
> pixels in the image (this will be a range of values in the hue dimension), 
> (3) replace the green pixels with your fabric pattern.
>
> I hope that helps!
>
> Neil
>
>
> On Saturday, 15 March 2014 11:42:59 UTC, Aswani Kumar wrote:
>>
>> Hi,
>>
>> i am a python/django developer.
>>
>> i am looking for a solution to replace fabric in an image, So the 
>> solution should detect shirt and change color based on choice.
>>
>> Is it possible to do that using scikit? if yes, please give me any little 
>> idea to help straight to the point.
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20140319/76a6e93a/attachment.html>


More information about the scikit-image mailing list