Patent ID: 9489934
Filing Date: 2016-11-08
CPC Classification: A61B,G06F,G06K,G10H

Claim Text:
1. A method for selecting music based on face recognition, adapted to a music selecting system comprising an image capturing device, an image processing device, a control device, a playing device and a database, the method for selecting music based on face recognition comprising: accessing, by the control device, the database to retrieve a plurality of song emotion coordinates corresponding to a plurality of songs; mapping, by the control device, the song emotion coordinates to an emotion coordinate graph; capturing, by the image capturing device, a human face image; recognizing, by the image processing device, an emotion state corresponding to the human face image, and transforming the emotion state to a current emotion coordinate; mapping, by the control device, the current emotion coordinate to the emotion coordinate graph; updating, by the control device, a song playlist according to a relative position between the current emotion coordinate and a target emotion coordinate, wherein the song playlist comprises a plurality of songs to be played that direct the current emotion coordinate to the target emotion coordinate; and playing, by the playing device, the plurality of songs of the updated song playlist, wherein the step of updating the song playlist according to the relative position between the current emotion coordinate and the target emotion coordinate comprises: defining, by the control device, a plurality of reference emotion coordinates on a first connection line, wherein the first connection line is connected between the current emotion coordinate and the target emotion coordinate, the plurality of reference emotion coordinates are different from the current emotion coordinate and the target emotion coordinate; wherein the step of defining the reference emotion coordinates on the first connection line comprises: characterizing, by the control device, an nth reference emotion coordinate in the reference emotion coordinates as: wherein NR is a total number of the songs to be played, n is a positive integer between 1 and NR, dTS is a distance between the emotion coordinate and the target emotion coordinate, θTS is an included angle between a horizontal axis of the emotion coordinate graph and the first connection line, A