What software are you running? It is a pretty simple task to write software to do what you are asking, but adapting it to other softwares can take a bit of work. - this part would effect the price.
take care,
lee
P.S., you know this type of software can inadvertently block innocent images of people in bathing suits and what not.