(a) It shall be unlawful for any person to allow a female dog, when in breeding season, to run loose on the public streets, roads, highways and other public places within the incorporated area of the county. (b) Failure to comply with this section shall be unlawful and shall be punished as hereinafter provided.