Whoever, being a physician, surgeon, midwife, obstetrician, nurse, manager or person in charge of a maternity home or hospital, parent, relative, or person attending upon or assisting at the birth of an infant, violates any of the provisions of sections eight or ten of this article, shall be deemed guilty of a misdemeanor and, upon conviction thereof shall be fined not less than ten nor more than $50.