Problem: What are the most important words?
Multiple orange train engines on tracks with trees on each side.
Answer: engine, side, tree

Problem: What are the most important words?
a woman walks passed statues of the kings of knowledge at the exhibition
Answer: pass, statue, walk

Problem: What are the most important words?
man in library pulling book off a shelf
Answer:
book, pull, shelf