Keyword Assignment to Images Using Sliding Windows