Any person that shall violate this chapter or do any act or thing prohibited, or refuse or fail to do any act or thing required to be done, or refuse or fail to comply with an order from the Zoning Officer or an order of the Planning Board, shall, upon conviction thereof before any judicial officer authorized to hear and determine the matter, forfeit and pay such fine, not exceeding the sum of $2,000, as shall be imposed by such judicial officer in his discretion, or, if the party so convicted is a natural person, be imprisoned for a term not exceeding 90 days, or be subject to a period of community service not exceeding 90 days, as such judicial officer, in his discretion, shall determine; provided, however, that if the party so convicted is a natural person, such judicial officer shall have the power, in his discretion, to impose sentence of both fine and imprisonment and/or community service, not exceeding the maximum limits hereinbefore fixed. Whenever such person shall have been officially notified by the Zoning Officer or by service of a summons in a prosecution or in any other official manner that he is committing a violation, each day's continuance of such violation after such notification shall constitute a separate offense, punishable by a like fine or penalty.