Python Implementation For Connected Components Labeling For Arrays Creates Wrong Results Stack

Python Implementation For Connected Components Labeling For Arrays Creates Wrong Results Stack