After some searching I found out there 5 military Schools in Mass.:
Asheville Military School
Highland Military Academy, Worcester, Mass., 1856 to 1912 aka Highland Park Military Academy
Mitchell Military Boys School, Billerica, Mass., 1879 to 1943
New England Military Academy
Springside Military Institute
It could be another for military School or academy. How large is the picture, a CDV or a Cabinet card. Any backmarks might help. I found quite a few images of items from the Highland Military Academy. Below is identified as a Civil War Era Highland Military Academy Engineers Cap.
View attachment 386104