Hookworm is diagnosed by examining a stool specimen. Eggs will be seen in a person infected with the adult worm. Sometimes adult worms may be found in the person's stool or vomit. Chest x-rays may reveal signs of the migration into the lungs. A complete blood count, or CBC, may show anemia.