Electronic device with 3D camera assembly

The invention provides an electronic device with a 3D camera assembly. The electronic device comprises a 3D camera unit for obtaining a to-be-tested image sequence, with depth information, of hands of a user, a contour detecting unit for detecting the contours of the hands of the user, a feature point sequence determining unit for determining the to-be-tested feature point sequence of each hand, an action recognizing unit for determining the matching sequence of the to-be-tested feature point sequence of each hand in a plurality of preset feature point sequences so as to determine the action name and position of the hand, a gesture determining unit for selecting a gesture matched with the action name and position of each hand of the user from a preset gesture list to serve as the gesture recognizing result of the to-be-tested image sequence, an instruction determining unit for determining an operation instruction corresponding to the recognized gesture, and an executing unit for conducting corresponding operation on a related device. According to the technology, the gestures of the user can be accurately recognized in the man-machine interaction process, recognition accuracy is high, and recognition speed is high.