The obligation of complying with the provisions of this article shall be upon the owner of the property. Failure to comply shall constitute a violation of this article. Upon such violation, notice shall be given the owner of the property, or his agent, specifying the nature of such violation, and requiring that such violation be remedied and brought into compliance within ten days after receipt of such notice. Failure to comply within the ten days shall be punishable as provided in this article.