People Counting System Using OpenCV Algorithms and Edge Computing for Safety Management