This is also done using an endoscope through which a special forceps is passed into the food pipe and stomach where foreign body is impacted.
Children who accidentally swallow foreign bodies like coins, toys, whistles and elderly people who accidentally swallow things like dentures are taken up for this procedure.