Example #1
0
def update_image_tag(rawTags,userId,image_name):
                key_words = rawTags.split(' ')
                print('key_words:',key_words)
                tags = Utils.get_meaningful_keywords(key_words)
                print('tags:',tags)
                MongoHelper.extend_tags_in_existimage(userId,image_name,tags)
                
    
         
      
# if __name__ == "__main__":
#     
Example #2
0
def update_image_tag(rawTags, userId, image_name):
    key_words = rawTags.split(" ")
    print("key_words:", key_words)
    tags = get_meaningful_keywords(key_words)
    print("tags:", tags)
    MongoHelper.extend_tags_in_existimage(userId, image_name, tags)
Example #3
0
def update_image_tag(rawTags, userId, image_name):
    key_words = rawTags.split(' ')
    print('key_words:', key_words)
    tags = Utils.get_meaningful_keywords(key_words)
    print('tags:', tags)
    MongoHelper.extend_tags_in_existimage(userId, image_name, tags)