"Just because the cartridge box has a US box plate doesn't mean that they're Yankees."
True.
"If they were Yankees their uniforms would be a much darker color in the photo."
Could be state militia uniforms. Some northern states used gray.