Abstract:
Method for detecting a surface flaw of an object using an electronic device includes requesting a detection device to control a camera unit to capture a current image of a test object placed on the detection device. The current image includes a sidewall image and a reflected image. The method obtains the current image, and detects whether the sidewall image has a surface flaw. When the sidewall image has a surface flaw, a rotation angle of the test object is determined based on the reflected image. The method obtains a standard sidewall image of a standard object stored in a storage device of the electronic device, based on the rotation angle, compares the sidewall image with the standard sidewall image, and determines and displays a position of the surface flaw on a sidewall of the test object based on the comparison.
Abstract:
A control system for elevators includes a capture apparatus, a processor and a storage apparatus. The capture apparatus captures images of each floor. The processor performs human detection on images of each floor to calculate the number of waiting passengers of each floor. The processor further calculates waiting time of each floor. The processor calculates weight of each floor based on the number of the waiting passengers and waiting time, and controls the elevator to the floor with maximum weight.