Any person charged with an offense against any ordinance, rule or regulation of said county shall be informed by summons in writing served on him of the nature of the course of his accusation; shall have compulsory process for obtaining witnesses in his behalf; shall have a speedy trial before the judge of said magistrate court; shall be confronted with the witnesses against him and have the privilege of cross examination, as in the superior courts of this state; and shall have the privilege of defending himself, by counsel or by himself, or both, as to him shall seem proper. No one shall be fined or punished without full opportunity of being heard in his own defense.