CN107992591A - People search method and device, electronic equipment and computer-readable recording medium - Google Patents
People search method and device, electronic equipment and computer-readable recording medium Download PDFInfo
- Publication number
- CN107992591A CN107992591A CN201711310435.6A CN201711310435A CN107992591A CN 107992591 A CN107992591 A CN 107992591A CN 201711310435 A CN201711310435 A CN 201711310435A CN 107992591 A CN107992591 A CN 107992591A
- Authority
- CN
- China
- Prior art keywords
- target person
- picture
- pictures
- filter condition
- candidate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000001914 filtration Methods 0.000 claims abstract description 9
- 239000012141 concentrate Substances 0.000 claims 7
- 238000000605 extraction Methods 0.000 claims 1
- 230000001815 facial effect Effects 0.000 abstract description 77
- 230000000694 effects Effects 0.000 abstract description 75
- 238000004590 computer program Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 7
- 239000003086 colorant Substances 0.000 description 6
- 239000000284 extract Substances 0.000 description 5
- 238000002360 preparation method Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 241001465754 Metazoa Species 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
- G06F16/5838—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using colour
Landscapes
- Engineering & Computer Science (AREA)
- Library & Information Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明提供一种人物搜索方法及装置、电子设备和计算机可读存储介质。所述人物搜索方法包括:获取目标人物的图片;识别所述目标人物的图片中所述目标人物的人脸特征及穿着特征;获取第一过滤条件;根据所述目标人物的人脸特征及穿着特征,及所述第一过滤条件从图片数据集中获取第一图片集;获取第二过滤条件;根据所述第二过滤条件从所述第一图片集中获取第二图片集;根据所述第二图片集所包含图片的数据确定所述目标人物的活动轨迹。本发明能通过多重过滤条件,并结合所述目标人物的人脸特征及穿着特征,快速、准确地确定所述目标人物的活动轨迹,给用户带来更好的使用体验。
The invention provides a person search method and device, electronic equipment and a computer-readable storage medium. The person search method includes: obtaining a picture of the target person; identifying the face features and clothing features of the target person in the picture of the target person; obtaining a first filter condition; feature, and the first filter condition is to obtain a first picture set from the picture data set; to obtain a second filter condition; to obtain a second picture set from the first picture set according to the second filter condition; to obtain a second picture set from the first picture set according to the second filter condition; The data of the pictures included in the picture collection determines the activity track of the target person. The present invention can quickly and accurately determine the activity track of the target person through multiple filtering conditions and in combination with the facial features and clothing features of the target person, so as to bring better user experience to the user.
Description
技术领域technical field
本发明涉及智能搜索技术领域,尤其涉及一种人物搜索方法及装置、电子设备和计算机可读存储介质。The present invention relates to the technical field of intelligent search, in particular to a person search method and device, electronic equipment, and a computer-readable storage medium.
背景技术Background technique
现有技术方案中,人脸识别技术已经相对成熟,被广泛的应用于各种人物搜索场景中。Among the existing technical solutions, face recognition technology has been relatively mature, and is widely used in various person search scenarios.
但是,在特定搜索情境下,单纯的依靠人脸识别技术进行人物的搜索时,仅以人脸特征作为搜索条件,搜索范围过大,往往无法满足用户的需求。另外,又由于人脸识别技术要识别出人脸的很多细节,识别过程比较繁琐,不仅增加了服务器的工作量,而且耗时较长。因此,单纯的依靠人脸识别技术进行人物的搜索已经无法满足用户的需求。However, in a specific search situation, when simply relying on face recognition technology to search for people, only face features are used as search conditions, and the search range is too large, which often cannot meet the needs of users. In addition, because the face recognition technology needs to recognize many details of the face, the recognition process is cumbersome, which not only increases the workload of the server, but also takes a long time. Therefore, simply relying on face recognition technology to search for people has been unable to meet the needs of users.
发明内容Contents of the invention
鉴于以上内容,有必要提供一种人物搜索方法及装置、电子设备和计算机可读存储介质,能通过多重过滤条件,并结合所述目标人物的人脸特征及穿着特征,快速、准确地确定所述目标人物的活动轨迹,给用户带来更好的使用体验。In view of the above, it is necessary to provide a person search method and device, electronic equipment and computer-readable storage medium, which can quickly and accurately determine the target person through multiple filtering conditions and in combination with the facial features and clothing features of the target person. Describe the activity trajectory of the target person to bring a better user experience to the user.
一种人物搜索方法,所述方法包括:A person search method, the method comprising:
获取目标人物的图片;Obtain a picture of the target person;
识别所述目标人物的图片中所述目标人物的人脸特征及穿着特征;Recognizing the facial features and clothing features of the target person in the picture of the target person;
获取第一过滤条件;Get the first filter condition;
根据所述目标人物的人脸特征及穿着特征,及所述第一过滤条件从图片数据集中获取第一图片集;Obtaining a first picture set from the picture data set according to the face features and clothing features of the target person, and the first filter condition;
获取第二过滤条件;Get the second filter condition;
根据所述第二过滤条件从所述第一图片集中获取第二图片集;Acquiring a second picture set from the first picture set according to the second filter condition;
根据所述第二图片集所包含图片的数据确定所述目标人物的活动轨迹。The activity track of the target person is determined according to the data of the pictures included in the second picture set.
根据本发明优选实施例,所述识别所述目标人物的图片中所述目标人物的穿着特征包括:According to a preferred embodiment of the present invention, the identification of the wearing characteristics of the target person in the picture of the target person includes:
从所述目标人物的图片中确定服装区域,对所述服装区域内服装的特征进行提取,所述服装的特征包括服装的款式、颜色及颜色比例,将提取的特征与预先训练的服装特征模型中的相应特征进行匹配,以确定所述目标人物的包括所述款式、颜色及颜色比例信息的穿着特征。Determine the clothing area from the picture of the target person, and extract the features of the clothing in the clothing area. The features of the clothing include the style, color and color ratio of the clothing, and combine the extracted features with the pre-trained clothing feature model. Match the corresponding features of the target person to determine the wearing features of the target person including the style, color and color ratio information.
根据本发明优选实施例,所述根据所述目标人物的人脸特征及穿着特征,及所述第一过滤条件从图片数据集中获取第一图片集包括以下一种或者多种的组合:According to a preferred embodiment of the present invention, the acquisition of the first picture set from the picture data set according to the facial features and clothing features of the target person and the first filtering condition includes one or more combinations of the following:
根据所述第一过滤条件中包含的第一指定时间段,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定时间段信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征;及/或According to the first designated time period contained in the first filter condition, search in the picture data set and determine a first candidate picture set, the pictures in the first candidate picture set have the information of the first designated time period ; According to the facial features of the target person, determine the first picture set from the first candidate picture set, and each face in the first picture set has the facial features; and/or
根据所述目标人物的穿着特征及所述第一过滤条件中包含的第一指定服装颜色,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定服装颜色信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征;及/或According to the wearing characteristics of the target person and the first designated clothing color included in the first filter condition, search in the picture data set, and determine a first candidate picture set, the pictures in the first candidate picture set have The first designated clothing color information; according to the facial features of the target person, determine the first picture set from the first candidate picture set, each face in the first picture set has the facial features; and/or
根据所述目标人物的穿着特征及所述第一过滤条件中包含的第一指定服装颜色比例,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定服装颜色比例信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征;及/或According to the wearing characteristics of the target person and the first designated clothing color ratio contained in the first filter condition, search in the picture data set, and determine the first candidate picture set, the pictures in the first candidate picture set Having the first specified clothing color ratio information; according to the facial features of the target person, determining the first picture set from the first candidate picture set, each face in the first picture set has the facial features; and/or
根据所述目标人物的穿着特征及所述第一过滤条件中包含的第一指定服装款式,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定服装款式信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征;及/或According to the wearing characteristics of the target person and the first designated clothing style contained in the first filter condition, search in the picture data set, and determine a first candidate picture set, the pictures in the first candidate picture set have The first designated clothing style information; according to the face features of the target person, determine the first picture set from the first candidate picture set, each face in the first picture set has the facial features; and/or
根据所述第一过滤条件中包含的第一指定区域,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定区域信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征。According to the first designated area contained in the first filter condition, search in the picture data set, and determine a first candidate picture set, the pictures in the first candidate picture set have the information of the first designated area; according to For the facial features of the target person, the first picture set is determined from the first candidate picture set, and each face in the first picture set has the human face feature.
根据本发明优选实施例,所述根据所述第二过滤条件从所述第一图片集中获取第二图片集包括以下一种或者多种的组合:According to a preferred embodiment of the present invention, the acquiring the second picture set from the first picture set according to the second filter condition includes one or more combinations of the following:
将所述第一图片集中符合所述第二过滤条件中第二指定时间段内的图片确定为所述第二图片集,所述第二图片集中的图片具有所述第二指定时间段信息,所述第一指定时间段包含所述第二指定时间段;及/或Determining the pictures in the first picture set that meet the second filter condition within a second specified time period as the second picture set, and the pictures in the second picture set have information about the second specified time period, said first specified time period includes said second specified time period; and/or
将所述第一图片集中符合所述第二过滤条件中第二指定区域内的图片确定为所述第二图片集,所述第二图片集中的图片具有所述第二指定区域信息,所述第一指定区域包含所述第二指定区域。Determining the pictures in the first picture set that meet the second filter condition in the second specified area as the second picture set, the pictures in the second picture set have the information of the second specified area, the The first specified area includes the second specified area.
根据本发明优选实施例,所述根据所述第二图片集所包含图片的数据确定所述目标人物的活动轨迹包括:According to a preferred embodiment of the present invention, the determining the activity track of the target person according to the data of the pictures contained in the second picture set includes:
获取所述第二图片集中每张图片对应的拍摄时间及拍摄地点;Obtain the shooting time and shooting location corresponding to each picture in the second picture set;
基于每张图片对应的拍摄时间,对所述第二图片集的图片进行排序,确定所述目标人物的活动轨迹;或sorting the pictures in the second picture set based on the shooting time corresponding to each picture, and determining the activity track of the target person; or
基于每张图片对应的拍摄地点,对所述第二图片集的图片进行分类,确定所述目标人物的活动轨迹。Classify the pictures in the second picture set based on the shooting location corresponding to each picture, and determine the activity track of the target person.
根据本发明优选实施例,所述方法还包括:According to a preferred embodiment of the present invention, the method further includes:
获取所述目标人物出现的最后位置;Obtain the last location where the target person appears;
确定所述目标人物在所述最后位置处所述目标人物的运动方向;determining a direction of movement of the target person at the final location;
根据所述目标人物的运动方向,预测所述目标人物的活动区域。According to the movement direction of the target person, the activity area of the target person is predicted.
根据本发明优选实施例,所述方法还包括:According to a preferred embodiment of the present invention, the method further includes:
实时获取预测的活动区域中的摄像装置抓拍的图片;Real-time acquisition of pictures captured by the camera device in the predicted activity area;
从所述抓拍的图片中识别所述目标人物,并跟踪所述目标人物;identifying the target person from the captured picture, and tracking the target person;
当所述目标人物为危险人物时,将所述目标人物的活动轨迹及所述目标人物对应的所述预测的活动区域发送至至少一个用户设备。When the target person is a dangerous person, sending the activity track of the target person and the predicted activity area corresponding to the target person to at least one user equipment.
一种人物搜索装置,所述装置包括:A person search device, said device comprising:
获取单元,用于获取目标人物的图片;an acquisition unit, configured to acquire a picture of a target person;
识别单元,用于识别所述目标人物的图片中所述目标人物的人脸特征及穿着特征;An identification unit, configured to identify the facial features and clothing features of the target person in the picture of the target person;
所述获取单元,还用于获取第一过滤条件;The acquiring unit is further configured to acquire a first filter condition;
所述获取单元,还用于根据所述目标人物的人脸特征及穿着特征,及所述第一过滤条件从图片数据集中获取第一图片集;The acquiring unit is further configured to acquire a first picture set from the picture data set according to the facial features and clothing features of the target person, and the first filter condition;
所述获取单元,还用于获取第二过滤条件;The obtaining unit is also used to obtain a second filter condition;
所述获取单元,还用于根据所述第二过滤条件从所述第一图片集中获取第二图片集;The acquisition unit is further configured to acquire a second picture set from the first picture set according to the second filter condition;
确定单元,用于根据所述第二图片集所包含图片的数据确定所述目标人物的活动轨迹。A determining unit, configured to determine the activity track of the target person according to the data of the pictures included in the second picture set.
根据本发明优选实施例,所述识别单元识别所述目标人物的图片中所述目标人物的穿着特征包括:According to a preferred embodiment of the present invention, the identifying unit identifying the wearing characteristics of the target person in the picture of the target person includes:
从所述目标人物的图片中确定服装区域,对所述服装区域内服装的特征进行提取,所述服装的特征包括服装的款式、颜色及颜色比例,将提取的特征与预先训练的服装特征模型中的相应特征进行匹配,以确定所述目标人物的包括所述款式、颜色及颜色比例信息的穿着特征。Determine the clothing area from the picture of the target person, and extract the features of the clothing in the clothing area. The features of the clothing include the style, color and color ratio of the clothing, and combine the extracted features with the pre-trained clothing feature model. Match the corresponding features of the target person to determine the wearing features of the target person including the style, color and color ratio information.
根据本发明优选实施例,所述获取单元根据所述目标人物的人脸特征及穿着特征,及所述第一过滤条件从图片数据集中获取第一图片集包括以下一种或者多种的组合:According to a preferred embodiment of the present invention, the acquisition unit acquires the first picture set from the picture data set according to the facial features and clothing features of the target person and the first filter condition, including one or more of the following combinations:
根据所述第一过滤条件中包含的第一指定时间段,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定时间段信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征;及/或According to the first designated time period contained in the first filter condition, search in the picture data set and determine a first candidate picture set, the pictures in the first candidate picture set have the information of the first designated time period ; According to the facial features of the target person, determine the first picture set from the first candidate picture set, and each face in the first picture set has the facial features; and/or
根据所述目标人物的穿着特征及所述第一过滤条件中包含的第一指定服装颜色,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定服装颜色信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征;及/或According to the wearing characteristics of the target person and the first designated clothing color included in the first filter condition, search in the picture data set, and determine a first candidate picture set, the pictures in the first candidate picture set have The first designated clothing color information; according to the facial features of the target person, determine the first picture set from the first candidate picture set, each face in the first picture set has the facial features; and/or
根据所述目标人物的穿着特征及所述第一过滤条件中包含的第一指定服装颜色比例,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定服装颜色比例信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征;及/或According to the wearing characteristics of the target person and the first designated clothing color ratio contained in the first filter condition, search in the picture data set, and determine the first candidate picture set, the pictures in the first candidate picture set Having the first specified clothing color ratio information; according to the facial features of the target person, determining the first picture set from the first candidate picture set, each face in the first picture set has the facial features; and/or
根据所述目标人物的穿着特征及所述第一过滤条件中包含的第一指定服装款式,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定服装款式信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征;及/或According to the wearing characteristics of the target person and the first designated clothing style contained in the first filter condition, search in the picture data set, and determine a first candidate picture set, the pictures in the first candidate picture set have The first designated clothing style information; according to the face features of the target person, determine the first picture set from the first candidate picture set, each face in the first picture set has the facial features; and/or
根据所述第一过滤条件中包含的第一指定区域,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定区域信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征。According to the first designated area contained in the first filter condition, search in the picture data set, and determine a first candidate picture set, the pictures in the first candidate picture set have the information of the first designated area; according to For the facial features of the target person, the first picture set is determined from the first candidate picture set, and each face in the first picture set has the human face feature.
根据本发明优选实施例,所述获取单元根据所述第二过滤条件从所述第一图片集中获取第二图片集包括以下一种或者多种的组合:According to a preferred embodiment of the present invention, the acquiring unit acquiring the second picture set from the first picture set according to the second filter condition includes one or more of the following combinations:
将所述第一图片集中符合所述第二过滤条件中第二指定时间段内的图片确定为所述第二图片集,所述第二图片集中的图片具有所述第二指定时间段信息,所述第一指定时间段包含所述第二指定时间段;及/或Determining the pictures in the first picture set that meet the second filter condition within a second specified time period as the second picture set, and the pictures in the second picture set have information about the second specified time period, said first specified time period includes said second specified time period; and/or
将所述第一图片集中符合所述第二过滤条件中第二指定区域内的图片确定为所述第二图片集,所述第二图片集中的图片具有所述第二指定区域信息,所述第一指定区域包含所述第二指定区域。Determining the pictures in the first picture set that meet the second filter condition in the second specified area as the second picture set, the pictures in the second picture set have the information of the second specified area, the The first specified area includes the second specified area.
根据本发明优选实施例,所述确定单元具体用于:According to a preferred embodiment of the present invention, the determining unit is specifically configured to:
获取所述第二图片集中每张图片对应的拍摄时间及拍摄地点;Obtain the shooting time and shooting location corresponding to each picture in the second picture set;
基于每张图片对应的拍摄时间,对所述第二图片集的图片进行排序,确定所述目标人物的活动轨迹;或sorting the pictures in the second picture set based on the shooting time corresponding to each picture, and determining the activity track of the target person; or
基于每张图片对应的拍摄地点,对所述第二图片集的图片进行分类,确定所述目标人物的活动轨迹。Classify the pictures in the second picture set based on the shooting location corresponding to each picture, and determine the activity track of the target person.
根据本发明优选实施例,所述获取单元,还用于获取所述目标人物出现的最后位置;According to a preferred embodiment of the present invention, the acquiring unit is further configured to acquire the last location where the target person appears;
所述确定单元,还用于确定所述目标人物在所述最后位置处所述目标人物的运动方向;The determining unit is further configured to determine the movement direction of the target person at the final position;
所述装置还包括:The device also includes:
预测单元,用于根据所述目标人物的运动方向,预测所述目标人物的活动区域。The prediction unit is configured to predict the activity area of the target person according to the movement direction of the target person.
根据本发明优选实施例,所述获取单元,还用于实时获取预测的活动区域中的摄像装置抓拍的图片;According to a preferred embodiment of the present invention, the acquiring unit is further configured to acquire in real time the pictures captured by the camera device in the predicted activity area;
所述装置还包括:The device also includes:
跟踪单元,用于从所述抓拍的图片中识别所述目标人物,并跟踪所述目标人物;a tracking unit, configured to identify the target person from the snapped pictures, and track the target person;
发送单元,用于当所述目标人物为危险人物时,将所述目标人物的活动轨迹及所述目标人物对应的所述预测的活动区域发送至至少一个用户设备。A sending unit, configured to send the target person's activity trajectory and the predicted activity area corresponding to the target person to at least one user equipment when the target person is a dangerous person.
一种电子设备,所述电子设备包括:An electronic device comprising:
存储器,存储至少一个指令;及a memory storing at least one instruction; and
处理器,执行所述存储器中存储的指令以实现所述人物搜索方法。A processor, executing instructions stored in the memory to implement the person searching method.
一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一个指令,所述至少一个指令被电子设备中的处理器执行以实现所述人物搜索方法。A computer-readable storage medium, at least one instruction is stored in the computer-readable storage medium, and the at least one instruction is executed by a processor in an electronic device to implement the person searching method.
由以上技术方案可以看出,本发明获取目标人物的图片;识别所述目标人物的图片中所述目标人物的人脸特征及穿着特征;获取第一过滤条件;根据所述目标人物的人脸特征及穿着特征,及所述第一过滤条件从图片数据集中获取第一图片集;获取第二过滤条件;根据所述第二过滤条件从所述第一图片集中获取第二图片集;根据所述第二图片集所包含图片的数据确定所述目标人物的活动轨迹。利用本发明能通过多重过滤条件,并结合所述目标人物的人脸特征及穿着特征,快速、准确地确定所述目标人物的活动轨迹,给用户带来更好的使用体验。As can be seen from the above technical solutions, the present invention obtains the picture of the target person; recognizes the facial features and clothing features of the target person in the picture of the target person; obtains the first filter condition; Features and wearing features, and the first filter condition is to obtain the first picture set from the picture data set; to obtain the second filter condition; to obtain the second picture set from the first picture set according to the second filter condition; to obtain the second picture set according to the said second filter condition The data of the pictures contained in the second picture set is used to determine the activity track of the target person. The present invention can quickly and accurately determine the activity track of the target person through multiple filtering conditions and in combination with the facial features and clothing features of the target person, thereby bringing better user experience to users.
附图说明Description of drawings
图1是本发明人物搜索方法的较佳实施例的应用环境示意图。Fig. 1 is a schematic diagram of an application environment of a preferred embodiment of the person search method of the present invention.
图2是本发明人物搜索方法的较佳实施例的流程图。Fig. 2 is a flowchart of a preferred embodiment of the person search method of the present invention.
图3是本发明人物搜索装置的较佳实施例的功能模块图。Fig. 3 is a functional block diagram of a preferred embodiment of the person search device of the present invention.
图4是本发明实现人物搜索方法的较佳实施例的电子设备的结构示意图。Fig. 4 is a schematic structural diagram of an electronic device implementing a preferred embodiment of a person search method according to the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案和优点更加清楚,下面结合附图和具体实施例对本发明进行详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
如图1所示,是本发明人物搜索方法的较佳实施例的应用环境示意图。电子设备1与摄像装置2相通信。所述摄像装置2用于拍摄视频图像。As shown in FIG. 1 , it is a schematic diagram of an application environment of a preferred embodiment of the person search method of the present invention. The electronic device 1 communicates with the imaging device 2 . The camera 2 is used for taking video images.
如图2所示,是本发明人物搜索方法的较佳实施例的流程图。根据不同的需求,该流程图中步骤的顺序可以改变,某些步骤可以省略。As shown in FIG. 2 , it is a flow chart of a preferred embodiment of the person search method of the present invention. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.
所述人物搜索方法应用于一个或者多个电子设备1中,所述电子设备1是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable Gate Array,FPGA)、数字处理器(Digital SignalProcessor,DSP)、嵌入式设备等。The person search method is applied to one or more electronic devices 1, and the electronic device 1 is a device capable of automatically performing numerical calculation and/or information processing according to preset or stored instructions, and its hardware includes but It is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.
所述电子设备1可以是任何一种可与用户进行人机交互的电子产品,例如,个人计算机、平板电脑、智能手机、个人数字助理(Personal Digital Assistant,PDA)、游戏机、交互式网络电视(Internet Protocol Television,IPTV)、智能式穿戴式设备等。The electronic device 1 can be any electronic product capable of man-machine interaction with the user, for example, a personal computer, a tablet computer, a smart phone, a personal digital assistant (Personal Digital Assistant, PDA), a game console, an interactive Internet TV (Internet Protocol Television, IPTV), smart wearable devices, etc.
所述电子设备1还可以包括网络设备和/或用户设备。其中,所述网络设备包括,但不限于单个网络服务器、多个网络服务器组成的服务器组或基于云计算(CloudComputing)的由大量主机或网络服务器构成的云。The electronic device 1 may also include network equipment and/or user equipment. Wherein, the network device includes, but is not limited to, a single network server, a server group composed of multiple network servers, or a cloud composed of a large number of hosts or network servers based on cloud computing (Cloud Computing).
所述电子设备1所处的网络包括但不限于互联网、广域网、城域网、局域网、虚拟专用网络(Virtual Private Network,VPN)等。The network where the electronic device 1 is located includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN) and the like.
S10,所述电子设备1获取目标人物的图片。S10, the electronic device 1 acquires a picture of a target person.
在本发明的至少一个实施例中,所述电子设备1获取目标人物的图片包括,但不限于以下一种或者多种的组合:In at least one embodiment of the present invention, said electronic device 1 acquires a picture of a target person including, but not limited to, one or more of the following combinations:
(1)所述电子设备1接收上传的图片,并将上传的图片作为所述目标人物的图片。(1) The electronic device 1 receives the uploaded picture, and uses the uploaded picture as the picture of the target person.
在本发明的至少一个实施例中,所述电子设备1可以接收用户上传的图片,并将所述上传的图片作为所述目标人物的图片。In at least one embodiment of the present invention, the electronic device 1 may receive a picture uploaded by a user, and use the uploaded picture as the picture of the target person.
这样,所述电子设备1可以根据所述用户提供的需求进行目标人物的搜索工作,使搜索更加有针对性,而且通常情况下,在所述用户提供的图片中,所述目标人物的人物特征会显示的更加清晰,使所述电子设备1利用所述用户提供的图片进行人物的人脸特征及穿着特征的识别时,识别结果更加精确、可靠。In this way, the electronic device 1 can search for the target person according to the requirements provided by the user, making the search more targeted, and usually, in the pictures provided by the user, the characteristics of the target person The display will be clearer, so that when the electronic device 1 uses the picture provided by the user to identify the facial features and clothing features of the person, the identification result will be more accurate and reliable.
(2)所述电子设备1接收从图片数据集中选择的图片,并将所述选择的图片作为所述目标人物的图片。(2) The electronic device 1 receives a picture selected from the picture data set, and uses the selected picture as the picture of the target person.
在本发明的至少一个实施例中,当所述用户无法提供所述目标人物的图片时,所述用户可以从所述图片数据集中选择一张图片,所述电子设备1接收选择的图片,并将所述选择的图片确定为所述目标人物的图片。In at least one embodiment of the present invention, when the user cannot provide a picture of the target person, the user can select a picture from the picture data set, the electronic device 1 receives the selected picture, and The selected picture is determined as the picture of the target person.
这样,即使在所述用户无法提供所述目标人物的图片作为识别的基础时,所述电子设备1也可以根据接收的从所述图片数据集中选择的图片进行所述目标人物的人脸特征及穿着特征的识别,从而使所述目标人物的搜索工作得以顺利地进行,也使所述目标人物的搜索工作更加具有灵活性。In this way, even when the user cannot provide a picture of the target person as the basis for identification, the electronic device 1 can also perform facial features and recognition of the target person according to the received picture selected from the picture data set. The recognition of the wearing characteristics, so that the search work of the target person can be carried out smoothly, and also makes the search work of the target person more flexible.
在本发明的至少一个实施例中,所述图片数据集可以是预先存储的一个图片数据集,也可以是利用与所述电子设备1相通信的摄像装置2进行实时抓拍的一个图片数据集,本发明在此不作限制。In at least one embodiment of the present invention, the picture data set may be a pre-stored picture data set, or a picture data set captured in real time by the camera 2 communicating with the electronic device 1, The invention is not limited here.
在本发明的至少一个实施例中,为了丰富数据,便于进行更精确的搜索,所述图片数据集中可以储存着人物的图片、动物的图片、景物的图片等等,本发明不做限制。In at least one embodiment of the present invention, in order to enrich data and facilitate more accurate searches, the picture data set may store pictures of people, animals, scenery, etc., which is not limited in the present invention.
S11,所述电子设备1识别所述目标人物的图片中所述目标人物的人脸特征及穿着特征。S11, the electronic device 1 recognizes the facial features and clothing features of the target person in the picture of the target person.
在本发明的至少一个实施例中,所述电子设备1识别所述目标人物的人脸特征的方法可以有很多种,本发明不做限制。由于人脸识别技术已经相对成熟,属于现有技术,本发明在此不再赘述。In at least one embodiment of the present invention, there may be many methods for the electronic device 1 to recognize the facial features of the target person, which are not limited in the present invention. Since the face recognition technology is relatively mature and belongs to the prior art, the present invention will not repeat it here.
在本发明的至少一个实施例中,所述电子设备1识别所述目标人物的图片中所述目标人物的穿着特征包括:In at least one embodiment of the present invention, the electronic device 1 identifying the wearing characteristics of the target person in the picture of the target person includes:
所述电子设备1从所述目标人物的图片中确定服装区域,对所述服装区域内服装的特征进行提取,所述服装的特征包括服装的款式、颜色及颜色比例,所述电子设备1将提取的特征与预先训练的服装特征模型中的相应特征进行匹配,以确定所述目标人物的包括所述款式、颜色及颜色比例信息的穿着特征。The electronic device 1 determines the clothing area from the picture of the target person, and extracts the features of the clothing in the clothing area. The clothing features include the style, color and color ratio of the clothing. The electronic device 1 will The extracted features are matched with the corresponding features in the pre-trained clothing feature model to determine the wearing features of the target person including the style, color and color ratio information.
在本发明的至少一个实施例中,所述预先训练的服装特征模型可以有很多种类别,具体地,所述预先训练的服装特征模型的类别可以包括,但不限于:韩式、日式、欧式、民族风、森女系、小清新系列等等。需要说明的是,每种类别的服装特征模型中都包括人物的穿着的款式、颜色及颜色比例等全部穿着特征的特征数据。In at least one embodiment of the present invention, the pre-trained clothing feature model can have many categories, specifically, the categories of the pre-trained clothing feature model can include, but not limited to: Korean, Japanese, European style, ethnic style, Mori girl series, small fresh series and so on. It should be noted that the clothing feature model of each category includes feature data of all wearing features such as the style, color, and color ratio of the character.
这样,所述电子设备1可以先确定所述目标人物的图片所属的预先训练的服装特征模型的类别,再将提取的特征与对应类别的服装特征模型中的特征进行匹配,得到匹配的特征。由于缩小了搜索的范围,使识别所述目标人物的图片中所述目标人物的穿着特征的过程效率更高。In this way, the electronic device 1 can first determine the category of the pre-trained clothing feature model to which the picture of the target person belongs, and then match the extracted features with the features in the corresponding category of clothing feature model to obtain the matched features. Since the search scope is narrowed, the process of identifying the wearing features of the target person in the picture of the target person is more efficient.
S12,所述电子设备1获取第一过滤条件。S12. The electronic device 1 acquires a first filter condition.
在本发明的至少一个实施例中,所述第一过滤条件的范围可以包括,但不限于:时间、地点、服装款式、服装颜色及服装颜色比例等等。In at least one embodiment of the present invention, the scope of the first filtering condition may include, but not limited to: time, location, clothing style, clothing color and clothing color ratio, and the like.
需要说明的是,所述第一过滤条件是一个搜索范围较大的过滤条件,通过所述第一过滤条件可以得到覆盖面较广的搜索结果,以免由于过滤条件窄造成搜索的限制,使搜索结果不够全面。It should be noted that the first filter condition is a filter condition with a relatively large search range, and search results with a wider coverage can be obtained through the first filter condition, so as to avoid search restrictions caused by narrow filter conditions and make the search results Not comprehensive enough.
S13,所述电子设备1根据所述目标人物的人脸特征及穿着特征,及所述第一过滤条件从图片数据集中获取第一图片集。S13, the electronic device 1 acquires a first picture set from the picture data set according to the facial features and clothing features of the target person and the first filter condition.
在本发明的至少一个实施例中,所述电子设备1根据所述目标人物的人脸特征及穿着特征,及所述第一过滤条件从图片数据集中获取第一图片集包括,但不限于以下一种或者多种的组合:In at least one embodiment of the present invention, the electronic device 1 obtains the first picture set from the picture data set according to the facial features and clothing features of the target person and the first filter condition, including, but not limited to the following One or more combinations:
(1)所述电子设备1根据所述第一过滤条件中包含的第一指定时间段,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定时间段信息;所述电子设备1根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征。(1) The electronic device 1 searches in the picture data set according to the first specified time period contained in the first filter condition, and determines a first candidate picture set, and the pictures in the first candidate picture set have The first designated time period information; the electronic device 1 determines the first picture set from the first candidate picture set according to the facial features of the target person, and each person in the first picture set The faces all have the described facial features.
在本发明的至少一个实施例中,所述第一指定时间段可以由用户进行设置,具体地,所述用户可以根据实际搜索需求进行设置,也可以根据了解的所述目标人物的生活习惯进行设置,或者是根据搜索领域内的公知的搜索时间经验值进行设置,本发明不做限制。In at least one embodiment of the present invention, the first specified time period can be set by the user, specifically, the user can set it according to the actual search needs, or according to the known living habits of the target person Set, or set according to the known search time experience value in the search field, the present invention is not limited.
例如:当所述用户想知道所述目标人物上午的活动轨迹时,所述用户可以将所述第一指定时间段设置为上午8时到12时,这样,所述电子设备1首先结合所述第一指定时间段上午8时到12时,在所述图片数据集中搜索,并确定第一候选图片集;所述电子设备1再根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集。For example: when the user wants to know the activity trajectory of the target person in the morning, the user can set the first designated time period from 8:00 am to 12:00 am, so that the electronic device 1 first combines the From 8:00 a.m. to 12:00 a.m. for the first designated time period, search in the picture data set and determine the first candidate picture set; The picture set determines the first picture set.
(2)所述电子设备1根据所述目标人物的穿着特征及所述第一过滤条件中包含的第一指定服装颜色,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定服装颜色信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征。(2) The electronic device 1 searches in the picture data set according to the wearing characteristics of the target person and the first specified clothing color contained in the first filter condition, and determines a first set of candidate pictures, the The pictures in the first candidate picture set have the first designated clothing color information; according to the facial features of the target person, determine the first picture set from the first candidate picture set, and the first picture set in the first picture set Each face has the facial features.
在本发明的至少一个实施例中,所述第一指定服装颜色可以由用户进行设置,也可以由所述电子设备1根据识别出的所述目标人物的穿着特征中的服装颜色进行设置,本发明不做限制。In at least one embodiment of the present invention, the first designated clothing color can be set by the user, or can be set by the electronic device 1 according to the recognized clothing color in the wearing characteristics of the target person. Inventions are not limited.
例如:当所述电子设备1识别出的所述目标人物的穿着特征中的服装颜色为红色与黑色时,所述电子设备1可以设置所述第一指定服装颜色为红色与黑色,这样,所述电子设备1首先结合所述目标人物的穿着特征及所述第一指定服装颜色红色与黑色,在所述图片数据集中搜索,并确定第一候选图片集;所述电子设备1再根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集。For example: when the clothing colors in the wearing characteristics of the target person recognized by the electronic device 1 are red and black, the electronic device 1 can set the first specified clothing color to be red and black, so that the The electronic device 1 first combines the wearing characteristics of the target person and the red and black colors of the first designated clothing, searches in the picture data set, and determines the first candidate picture set; The face feature of the target person is used to determine the first set of pictures from the first set of candidate pictures.
(3)所述电子设备1根据所述目标人物的穿着特征及所述第一过滤条件中包含的第一指定服装颜色比例,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定服装颜色比例信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征。(3) The electronic device 1 searches in the picture data set according to the wearing characteristics of the target person and the first specified clothing color ratio included in the first filter condition, and determines a first set of candidate pictures, so The pictures in the first candidate picture set have the first designated clothing color ratio information; according to the facial features of the target person, the first picture set is determined from the first candidate picture set, and the first picture Each face in the set has the facial features.
在本发明的至少一个实施例中,所述第一指定服装颜色比例可以由用户进行设置,也可以由所述电子设备1根据识别出的所述目标人物的穿着特征中的服装颜色比例进行设置,本发明不做限制。In at least one embodiment of the present invention, the first designated clothing color ratio can be set by the user, or can be set by the electronic device 1 according to the clothing color ratio in the recognized wearing characteristics of the target person , the present invention is not limited.
例如:当所述电子设备1识别出的所述目标人物的穿着特征中的服装颜色比例为:红色:黑色=1:1时,所述电子设备1可以设置所述第一指定服装颜色比例为:红色:黑色=1:1,这样,所述电子设备1首先结合所述目标人物的穿着特征及所述第一指定服装颜色比例红色:黑色=1:1,在所述图片数据集中搜索,并确定第一候选图片集;所述电子设备1再根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集。For example: when the clothing color ratio in the wearing characteristics of the target person identified by the electronic device 1 is: red: black=1:1, the electronic device 1 can set the ratio of the first specified clothing color to : red: black = 1:1, so that the electronic device 1 first combines the wearing characteristics of the target person and the color ratio of the first specified clothing red: black = 1:1 to search in the image data set, And determine the first set of candidate pictures; the electronic device 1 then determines the first set of pictures from the first set of candidate pictures according to the facial features of the target person.
(4)所述电子设备1根据所述目标人物的穿着特征及所述第一过滤条件中包含的第一指定服装款式,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定服装款式信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征。(4) The electronic device 1 searches in the picture data set according to the wearing characteristics of the target person and the first specified clothing style contained in the first filter condition, and determines a first candidate picture set, the The pictures in the first candidate picture set have the first designated clothing style information; according to the facial features of the target person, determine the first picture set from the first candidate picture set, and the first picture set in the first picture set Each face has the facial features.
在本发明的至少一个实施例中,所述第一指定服装款式可以由用户进行设置,也可以由所述电子设备1根据识别出的所述目标人物的穿着特征中的服装款式进行设置,本发明不做限制。In at least one embodiment of the present invention, the first specified clothing style can be set by the user, or can be set by the electronic device 1 according to the clothing style in the recognized wearing characteristics of the target person. Inventions are not limited.
例如:当所述电子设备1识别出的所述目标人物的穿着特征中的服装款式为韩式时,所述电子设备1可以设置所述第一指定服装款式为韩式,这样,所述电子设备1首先结合所述目标人物的穿着特征及所述第一指定服装款式韩式,在所述图片数据集中搜索,并确定第一候选图片集;所述电子设备1再根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集。For example: when the clothing style in the wearing characteristics of the target person identified by the electronic device 1 is Korean style, the electronic device 1 can set the first designated clothing style as Korean style, so that the electronic device 1 First, in combination with the wearing characteristics of the target person and the Korean style of the first specified clothing style, search in the picture data set, and determine the first candidate picture set; The feature is to determine the first set of pictures from the first set of candidate pictures.
(5)所述电子设备1根据所述第一过滤条件中包含的第一指定区域,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定区域信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征。(5) The electronic device 1 searches in the picture data set according to the first designated area contained in the first filter condition, and determines a first candidate picture set, and the pictures in the first candidate picture set have all The first designated area information; according to the facial features of the target person, determine the first picture set from the first candidate picture set, and each face in the first picture set has the human face feature.
在本发明的至少一个实施例中,所述第一指定区域可以由用户进行设置,具体地,所述用户可以根据实际搜索需求进行设置,也可以根据了解的所述目标人物的生活习惯进行设置,或者是根据搜索领域内的公知的经验进行设置,本发明不做限制。In at least one embodiment of the present invention, the first designated area can be set by the user, specifically, the user can set it according to the actual search needs, or according to the known living habits of the target person , or set according to known experience in the search field, which is not limited in the present invention.
例如:当所述电子设备1接收到用户设置的所述第一指定区域为A街道时,所述电子设备1首先结合所述第一指定区域A街道,在所述图片数据集中搜索,并确定第一候选图片集;所述电子设备1再根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集。For example: when the electronic device 1 receives that the first designated area set by the user is Street A, the electronic device 1 first searches in the picture data set in combination with the first designated area A street, and determines A first set of candidate pictures: the electronic device 1 then determines the first set of pictures from the first set of candidate pictures according to the facial features of the target person.
在本发明的至少一个实施例中,由于人脸识别技术比较精细、繁琐,需要花费较多的时间进行操作,因此,在本实施例中,所述电子设备1首先结合所述目标人物的穿着特征及所述第一过滤条件在所述图片数据集中搜索,得到所述第一候选图片集后,再结合所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集。这样不仅节约了搜索的时间,还可以在人流量较大、环境较复杂时快速搜索所述目标人物,提高搜索效率。In at least one embodiment of the present invention, because the face recognition technology is relatively fine and cumbersome, it takes a lot of time to operate, therefore, in this embodiment, the electronic device 1 first combines the target person's wearing feature and the first filter condition are searched in the picture data set, and after obtaining the first candidate picture set, combined with the facial features of the target person, the first candidate picture set is determined from the first candidate picture set. Photo album. This not only saves search time, but also can quickly search for the target person when the flow of people is large and the environment is complex, thereby improving search efficiency.
在本发明的至少一个实施例中,根据搜索的结果,所述第一图片集中可以包括一张或者多张图片,本发明不做限制。In at least one embodiment of the present invention, according to the search result, the first set of pictures may include one or more pictures, which is not limited in the present invention.
S14,所述电子设备1获取第二过滤条件。S14. The electronic device 1 acquires a second filter condition.
在本发明的至少一个实施例中,所述第二过滤条件是一个范围较小的过滤条件,所述第二过滤条件的范围可以包括,但不限于:时间、地点等等。具体地,所述第二过滤条件中包括第二指定时间段及第二指定区域,所述第二指定时间段包含于所述第一过滤条件中的第一指定时间段,所述第二指定区域包含于所述第一过滤条件中的第一指定区域。In at least one embodiment of the present invention, the second filter condition is a narrow filter condition, and the scope of the second filter condition may include, but not limited to: time, location and so on. Specifically, the second filter condition includes a second designated time period and a second designated area, the second designated time period is included in the first designated time period in the first filter condition, and the second designated time period The area is included in the first specified area in the first filter condition.
这样,在所述电子设备1已经获取到所述第一图片集后,所述电子设备1还可以根据所述第二过滤条件的进一步限定缩小搜索范围,得到更加精确的搜索结果。In this way, after the electronic device 1 has acquired the first picture collection, the electronic device 1 can further narrow down the search range according to the further limitation of the second filter condition, so as to obtain more accurate search results.
S15,所述电子设备1根据所述第二过滤条件从所述第一图片集中获取第二图片集。S15. The electronic device 1 acquires a second picture set from the first picture set according to the second filter condition.
在本发明的至少一个实施例中,所述电子设备1根据所述第二过滤条件从所述第一图片集中获取第二图片集包括,但不限于以下一种或者多种方式的组合:In at least one embodiment of the present invention, the electronic device 1 acquires the second picture set from the first picture set according to the second filter condition, including, but not limited to, a combination of one or more of the following methods:
(1)所述电子设备1将所述第一图片集中符合所述第二过滤条件中第二指定时间段内的图片确定为所述第二图片集,所述第二图片集中的图片具有所述第二指定时间段信息,所述第一指定时间段包含所述第二指定时间段。(1) The electronic device 1 determines the pictures in the first picture set that meet the second filter condition in the second specified time period as the second picture set, and the pictures in the second picture set have the The second specified time period information, the first specified time period includes the second specified time period.
例如:如果所述电子设备1缩小搜索范围,将所述第二指定时间段设置为上午10时到11时,则所述电子设备1将所述第一图片集中符合所述第二指定时间段10时到11时的图片确定为所述第二图片集。For example: if the electronic device 1 narrows down the search range and sets the second designated time period from 10:00 am to 11:00 am, then the electronic device 1 sets the first picture set to match the second designated time period The pictures from 10 o'clock to 11 o'clock are determined as the second picture set.
(2)所述电子设备1将所述第一图片集中符合所述第二过滤条件中第二指定区域内的图片确定为所述第二图片集,所述第二图片集中的图片具有所述第二指定时间段信息,所述第一指定区域包含所述第二指定区域。(2) The electronic device 1 determines the pictures in the second specified area in the first picture set that meet the second filter condition as the second picture set, and the pictures in the second picture set have the For the second designated time period information, the first designated area includes the second designated area.
例如:如果所述电子设备1缩小搜索范围,将所述第二指定区域设置为A街道的X号到Y号时,则所述电子设备1将所述第一图片集中符合所述第二指定区域A街道的X号到Y号的图片确定为所述第二图片集。For example: if the electronic device 1 narrows down the search range and sets the second specified area to the number X to Y of street A, then the electronic device 1 will set the first picture set to meet the second specification The pictures from No. X to No. Y of the street in area A are determined as the second picture set.
在本发明的至少一个实施例中,所述电子设备1可以记录所述摄像装置2拍摄每张图片时的时间,或者是,所述摄像装置2在拍摄每张图片时,将拍摄时间显示在每张图片上,所述电子设备1获取所述第一图片集中所包含的每张图片的拍摄时间,并将拍摄时间符合所述第二过滤条件中第二指定时间段内的图片确定为所述第二图片集。In at least one embodiment of the present invention, the electronic device 1 can record the time when the camera 2 takes each picture, or when the camera 2 takes each picture, it displays the shooting time on For each picture, the electronic device 1 acquires the shooting time of each picture contained in the first picture set, and determines the pictures whose shooting time meets the second specified time period in the second filter condition as the taken pictures. Describe the second set of pictures.
通过以上实施方式,当所述用户想要对过滤条件进行进一步地限制时,所述电子设备1可以直接在所述第一图片集的基础上,通过所述第二过滤条件进行时间、地点等的具体限制,既节约了搜索时间,又使搜索更加具有针对性,也更加符合用户的搜索需求。Through the above implementation, when the user wants to further limit the filter conditions, the electronic device 1 can directly perform time, place, etc. The specific restrictions, not only saves the search time, but also makes the search more targeted, and more in line with the user's search needs.
当然,在其他实施例中,所述第二过滤条件中也可以包括对服装颜色等的限制,本发明不做限制。例如:如果所述第一过滤条件中的服装颜色是红色与黑色,所述第二过滤条件中的服装颜色是红色,则所述电子设备1可以直接从所述第一图片集中挑选出服装颜色是红色的图片添加到所述第二图片集中,而不需要从所述图片数据集中重新搜索,既减少了工作量,又节约了搜索时间。Of course, in other embodiments, the second filter condition may also include restrictions on clothing color, etc., which is not limited in the present invention. For example: if the clothing color in the first filter condition is red and black, and the clothing color in the second filter condition is red, then the electronic device 1 can directly select the clothing color from the first picture collection The red pictures are added to the second picture set without re-searching from the picture data set, which not only reduces the workload, but also saves search time.
S16,所述电子设备1根据所述第二图片集所包含图片的数据确定所述目标人物的活动轨迹。S16. The electronic device 1 determines the activity track of the target person according to the data of the pictures included in the second picture set.
在本发明的至少一个实施例中,所述电子设备1根据所述第二图片集所包含图片的数据确定所述目标人物的活动轨迹包括:In at least one embodiment of the present invention, the electronic device 1 determining the activity track of the target person according to the data of the pictures contained in the second picture collection includes:
所述电子设备1获取所述第二图片集中每张图片对应的拍摄时间及拍摄地点,并基于每张图片对应的拍摄时间,对所述第二图片集的图片进行排序,确定所述目标人物的活动轨迹。The electronic device 1 acquires the shooting time and shooting location corresponding to each picture in the second picture set, and based on the shooting time corresponding to each picture, sorts the pictures in the second picture set to determine the target person activity track.
在本发明的至少一个实施例中,所述电子设备1可以根据每张图片对应的拍摄时间对所述第二图片集的图片进行排序,这样,所述电子设备1即可得到以时间为顺序的所述目标人物的活动轨迹,从而根据时间顺序预测下一时间所述目标人物可能出现的地点。In at least one embodiment of the present invention, the electronic device 1 can sort the pictures in the second set of pictures according to the shooting time corresponding to each picture, so that the electronic device 1 can obtain the time order The activity track of the target person, so as to predict the place where the target person may appear in the next time according to the time sequence.
例如:所述电子设备1可以将所述第二图片集的图片按照上午9时到11时的时间段内的拍摄顺序进行排序,这样所述电子设备1就可以按照时间顺序确定所述目标人物在上午9时到11时依次出现的地点,以确定所述目标人物的活动轨迹。For example: the electronic device 1 can sort the pictures in the second picture collection according to the shooting order in the time period from 9:00 am to 11:00 am, so that the electronic device 1 can determine the target person in chronological order From 9:00 am to 11:00 am, the locations appear in sequence to determine the activity track of the target person.
或者是,所述电子设备1获取所述第二图片集中每张图片对应的拍摄时间及拍摄地点,并基于每张图片对应的拍摄地点,对所述第二图片集的图片进行分类,确定所述目标人物的活动轨迹。Alternatively, the electronic device 1 acquires the shooting time and shooting location corresponding to each picture in the second picture set, and classifies the pictures in the second picture set based on the shooting location corresponding to each picture, and determines the Describe the trajectory of the target person's activities.
在本发明的至少一个实施例中,所述电子设备1可以根据每张图片对应的拍摄地点对所述第二图片集的图片进行分类,这样,所述电子设备1即可得到以地点为判断基准的所述目标人物的活动轨迹,从而根据所述目标人物在每个地点出现频率的高低预测所述目标人物接下来可能出现的地点。In at least one embodiment of the present invention, the electronic device 1 can classify the pictures in the second picture collection according to the shooting location corresponding to each picture, so that the electronic device 1 can obtain Based on the activity trajectory of the target person, the location where the target person may appear next is predicted according to the frequency of occurrence of the target person at each location.
例如:所述电子设备1可以将所述第二图片集中的每张图片按照对应的拍摄地点分为A街道X号、A街道Y号、A街道Z号等,这样所述电子设备1就可以按照A街道X号、A街道Y号、A街道Z号等地点的连线,确定所述目标人物的活动轨迹。For example: the electronic device 1 can divide each picture in the second picture set into A street X number, A street Y number, A street Z number, etc. according to the corresponding shooting location, so that the electronic device 1 can According to the connection lines of A Street No. X, A Street No. Y, A Street No. Z, etc., the activity track of the target person is determined.
通过上述以时间或地点确定所述目标人物的活动轨迹的方式,可以清楚的向用户展示搜索结果,便于理解。Through the above method of determining the activity track of the target person by time or place, the search results can be clearly displayed to the user, which is easy to understand.
在本发明的至少一个实施例中,所述电子设备1可以通过与所述电子设备1相通信的摄像装置2获取所述第二图片集中每张图片对应的拍摄时间及拍摄地点,可以理解的是,通过所述第二图片集中每张图片对应的拍摄时间及拍摄地点,就可以确定所述目标人物出现的时间及地点。In at least one embodiment of the present invention, the electronic device 1 can obtain the shooting time and shooting location corresponding to each picture in the second picture set through the camera 2 communicating with the electronic device 1, understandably Yes, the time and place at which the target person appears can be determined through the shooting time and shooting location corresponding to each picture in the second picture set.
具体地,所述电子设备1可以记录所述摄像装置2拍摄所述第二图片集中每张图片时的时间,或者是,所述摄像装置2在拍摄所述第二图片集中的每张图片时,将拍摄时间显示在所述第二图片集中的每张照片上等。Specifically, the electronic device 1 may record the time when the camera 2 captures each picture in the second set of pictures, or when the camera 2 captures each picture in the second set of pictures , displaying the shooting time on each photo in the second picture set, and so on.
具体地,所述电子设备1可以记录所述摄像装置2拍摄所述第二图片集中每张图片时的拍摄地点,并将所述拍摄地点确定为所述目标人物出现的地点。Specifically, the electronic device 1 may record the shooting location when the camera 2 shoots each picture in the second picture set, and determine the shooting location as the location where the target person appears.
在本发明的至少一个实施例中,所述方法还包括:In at least one embodiment of the present invention, the method also includes:
所述电子设备1获取所述目标人物出现的最后位置,确定所述目标人物在所述最后位置处所述目标人物的运动方向,并根据所述目标人物的运动方向,预测所述目标人物的活动区域。The electronic device 1 obtains the last position where the target person appears, determines the movement direction of the target person at the last position, and predicts the target person's movement direction according to the movement direction of the target person. active area.
具体地,所述电子设备1可以根据识别出的所述目标人物的身体朝向、腿部的运动趋势、面部朝向等确定所述目标人物的运动方向,或者是通过所述目标人物的交通工具的车头方向确定所述目标人物的运动方向,本发明不做限制。Specifically, the electronic device 1 may determine the direction of movement of the target person according to the recognized body orientation, leg movement tendency, face orientation, etc. of the target person, or the target person's vehicle direction. The direction of the head of the vehicle determines the moving direction of the target person, which is not limited in the present invention.
例如:当所述电子设备1获取到所述目标人物出现的最后位置是A街道X号时,如果所述电子设备1确定所述目标人物在A街道X号的运动方向是向着A街道Y号,则所述电子设备1可以预测所述目标人物的活动区域将由A街道X号到A街道Y号。For example: when the electronic device 1 acquires that the last location where the target person appears is street A street number X, if the electronic device 1 determines that the movement direction of the target person at street number A is toward street number Y , then the electronic device 1 can predict that the activity area of the target person will be from A Street X to A Street Y.
这样,所述电子设备1可以通过预测所述目标人物的活动区域准确掌握所述目标人物可能出现的区域,并可以在所述可能出现的区域内提前做好相应准备,以配合搜索所述目标人物的搜索目的。例如:当所述目标人物的搜索目的是抓捕所述目标人物时,可以通过预测所述目标人物的活动区域提前做好抓捕准备等。In this way, the electronic device 1 can accurately grasp the area where the target person may appear by predicting the activity area of the target person, and can make corresponding preparations in advance in the area where the target person may appear, so as to cooperate with the search for the target The person's search purpose. For example: when the target person's search purpose is to capture the target person, preparations for capturing the target person can be made in advance by predicting the activity area of the target person.
在其他实施例中,所述电子设备1还可以判断所述目标人物在所述最后位置处所述目标人物的交通工具的运动方向,并根据所述目标人物的交通工具的运动方向,预测所述目标人物的活动区域。例如:当所述目标人物的搜索目的是跟踪所述目标人物时,所述电子设备1可以在预测的所述目标人物的活动区域内启动摄像装置2,提前做好抓拍准备,达到准确跟踪的目的。In other embodiments, the electronic device 1 may also determine the moving direction of the vehicle of the target person at the last position, and predict the moving direction of the vehicle of the target person according to the moving direction of the vehicle of the target person. Describe the activity area of the target person. For example: when the search purpose of the target person is to track the target person, the electronic device 1 can start the camera 2 in the predicted activity area of the target person, and make preparations for capturing in advance to achieve accurate tracking. Purpose.
在本发明的至少一个实施例中,所述方法还包括:In at least one embodiment of the present invention, the method also includes:
所述电子设备1实时获取预测的活动区域中的摄像装置2抓拍的图片,从所述抓拍的图片中识别所述目标人物,并跟踪所述目标人物,当所述目标人物为危险人物时,将所述目标人物的活动轨迹及所述目标人物对应的所述预测的活动区域发送至至少一个用户设备。The electronic device 1 obtains in real time the picture captured by the camera device 2 in the predicted activity area, identifies the target person from the captured picture, and tracks the target person. When the target person is a dangerous person, Sending the activity track of the target person and the predicted activity area corresponding to the target person to at least one user equipment.
例如:当所述目标人物是盗窃者时,所述电子设备1可以将所述盗窃者的活动轨迹及所述盗窃者对应的所述预测的活动区域发送至警察局的服务器及所述盗窃者的活动轨迹所涉及的小区安保人员的终端设备上,以提示相关人员及时采取安全防范措施,并且由于进行了所述目标人物的跟踪,也可以辅助相关人员对所述盗窃者进行快速的抓捕。For example: when the target person is a thief, the electronic device 1 may send the thief's activity trajectory and the predicted activity area corresponding to the thief to the server of the police station and the thief on the terminal equipment of the community security personnel involved in the activity track, to remind the relevant personnel to take security precautions in time, and because of the tracking of the target person, it can also assist the relevant personnel to quickly arrest the thief .
综上所述,本发明能获取目标人物的图片;识别所述目标人物的图片中所述目标人物的人脸特征及穿着特征;获取第一过滤条件;根据所述目标人物的人脸特征及穿着特征,及所述第一过滤条件从图片数据集中获取第一图片集;获取第二过滤条件;根据所述第二过滤条件从所述第一图片集中获取第二图片集;根据所述第二图片集所包含图片的数据确定所述目标人物的活动轨迹。因此,本发明能通过多重过滤条件,并结合所述目标人物的人脸特征及穿着特征,快速、准确地确定所述目标人物的活动轨迹,给用户带来更好的使用体验。In summary, the present invention can obtain a picture of a target person; identify the facial features and clothing features of the target person in the picture of the target person; obtain the first filter condition; Wearing characteristics, and the first filter condition is to obtain the first picture set from the picture data set; to obtain the second filter condition; to obtain the second picture set from the first picture set according to the second filter condition; to obtain the second picture set from the first picture set according to the second filter condition; The data of the pictures included in the second picture set determines the activity track of the target person. Therefore, the present invention can quickly and accurately determine the activity track of the target person through multiple filter conditions, combined with the facial features and clothing features of the target person, and bring better user experience to the user.
如图3所示,是本发明人物搜索装置的较佳实施例的功能模块图。所述人物搜索装置11包括获取单元110、识别单元111、确定单元112、预测单元113、跟踪单元114、发送单元115。本发明所称的模块/单元是指一种能够被处理器13所执行,并且能够完成固定功能的一系列计算机程序段,其存储在存储器12中。在本实施例中,关于各模块/单元的功能将在后续的实施例中详述。As shown in FIG. 3 , it is a functional block diagram of a preferred embodiment of the person search device of the present invention. The person search device 11 includes an acquisition unit 110 , an identification unit 111 , a determination unit 112 , a prediction unit 113 , a tracking unit 114 , and a sending unit 115 . The module/unit referred to in the present invention refers to a series of computer program segments that can be executed by the processor 13 and can complete fixed functions, and are stored in the memory 12 . In this embodiment, the functions of each module/unit will be described in detail in subsequent embodiments.
获取单元110获取目标人物的图片。The acquisition unit 110 acquires a picture of the target person.
在本发明的至少一个实施例中,所述获取单元110获取目标人物的图片包括,但不限于以下一种或者多种的组合:In at least one embodiment of the present invention, the acquiring unit 110 acquires the picture of the target person including, but not limited to, a combination of one or more of the following:
(1)所述获取单元110接收上传的图片,并将上传的图片作为所述目标人物的图片。(1) The acquiring unit 110 receives the uploaded picture, and uses the uploaded picture as the picture of the target person.
在本发明的至少一个实施例中,所述获取单元110可以接收用户上传的图片,并将所述上传的图片作为所述目标人物的图片。In at least one embodiment of the present invention, the obtaining unit 110 may receive a picture uploaded by a user, and use the uploaded picture as the picture of the target person.
这样,所述电子设备1可以根据所述用户提供的需求进行目标人物的搜索工作,使搜索更加有针对性,而且通常情况下,在所述用户提供的图片中,所述目标人物的人物特征会显示的更加清晰,使所述电子设备1利用所述用户提供的图片进行人物的人脸特征及穿着特征的识别时,识别结果更加精确、可靠。In this way, the electronic device 1 can search for the target person according to the requirements provided by the user, making the search more targeted, and usually, in the pictures provided by the user, the characteristics of the target person The display will be clearer, so that when the electronic device 1 uses the picture provided by the user to identify the facial features and clothing features of the person, the identification result will be more accurate and reliable.
(2)所述获取单元110接收从图片数据集中选择的图片,并将所述选择的图片作为所述目标人物的图片。(2) The acquiring unit 110 receives a picture selected from the picture data set, and uses the selected picture as the picture of the target person.
在本发明的至少一个实施例中,当所述用户无法提供所述目标人物的图片时,所述用户可以从所述图片数据集中选择一张图片,所述获取单元110接收选择的图片,并将所述选择的图片确定为所述目标人物的图片。In at least one embodiment of the present invention, when the user cannot provide a picture of the target person, the user can select a picture from the picture data set, and the acquisition unit 110 receives the selected picture, and The selected picture is determined as the picture of the target person.
这样,即使在所述用户无法提供所述目标人物的图片作为识别的基础时,所述电子设备1也可以根据接收的从所述图片数据集中选择的图片进行所述目标人物的人脸特征及穿着特征的识别,从而使所述目标人物的搜索工作得以顺利地进行,也使所述目标人物的搜索工作更加具有灵活性。In this way, even when the user cannot provide a picture of the target person as the basis for identification, the electronic device 1 can also perform facial features and recognition of the target person according to the received picture selected from the picture data set. The recognition of the wearing characteristics, so that the search work of the target person can be carried out smoothly, and also makes the search work of the target person more flexible.
在本发明的至少一个实施例中,所述图片数据集可以是预先存储的一个图片数据集,也可以是利用与所述电子设备1相通信的摄像装置2进行实时抓拍的一个图片数据集,本发明在此不作限制。In at least one embodiment of the present invention, the picture data set may be a pre-stored picture data set, or a picture data set captured in real time by the camera 2 communicating with the electronic device 1, The invention is not limited here.
在本发明的至少一个实施例中,为了丰富数据,便于进行更精确的搜索,所述图片数据集中可以储存着人物的图片、动物的图片、景物的图片等等,本发明不做限制。In at least one embodiment of the present invention, in order to enrich data and facilitate more accurate searches, the picture data set may store pictures of people, animals, scenery, etc., which is not limited in the present invention.
识别单元111识别所述目标人物的图片中所述目标人物的人脸特征及穿着特征。The recognition unit 111 recognizes facial features and clothing features of the target person in the picture of the target person.
在本发明的至少一个实施例中,所述识别单元111识别所述目标人物的人脸特征的方法可以有很多种,本发明不做限制。由于人脸识别技术已经相对成熟,属于现有技术,本发明在此不再赘述。In at least one embodiment of the present invention, the identification unit 111 may identify the facial features of the target person in many ways, which are not limited in the present invention. Since the face recognition technology is relatively mature and belongs to the prior art, the present invention will not repeat it here.
在本发明的至少一个实施例中,所述识别单元111识别所述目标人物的图片中所述目标人物的穿着特征包括:In at least one embodiment of the present invention, the identification unit 111 identifying the wearing characteristics of the target person in the picture of the target person includes:
所述识别单元111从所述目标人物的图片中确定服装区域,对所述服装区域内服装的特征进行提取,所述服装的特征包括服装的款式、颜色及颜色比例,所述识别单元111将提取的特征与预先训练的服装特征模型中的相应特征进行匹配,以确定所述目标人物的包括所述款式、颜色及颜色比例信息的穿着特征穿。The identification unit 111 determines the clothing area from the picture of the target person, and extracts the features of the clothing in the clothing area. The clothing features include the style, color and color ratio of the clothing. The identification unit 111 will The extracted features are matched with the corresponding features in the pre-trained clothing feature model to determine the wearing features of the target person including the style, color and color ratio information.
在本发明的至少一个实施例中,所述预先训练的服装特征模型可以有很多种类别,具体地,所述预先训练的服装特征模型的类别可以包括,但不限于:韩式、日式、欧式、民族风、森女系、小清新系列等等。需要说明的是,每种类别的服装特征模型中都包括人物的穿着的款式、颜色及颜色比例等全部穿着特征的特征数据。In at least one embodiment of the present invention, the pre-trained clothing feature model can have many categories, specifically, the categories of the pre-trained clothing feature model can include, but not limited to: Korean, Japanese, European style, ethnic style, Mori girl series, small fresh series and so on. It should be noted that the clothing feature model of each category includes feature data of all wearing features such as the style, color, and color ratio of the character.
这样,所述识别单元111可以先确定所述目标人物的图片所属的预先训练的服装特征模型的类别,再将提取的特征与对应类别的服装特征模型中的特征进行匹配,得到匹配的特征。由于缩小了搜索的范围,使识别所述目标人物的图片中所述目标人物的穿着特征的过程效率更高。In this way, the recognition unit 111 can first determine the category of the pre-trained clothing feature model to which the target person's picture belongs, and then match the extracted features with the features in the corresponding category of clothing feature model to obtain matched features. Since the search scope is narrowed, the process of identifying the wearing features of the target person in the picture of the target person is more efficient.
所述获取单元110获取第一过滤条件。The acquisition unit 110 acquires the first filter condition.
在本发明的至少一个实施例中,所述第一过滤条件的范围可以包括,但不限于:时间、地点、服装款式、服装颜色及服装颜色比例等等。In at least one embodiment of the present invention, the scope of the first filtering condition may include, but not limited to: time, location, clothing style, clothing color and clothing color ratio, and the like.
需要说明的是,所述第一过滤条件是一个搜索范围较大的过滤条件,通过所述第一过滤条件可以得到覆盖面较广的搜索结果,以免由于过滤条件窄造成搜索的限制,使搜索结果不够全面。It should be noted that the first filter condition is a filter condition with a relatively large search range, and search results with a wider coverage can be obtained through the first filter condition, so as to avoid search restrictions caused by narrow filter conditions and make the search results Not comprehensive enough.
所述获取单元110根据所述目标人物的人脸特征及穿着特征,及所述第一过滤条件从图片数据集中获取第一图片集。The acquiring unit 110 acquires a first picture set from the picture data set according to the facial features and clothing features of the target person and the first filter condition.
在本发明的至少一个实施例中,所述获取单元110根据所述目标人物的人脸特征及穿着特征,及所述第一过滤条件从图片数据集中获取第一图片集包括,但不限于以下一种或者多种的组合:In at least one embodiment of the present invention, the acquisition unit 110 acquires the first picture set from the picture data set according to the facial features and clothing features of the target person and the first filter condition, including, but not limited to the following One or more combinations:
(1)所述获取单元110根据所述第一过滤条件中包含的第一指定时间段,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定时间段信息;所述获取单元110根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征。(1) The acquisition unit 110 searches in the picture data set according to the first specified time period included in the first filter condition, and determines a first candidate picture set, the pictures in the first candidate picture set have The first designated time period information; the acquisition unit 110 determines the first set of pictures from the first set of candidate pictures according to the facial features of the target person, and each person in the first set of pictures The faces all have the described facial features.
在本发明的至少一个实施例中,所述第一指定时间段可以由用户进行设置,具体地,所述用户可以根据实际搜索需求进行设置,也可以根据了解的所述目标人物的生活习惯进行设置,或者是根据搜索领域内的公知的搜索时间经验值进行设置,本发明不做限制。In at least one embodiment of the present invention, the first specified time period can be set by the user, specifically, the user can set it according to the actual search needs, or according to the known living habits of the target person Set, or set according to the known search time experience value in the search field, the present invention is not limited.
例如:当所述用户想知道所述目标人物上午的活动轨迹时,所述用户可以将所述第一指定时间段设置为上午8时到12时,这样,所述获取单元110首先结合所述第一指定时间段上午8时到12时,在所述图片数据集中搜索,并确定第一候选图片集然后,所述获取单元110再根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集。For example: when the user wants to know the activity trajectory of the target person in the morning, the user can set the first specified time period from 8:00 am to 12:00 am. In this way, the acquisition unit 110 first combines the From 8:00 am to 12:00 am in the first designated time period, search in the picture data set, and determine the first candidate picture set. Then, the acquisition unit 110 selects from the first The first picture set is determined from the candidate picture set.
(2)所述获取单元110根据所述目标人物的穿着特征及所述第一过滤条件中包含的第一指定服装颜色,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定服装颜色信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征。(2) The acquisition unit 110 searches in the picture data set according to the wearing characteristics of the target person and the first specified clothing color contained in the first filter condition, and determines a first candidate picture set, the The pictures in the first candidate picture set have the first designated clothing color information; according to the facial features of the target person, determine the first picture set from the first candidate picture set, and the first picture set in the first picture set Each face has the facial features.
在本发明的至少一个实施例中,所述第一指定服装颜色可以由用户进行设置,也可以由所述获取单元110根据识别出的所述目标人物的穿着特征中的服装颜色进行设置,本发明不做限制。In at least one embodiment of the present invention, the first specified clothing color may be set by the user, or may be set by the acquisition unit 110 according to the clothing color in the recognized wearing characteristics of the target person. Inventions are not limited.
例如:当所述识别单元111识别出的所述目标人物的穿着特征中的服装颜色为红色与黑色时,所述获取单元110可以设置所述第一指定服装颜色为红色与黑色,这样,所述获取单元110首先结合所述目标人物的穿着特征及所述第一指定服装颜色红色与黑色,在所述图片数据集中搜索,并确定第一候选图片集;所述获取单元110再根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集。For example: when the clothing colors in the wearing characteristics of the target person recognized by the identification unit 111 are red and black, the acquisition unit 110 may set the first designated clothing colors to be red and black, so that the The acquisition unit 110 first combines the wearing characteristics of the target person and the red and black colors of the first designated clothing, searches in the picture data set, and determines the first candidate picture set; the acquisition unit 110 then according to the The face feature of the target person is used to determine the first set of pictures from the first set of candidate pictures.
(3)所述获取单元110根据所述目标人物的穿着特征及所述第一过滤条件中包含的第一指定服装颜色比例,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定服装颜色比例信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征。(3) The acquisition unit 110 searches in the picture data set according to the wearing characteristics of the target person and the first specified clothing color ratio contained in the first filter condition, and determines the first candidate picture set, so The pictures in the first candidate picture set have the first designated clothing color ratio information; according to the facial features of the target person, the first picture set is determined from the first candidate picture set, and the first picture Each face in the set has the facial features.
在本发明的至少一个实施例中,所述第一指定服装颜色比例可以由用户进行设置,也可以由所述获取单元110根据识别出的所述目标人物的穿着特征中的服装颜色比例进行设置,本发明不做限制。In at least one embodiment of the present invention, the first designated clothing color ratio can be set by the user, or can be set by the acquisition unit 110 according to the clothing color ratio in the recognized wearing characteristics of the target person , the present invention is not limited.
例如:当所述识别单元111识别出的所述目标人物的穿着特征中的服装颜色比例为:红色:黑色=1:1时,所述获取单元110可以设置所述第一指定服装颜色比例为:红色:黑色=1:1,这样,所述获取单元110首先结合所述目标人物的穿着特征及所述第一指定服装颜色比例红色:黑色=1:1,在所述图片数据集中搜索,并确定第一候选图片集;所述获取单元110再根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集。For example: when the clothing color ratio in the wearing characteristics of the target person identified by the identification unit 111 is: red: black=1:1, the acquisition unit 110 can set the first specified clothing color ratio to : red: black=1:1, like this, the acquisition unit 110 first combines the wearing characteristics of the target person and the first specified clothing color ratio red: black=1:1 to search in the image data set, And determine a first set of candidate pictures; the acquisition unit 110 then determines the first set of pictures from the first set of candidate pictures according to the facial features of the target person.
(4)所述获取单元110根据所述目标人物的穿着特征及所述第一过滤条件中包含的第一指定服装款式,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定服装款式信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征。(4) The acquisition unit 110 searches in the picture data set according to the wearing characteristics of the target person and the first specified clothing style contained in the first filter condition, and determines a first candidate picture set, the The pictures in the first candidate picture set have the first designated clothing style information; according to the facial features of the target person, determine the first picture set from the first candidate picture set, and the first picture set in the first picture set Each face has the facial features.
在本发明的至少一个实施例中,所述第一指定服装款式可以由用户进行设置,也可以由所述获取单元110根据识别出的所述目标人物的穿着特征中的服装款式进行设置,本发明不做限制。In at least one embodiment of the present invention, the first specified clothing style can be set by the user, or can be set by the acquisition unit 110 according to the clothing style in the recognized wearing characteristics of the target person. Inventions are not limited.
例如:当所述识别单元111识别出的所述目标人物的穿着特征中的服装款式为韩式时,所述获取单元110可以设置所述第一指定服装款式为韩式,这样,所述获取单元110首先结合所述目标人物的穿着特征及所述第一指定服装款式韩式,在所述图片数据集中搜索,并确定第一候选图片集;所述获取单元110再根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集。For example: when the clothing style in the wearing characteristics of the target person recognized by the identification unit 111 is Korean style, the acquisition unit 110 may set the first designated clothing style as Korean style, so that the acquisition unit 110 First, in combination with the wearing characteristics of the target person and the Korean style of the first specified clothing style, search in the picture data set, and determine the first candidate picture set; The feature is to determine the first set of pictures from the first set of candidate pictures.
(5)所述获取单元110根据所述第一过滤条件中包含的第一指定区域,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定区域信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征。(5) The acquiring unit 110 searches in the picture data set according to the first designated area contained in the first filtering condition, and determines a first candidate picture set, and the pictures in the first candidate picture set have all The first designated area information; according to the facial features of the target person, determine the first picture set from the first candidate picture set, and each face in the first picture set has the human face feature.
在本发明的至少一个实施例中,所述第一指定区域可以由用户进行设置,具体地,所述用户可以根据实际搜索需求进行设置,也可以根据了解的所述目标人物的生活习惯进行设置,或者是根据搜索领域内的公知的经验进行设置,本发明不做限制。In at least one embodiment of the present invention, the first designated area can be set by the user, specifically, the user can set it according to the actual search needs, or according to the known living habits of the target person , or set according to known experience in the search field, which is not limited in the present invention.
例如:当所述获取单元110接收到用户设置的所述第一指定区域为A街道时,所述获取单元110首先结合所述第一指定区域A街道,在所述图片数据集中搜索,并确定第一候选图片集;所述获取单元110再根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集。For example: when the acquisition unit 110 receives that the first designated area set by the user is Street A, the acquisition unit 110 first combines the first designated area A street, searches in the picture data set, and determines A first set of candidate pictures: the acquisition unit 110 then determines the first set of pictures from the first set of candidate pictures according to the facial features of the target person.
在本发明的至少一个实施例中,由于人脸识别技术比较精细、繁琐,需要花费较多的时间进行操作,因此,在本实施例中,所述获取单元110首先结合所述目标人物的穿着特征及所述第一过滤条件在所述图片数据集中搜索,得到所述第一候选图片集后,所述获取单元110再结合所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集。这样不仅节约了搜索的时间,还可以在人流量较大、环境较复杂时快速搜索所述目标人物,提高搜索效率。In at least one embodiment of the present invention, because the face recognition technology is relatively fine and cumbersome, and it takes a lot of time to operate, therefore, in this embodiment, the acquisition unit 110 first combines the clothing of the target person feature and the first filtering condition are searched in the picture data set, and after obtaining the first candidate picture set, the acquisition unit 110 combines the facial features of the target person to obtain the first candidate picture set The first picture set is determined. This not only saves search time, but also can quickly search for the target person when the flow of people is large and the environment is complex, thereby improving search efficiency.
在本发明的至少一个实施例中,根据搜索的结果,所述第一图片集中可以包括一张或者多张图片,本发明不做限制。In at least one embodiment of the present invention, according to the search result, the first picture set may include one or more pictures, which is not limited in the present invention.
所述获取单元110获取第二过滤条件。The obtaining unit 110 obtains the second filter condition.
在本发明的至少一个实施例中,所述第二过滤条件是一个范围较小的过滤条件,所述第二过滤条件的范围可以包括,但不限于:时间、地点等等。具体地,所述第二过滤条件中包括第二指定时间段及第二指定区域,所述第二指定时间段包含于所述第一过滤条件中的第一指定时间段,所述第二指定区域包含于所述第一过滤条件中的第一指定区域。In at least one embodiment of the present invention, the second filter condition is a narrow filter condition, and the scope of the second filter condition may include, but not limited to: time, location and so on. Specifically, the second filter condition includes a second designated time period and a second designated area, the second designated time period is included in the first designated time period in the first filter condition, and the second designated time period The area is included in the first specified area in the first filter condition.
这样,在所述获取单元110已经获取到所述第一图片集后,所述获取单元110还可以根据所述第二过滤条件的进一步限定缩小搜索范围,得到更加精确的搜索结果。In this way, after the acquisition unit 110 has acquired the first picture set, the acquisition unit 110 can further narrow down the search scope according to the further limitation of the second filter condition, so as to obtain more accurate search results.
所述获取单元110根据所述第二过滤条件从所述第一图片集中获取第二图片集。The obtaining unit 110 obtains a second picture set from the first picture set according to the second filter condition.
在本发明的至少一个实施例中,所述获取单元110根据所述第二过滤条件从所述第一图片集中获取第二图片集包括,但不限于以下一种或者多种方式的组合:In at least one embodiment of the present invention, the acquiring unit 110 acquiring the second picture set from the first picture set according to the second filter condition includes, but is not limited to, a combination of one or more of the following methods:
(1)所述获取单元110将所述第一图片集中符合所述第二过滤条件中第二指定时间段内的图片确定为所述第二图片集,所述第二图片集中的图片具有所述第二指定时间段信息,所述第一指定时间段包含所述第二指定时间段。(1) The acquisition unit 110 determines the pictures in the first picture set that meet the second filter condition within the second specified time period as the second picture set, and the pictures in the second picture set have the The second specified time period information, the first specified time period includes the second specified time period.
例如:如果所述获取单元110缩小搜索范围,将所述第二指定时间段设置为上午10时到11时,则所述获取单元110将所述第一图片集中符合所述第二指定时间段10时到11时的图片确定为所述第二图片集。For example: if the acquisition unit 110 narrows down the search range and sets the second specified time period as 10:00 am to 11:00 am, then the acquisition unit 110 will set the first picture set to match the second specified time period The pictures from 10 o'clock to 11 o'clock are determined as the second picture set.
(2)所述获取单元110将所述第一图片集中符合所述第二过滤条件中第二指定区域内的图片确定为所述第二图片集,所述第二图片集中的图片具有所述第二指定时间段信息,所述第一指定区域包含所述第二指定区域。(2) The acquisition unit 110 determines the pictures in the second specified area in the first picture set that meet the second filter condition as the second picture set, and the pictures in the second picture set have the For the second designated time period information, the first designated area includes the second designated area.
例如:如果所述获取单元110缩小搜索范围,将所述第二指定区域设置为A街道的X号到Y号时,则所述获取单元110将所述第一图片集中符合所述第二指定区域A街道的X号到Y号的图片确定为所述第二图片集。For example: if the acquisition unit 110 narrows down the search range and sets the second specified area as the number X to Y of street A, then the acquisition unit 110 will set the first picture set that meets the second specification The pictures from No. X to No. Y of the street in area A are determined as the second picture set.
在本发明的至少一个实施例中,所述电子设备1可以记录所述摄像装置2拍摄每张图片时的时间,或者是,所述摄像装置2在拍摄每张图片时,将拍摄时间显示在每张图片上,所述电子设备1获取所述第一图片集中所包含的每张图片的拍摄时间,并将拍摄时间符合所述第二过滤条件中第二指定时间段内的图片确定为所述第二图片集。In at least one embodiment of the present invention, the electronic device 1 can record the time when the camera 2 takes each picture, or when the camera 2 takes each picture, it displays the shooting time on For each picture, the electronic device 1 acquires the shooting time of each picture contained in the first picture set, and determines the pictures whose shooting time meets the second specified time period in the second filter condition as the taken pictures. Describe the second set of pictures.
通过以上实施方式,当所述用户想要对过滤条件进行进一步地限制时,所述获取单元110可以直接在所述第一图片集的基础上,通过所述第二过滤条件进行时间、地点等的具体限制,既节约了搜索时间,又使搜索更加具有针对性,也更加符合用户的搜索需求。Through the above implementation, when the user wants to further limit the filter conditions, the acquisition unit 110 can directly perform time, place, etc. The specific restrictions, not only saves the search time, but also makes the search more targeted, and more in line with the user's search needs.
当然,在其他实施例中,所述第二过滤条件中也可以包括对服装颜色等的限制,本发明不做限制。例如:如果所述第一过滤条件中的服装颜色是红色与黑色,所述第二过滤条件中的服装颜色是红色,则所述获取单元110可以直接从所述第一图片集中挑选出服装颜色是红色的图片添加到所述第二图片集中,而不需要从所述图片数据集中重新搜索,既减少了工作量,又节约了搜索时间。Of course, in other embodiments, the second filter condition may also include restrictions on clothing color, etc., which is not limited in the present invention. For example: if the clothing colors in the first filter condition are red and black, and the clothing color in the second filter condition is red, then the acquisition unit 110 can directly select the clothing color from the first picture collection The red pictures are added to the second picture set without re-searching from the picture data set, which not only reduces the workload, but also saves search time.
确定单元112根据所述第二图片集所包含图片的数据确定所述目标人物的活动轨迹。The determining unit 112 determines the activity track of the target person according to the data of the pictures included in the second picture set.
在本发明的至少一个实施例中,所述确定单元112根据所述第二图片集所包含图片的数据确定所述目标人物的活动轨迹包括:In at least one embodiment of the present invention, the determining unit 112 determining the activity track of the target person according to the data of the pictures contained in the second picture set includes:
所述确定单元112获取所述第二图片集中每张图片对应的拍摄时间及拍摄地点,并基于每张图片对应的拍摄时间,对所述第二图片集的图片进行排序,确定所述目标人物的活动轨迹。The determining unit 112 acquires the shooting time and shooting location corresponding to each picture in the second picture set, and based on the shooting time corresponding to each picture, sorts the pictures in the second picture set to determine the target person activity track.
在本发明的至少一个实施例中,所述确定单元112可以根据每张图片对应的拍摄时间对所述第二图片集的图片进行排序,这样,所述确定单元112即可得到以时间为顺序的所述目标人物的活动轨迹,从而根据时间顺序预测下一时间所述目标人物可能出现的地点。In at least one embodiment of the present invention, the determining unit 112 can sort the pictures in the second picture set according to the shooting time corresponding to each picture, so that the determining unit 112 can obtain the time order The activity track of the target person, so as to predict the place where the target person may appear in the next time according to the time sequence.
例如:所述确定单元112可以将所述第二图片集的图片按照上午9时到11时的时间段内的拍摄顺序进行排序,这样所述确定单元112就可以按照时间顺序确定所述目标人物在上午9时到11时依次出现的地点,以确定所述目标人物的活动轨迹。For example: the determining unit 112 can sort the pictures in the second picture collection according to the shooting order in the time period from 9:00 am to 11:00 am, so that the determining unit 112 can determine the target person in chronological order From 9:00 am to 11:00 am, the locations appear in sequence to determine the activity track of the target person.
或者是,所述确定单元112获取所述第二图片集中每张图片对应的拍摄时间及拍摄地点,并基于每张图片对应的拍摄地点,对所述第二图片集的图片进行分类,确定所述目标人物的活动轨迹。Alternatively, the determining unit 112 acquires the shooting time and shooting location corresponding to each picture in the second picture set, and classifies the pictures in the second picture set based on the shooting location corresponding to each picture, and determines the Describe the trajectory of the target person's activities.
在本发明的至少一个实施例中,所述确定单元112可以根据每张图片对应的拍摄地点对所述第二图片集的图片进行分类,这样,所述确定单元112即可得到以地点为判断基准的所述目标人物的活动轨迹,从而根据所述目标人物在每个地点出现频率的高低预测所述目标人物接下来可能出现的地点。In at least one embodiment of the present invention, the determining unit 112 can classify the pictures in the second picture set according to the shooting location corresponding to each picture, so that the determining unit 112 can obtain Based on the activity trajectory of the target person, the location where the target person may appear next is predicted according to the frequency of occurrence of the target person at each location.
例如:所述确定单元112可以将所述第二图片集中的每张图片按照对应的拍摄地点分为A街道X号、A街道Y号、A街道Z号等,这样所述确定单元112就可以按照A街道X号、A街道Y号、A街道Z号等地点的连线,确定所述目标人物的活动轨迹。For example: the determination unit 112 can divide each picture in the second picture collection into A street X number, A street Y number, A street Z number, etc. according to the corresponding shooting location, so that the determination unit 112 can According to the connection lines of A Street No. X, A Street No. Y, A Street No. Z, etc., the activity track of the target person is determined.
通过上述以时间或地点确定所述目标人物的活动轨迹的方式,可以清楚的向用户展示搜索结果,便于理解。Through the above method of determining the activity track of the target person by time or place, the search results can be clearly displayed to the user, which is easy to understand.
在本发明的至少一个实施例中,所述确定单元112可以通过与所述电子设备1相通信的摄像装置2获取所述第二图片集中每张图片对应的拍摄时间及拍摄地点,可以理解的是,通过所述第二图片集中每张图片对应的拍摄时间及拍摄地点,就可以确定所述目标人物出现的时间及地点。In at least one embodiment of the present invention, the determining unit 112 may obtain the shooting time and shooting location corresponding to each picture in the second picture set through the camera 2 communicating with the electronic device 1, understandably Yes, the time and place at which the target person appears can be determined through the shooting time and shooting location corresponding to each picture in the second picture set.
具体地,所述确定单元112可以记录所述摄像装置2拍摄所述第二图片集中每张图片时的时间,或者是,所述摄像装置2在拍摄所述第二图片集中的每张图片时,将拍摄时间显示在所述第二图片集中的每张照片上等。Specifically, the determining unit 112 may record the time when the camera 2 captures each picture in the second set of pictures, or when the camera 2 captures each picture in the second set of pictures , displaying the shooting time on each photo in the second picture set, and so on.
具体地,所述确定单元112可以记录所述摄像装置2拍摄所述第二图片集中每张图片时的拍摄地点,并将所述拍摄地点确定为所述目标人物出现的地点。Specifically, the determining unit 112 may record the shooting location when the camera 2 shoots each picture in the second picture set, and determine the shooting location as the location where the target person appears.
在本发明的至少一个实施例中,所述方法还包括:In at least one embodiment of the present invention, the method also includes:
所述获取单元110获取所述目标人物出现的最后位置,所述确定单元112确定所述目标人物在所述最后位置处所述目标人物的运动方向,预测单元113根据所述目标人物的运动方向,预测所述目标人物的活动区域。The acquisition unit 110 acquires the last position where the target person appears, the determination unit 112 determines the movement direction of the target person at the last position, and the prediction unit 113 , to predict the activity area of the target person.
具体地,所述电子设备1可以根据识别出的所述目标人物的身体朝向、腿部的运动趋势、面部朝向等确定所述目标人物的运动方向,或者是通过所述目标人物的交通工具的车头方向确定所述目标人物的运动方向,本发明不做限制。Specifically, the electronic device 1 may determine the direction of movement of the target person according to the recognized body orientation, leg movement tendency, face orientation, etc. of the target person, or the target person's vehicle direction. The direction of the head of the vehicle determines the moving direction of the target person, which is not limited in the present invention.
例如:当所述获取单元110获取到所述目标人物出现的最后位置是A街道X号时,如果所述确定单元112确定所述目标人物在A街道X号的运动方向是向着A街道Y号,则所述预测单元113可以预测所述目标人物的活动区域将由A街道X号到A街道Y号。For example: when the acquiring unit 110 acquires that the last location where the target person appears is Street A No. X, if the determination unit 112 determines that the movement direction of the target person at Street A No. X is toward Street A No. Y , then the predicting unit 113 can predict that the activity area of the target person will be from A Street X to A Street Y.
这样,所述预测单元113可以通过预测所述目标人物的活动区域准确掌握所述目标人物可能出现的区域,并可以在所述可能出现的区域内提前做好相应准备,以配合搜索所述目标人物的搜索目的。例如:当所述目标人物的搜索目的是抓捕所述目标人物时,可以通过预测所述目标人物的活动区域提前做好抓捕准备等。In this way, the prediction unit 113 can accurately grasp the area where the target person may appear by predicting the activity area of the target person, and can make corresponding preparations in advance in the area where the target person may appear to cooperate with the search for the target The person's search purpose. For example: when the target person's search purpose is to capture the target person, preparations for capturing the target person can be made in advance by predicting the activity area of the target person.
在其他实施例中,所述预测单元113还可以判断所述目标人物在所述最后位置处所述目标人物的交通工具的运动方向,并根据所述目标人物的交通工具的运动方向,预测所述目标人物的活动区域。例如:当所述目标人物的搜索目的是跟踪所述目标人物时,所述预测单元113可以在预测的所述目标人物的活动区域内启动摄像装置2,提前做好抓拍准备,达到准确跟踪的目的。In other embodiments, the predicting unit 113 may also determine the moving direction of the vehicle of the target person at the last position, and predict the moving direction of the vehicle of the target person according to the moving direction of the vehicle of the target person. Describe the activity area of the target person. For example: when the search purpose of the target person is to track the target person, the prediction unit 113 can start the camera 2 in the predicted activity area of the target person, and prepare for capturing in advance to achieve accurate tracking. Purpose.
在本发明的至少一个实施例中,所述方法还包括:In at least one embodiment of the present invention, the method also includes:
所述获取单元110实时获取预测的活动区域中的摄像装置2抓拍的图片,所述识别单元111从所述抓拍的图片中识别所述目标人物,跟踪单元114跟踪所述目标人物,当所述目标人物为危险人物时,发送单元115将所述目标人物的活动轨迹及所述目标人物对应的所述预测的活动区域发送至至少一个用户设备。The acquisition unit 110 acquires in real time the pictures captured by the camera device 2 in the predicted activity area, the identification unit 111 identifies the target person from the captured pictures, and the tracking unit 114 tracks the target person, when the When the target person is a dangerous person, the sending unit 115 sends the activity track of the target person and the predicted activity area corresponding to the target person to at least one user equipment.
例如:当所述目标人物是盗窃者时,所述发送单元115可以将所述盗窃者的活动轨迹及所述盗窃者对应的所述预测的活动区域发送至警察局的服务器及所述盗窃者的活动轨迹所涉及的小区安保人员的终端设备上,以提示相关人员及时采取安全防范措施,并且由于进行了所述目标人物的跟踪,也可以辅助相关人员对所述盗窃者进行快速的抓捕。For example: when the target person is a thief, the sending unit 115 can send the thief's activity trajectory and the predicted activity area corresponding to the thief to the server of the police station and the thief. on the terminal equipment of the community security personnel involved in the activity track, to remind the relevant personnel to take security precautions in time, and because of the tracking of the target person, it can also assist the relevant personnel to quickly arrest the thief .
综上所述,本发明能获取目标人物的图片;识别所述目标人物的图片中所述目标人物的人脸特征及穿着特征;获取第一过滤条件;根据所述目标人物的人脸特征及穿着特征,及所述第一过滤条件从图片数据集中获取第一图片集;获取第二过滤条件;根据所述第二过滤条件从所述第一图片集中获取第二图片集;根据所述第二图片集所包含图片的数据确定所述目标人物的活动轨迹。因此,本发明能通过多重过滤条件,并结合所述目标人物的人脸特征及穿着特征,快速、准确地确定所述目标人物的活动轨迹,给用户带来更好的使用体验。In summary, the present invention can obtain a picture of a target person; identify the facial features and clothing features of the target person in the picture of the target person; obtain the first filter condition; Wearing characteristics, and the first filter condition is to obtain the first picture set from the picture data set; to obtain the second filter condition; to obtain the second picture set from the first picture set according to the second filter condition; to obtain the second picture set from the first picture set according to the second filter condition; The data of the pictures included in the second picture set determines the activity track of the target person. Therefore, the present invention can quickly and accurately determine the activity track of the target person through multiple filter conditions, combined with the facial features and clothing features of the target person, and bring better user experience to the user.
如图4所示,是本发明实现人物搜索方法的较佳实施例的电子设备的结构示意图。As shown in FIG. 4 , it is a schematic structural diagram of an electronic device implementing a preferred embodiment of the person search method in the present invention.
所述电子设备1是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(Application SpecificIntegrated Circuit,ASIC)、可编程门阵列(Field-Programmable Gate Array,FPGA)、数字处理器(Digital Signal Processor,DSP)、嵌入式设备等。The electronic device 1 is a device that can automatically perform numerical calculation and/or information processing according to preset or stored instructions, and its hardware includes but is not limited to a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) , Programmable gate array (Field-Programmable Gate Array, FPGA), digital processor (Digital Signal Processor, DSP), embedded devices, etc.
所述电子设备1还可以是但不限于任何一种可与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互的电子产品,例如,个人计算机、平板电脑、智能手机、个人数字助理(Personal Digital Assistant,PDA)、游戏机、交互式网络电视(InternetProtocol Television,IPTV)、智能式穿戴式设备等。The electronic device 1 can also be, but not limited to, any electronic product that can interact with the user through a keyboard, mouse, remote control, touch pad or voice-activated device, such as a personal computer, a tablet computer, a smart phone, etc. , Personal Digital Assistant (PDA), game consoles, Internet Protocol Television (IPTV), smart wearable devices, etc.
所述电子设备1还可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。The electronic device 1 can also be computing devices such as desktop computers, notebooks, palmtop computers, and cloud servers.
所述电子设备1所处的网络包括但不限于互联网、广域网、城域网、局域网、虚拟专用网络(Virtual Private Network,VPN)等。The network where the electronic device 1 is located includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN) and the like.
在本发明的一个实施例中,所述电子设备1包括,但不限于,存储器12、处理器13,以及存储在所述存储器12中并可在所述处理器13上运行的计算机程序,例如人物搜索程序。In one embodiment of the present invention, the electronic device 1 includes, but is not limited to, a memory 12, a processor 13, and a computer program stored in the memory 12 and operable on the processor 13, such as People search program.
本领域技术人员可以理解,所述示意图仅仅是电子设备1的示例,并不构成对电子设备1的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述电子设备1还可以包括输入输出设备、网络接入设备、总线等。Those skilled in the art can understand that the schematic diagram is only an example of the electronic device 1, and does not constitute a limitation to the electronic device 1, and may include more or less components than those shown in the illustration, or combine certain components, or have different Components, for example, the electronic device 1 may also include input and output devices, network access devices, buses, and the like.
所称处理器13可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,所述处理器13是所述电子设备1的运算核心和控制中心,利用各种接口和线路连接整个电子设备1的各个部分,及执行所述电子设备1的操作系统以及安装的各类应用程序、程序代码等。The so-called processor 13 can be a central processing unit (Central Processing Unit, CPU), and can also be other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc., the processor 13 is the computing core and control center of the electronic device 1, and uses various interfaces and lines to connect the entire electronic device 1, and execute the operating system of the electronic device 1 and various installed applications, program codes, etc.
所述处理器13执行所述电子设备1的操作系统以及安装的各类应用程序。所述处理器13执行所述应用程序以实现上述各个人物搜索方法实施例中的步骤,例如图1所示的步骤S10、S11、S12、S13、S14、S15、S16。The processor 13 executes the operating system of the electronic device 1 and various installed application programs. The processor 13 executes the application program to implement the steps in the embodiments of the person search method described above, such as steps S10 , S11 , S12 , S13 , S14 , S15 , and S16 shown in FIG. 1 .
或者,所述处理器13执行所述计算机程序时实现上述各装置实施例中各模块/单元的功能,例如:获取目标人物的图片;识别所述目标人物的图片中所述目标人物的人脸特征及穿着特征;获取第一过滤条件;根据所述目标人物的人脸特征及穿着特征,及所述第一过滤条件从图片数据集中获取第一图片集;获取第二过滤条件;根据所述第二过滤条件从所述第一图片集中获取第二图片集;根据所述第二图片集所包含图片的数据确定所述目标人物的活动轨迹。Alternatively, when the processor 13 executes the computer program, it realizes the functions of each module/unit in the above-mentioned device embodiments, for example: acquiring a picture of the target person; identifying the face of the target person in the picture of the target person Features and wearing features; obtain the first filter condition; obtain the first picture set from the picture data set according to the facial features and wearing features of the target person and the first filter condition; obtain the second filter condition; according to the described The second filter condition is to obtain a second picture set from the first picture set; and determine the activity track of the target person according to the data of the pictures contained in the second picture set.
示例性的,所述计算机程序可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器12中,并由所述处理器13执行,以完成本发明。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序在所述电子设备1中的执行过程。例如,所述计算机程序可以被分割成获取单元110、识别单元111、确定单元112、预测单元113、跟踪单元114、发送单元115。Exemplarily, the computer program can be divided into one or more modules/units, and the one or more modules/units are stored in the memory 12 and executed by the processor 13 to complete this invention. The one or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device 1 . For example, the computer program can be divided into an acquisition unit 110 , an identification unit 111 , a determination unit 112 , a prediction unit 113 , a tracking unit 114 , and a sending unit 115 .
所述存储器12可用于存储所述计算机程序和/或模块,所述处理器13通过运行或执行存储在所述存储器12内的计算机程序和/或模块,以及调用存储在存储器12内的数据,实现所述电子设备1的各种功能。所述存储器12可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器12可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 12 can be used to store the computer programs and/or modules, and the processor 13 runs or executes the computer programs and/or modules stored in the memory 12, and calls the data stored in the memory 12, Various functions of the electronic device 1 are realized. Described memory 12 can mainly comprise storage program area and storage data area, wherein, storage program area can store operating system, the application program (such as sound playback function, image playback function etc.) required by at least one function etc.; Storage data area can be Store data (such as audio data, phone book, etc.) created according to the use of the mobile phone. In addition, the memory 12 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), at least one magnetic disk storage device, flash memory device, or other volatile solid state storage devices.
所述存储器12可以是电子设备1的外部存储器和/或内部存储器。进一步地,所述存储器12可以是集成电路中没有实物形式的具有存储功能的电路,如RAM(Random-AccessMemory,随机存取存储器)、FIFO(First In First Out,)等。或者,所述存储器12也可以是具有实物形式的存储器,如内存条、TF卡(Trans-flash Card)等等。The memory 12 may be an external memory and/or an internal memory of the electronic device 1 . Further, the memory 12 may be a circuit with a storage function that has no physical form in an integrated circuit, such as RAM (Random-Access Memory, random access memory), FIFO (First In First Out,) and the like. Alternatively, the storage 12 may also be a physical storage, such as a memory stick, a TF card (Trans-flash Card) and the like.
所述电子设备1集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。If the integrated modules/units of the electronic device 1 are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the present invention realizes all or part of the processes in the methods of the above embodiments, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer When the program is executed by the processor, the steps in the above-mentioned various method embodiments can be realized.
其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random AccessMemory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, computer-readable media Excludes electrical carrier signals and telecommunication signals.
结合图2,所述电子设备1中的所述存储器12存储多个指令以实现一种人物搜索方法,所述处理器13可执行所述多个指令从而实现:获取目标人物的图片;识别所述目标人物的图片中所述目标人物的人脸特征及穿着特征;获取第一过滤条件;根据所述目标人物的人脸特征及穿着特征,及所述第一过滤条件从图片数据集中获取第一图片集;获取第二过滤条件;根据所述第二过滤条件从所述第一图片集中获取第二图片集;根据所述第二图片集所包含图片的数据确定所述目标人物的活动轨迹。Referring to FIG. 2 , the memory 12 in the electronic device 1 stores a plurality of instructions to implement a person search method, and the processor 13 can execute the plurality of instructions to realize: acquiring a picture of a target person; The facial features and clothing features of the target person in the picture of the target person; obtain the first filter condition; obtain the first filter condition from the picture data set according to the facial features and clothing features of the target person and the first filter condition A set of pictures; acquiring a second filter condition; acquiring a second set of pictures from the first set of pictures according to the second filter condition; determining the activity trajectory of the target person according to the data of the pictures contained in the second set of pictures .
根据本发明优选实施例,所述处理器13还执行多个指令包括:According to a preferred embodiment of the present invention, the processor 13 also executes a plurality of instructions including:
从所述目标人物的图片中确定服装区域,对所述服装区域内服装的特征进行提取,所述服装的特征包括服装的款式、颜色及颜色比例,将提取的特征与预先训练的服装特征模型中的相应特征进行匹配,以确定所述目标人物的包括所述款式、颜色及颜色比例信息的穿着特征。Determine the clothing area from the picture of the target person, and extract the features of the clothing in the clothing area. The features of the clothing include the style, color and color ratio of the clothing, and combine the extracted features with the pre-trained clothing feature model. Match the corresponding features of the target person to determine the wearing features of the target person including the style, color and color ratio information.
根据本发明优选实施例,所述处理器13还执行多个指令包括:According to a preferred embodiment of the present invention, the processor 13 also executes a plurality of instructions including:
根据所述第一过滤条件中包含的第一指定时间段,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定时间段信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征;及/或According to the first designated time period contained in the first filter condition, search in the picture data set and determine a first candidate picture set, the pictures in the first candidate picture set have the information of the first designated time period ; According to the facial features of the target person, determine the first picture set from the first candidate picture set, and each face in the first picture set has the facial features; and/or
根据所述目标人物的穿着特征及所述第一过滤条件中包含的第一指定服装颜色,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定服装颜色信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征;及/或According to the wearing characteristics of the target person and the first designated clothing color included in the first filter condition, search in the picture data set, and determine a first candidate picture set, the pictures in the first candidate picture set have The first designated clothing color information; according to the facial features of the target person, determine the first picture set from the first candidate picture set, each face in the first picture set has the facial features; and/or
根据所述目标人物的穿着特征及所述第一过滤条件中包含的第一指定服装颜色比例,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定服装颜色比例信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征;及/或According to the wearing characteristics of the target person and the first designated clothing color ratio contained in the first filter condition, search in the picture data set, and determine the first candidate picture set, the pictures in the first candidate picture set Having the first specified clothing color ratio information; according to the facial features of the target person, determining the first picture set from the first candidate picture set, each face in the first picture set has the facial features; and/or
根据所述目标人物的穿着特征及所述第一过滤条件中包含的第一指定服装款式,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定服装款式信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征;及/或According to the wearing characteristics of the target person and the first designated clothing style included in the first filter condition, search in the picture data set, and determine a first candidate picture set, the pictures in the first candidate picture set have The first designated clothing style information; according to the facial features of the target person, determine the first picture set from the first candidate picture set, each face in the first picture set has the facial features; and/or
根据所述第一过滤条件中包含的第一指定区域,在所述图片数据集中搜索,并确定第一候选图片集,所述第一候选图片集中的图片具有所述第一指定区域信息;根据所述目标人物的人脸特征,从所述第一候选图片集中确定所述第一图片集,所述第一图片集中的每张人脸均具有所述人脸特征。According to the first designated area contained in the first filter condition, search in the picture data set, and determine a first candidate picture set, the pictures in the first candidate picture set have the information of the first designated area; according to For the facial features of the target person, the first picture set is determined from the first candidate picture set, and each face in the first picture set has the human face feature.
根据本发明优选实施例,所述处理器13还执行多个指令包括:According to a preferred embodiment of the present invention, the processor 13 also executes a plurality of instructions including:
将所述第一图片集中符合所述第二过滤条件中第二指定时间段内的图片确定为所述第二图片集,所述第二图片集中的图片具有所述第二指定时间段信息,所述第一指定时间段包含所述第二指定时间段;及/或Determining the pictures in the first picture set that meet the second filter condition within a second specified time period as the second picture set, and the pictures in the second picture set have information about the second specified time period, said first specified time period includes said second specified time period; and/or
将所述第一图片集中符合所述第二过滤条件中第二指定区域内的图片确定为所述第二图片集,所述第二图片集中的图片具有所述第二指定区域信息,所述第一指定区域包含所述第二指定区域。Determining the pictures in the first picture set that meet the second filter condition in the second specified area as the second picture set, the pictures in the second picture set have the information of the second specified area, the The first specified area includes the second specified area.
根据本发明优选实施例,所述处理器13还执行多个指令包括:According to a preferred embodiment of the present invention, the processor 13 also executes a plurality of instructions including:
获取所述第二图片集中每张图片对应的拍摄时间及拍摄地点;Obtain the shooting time and shooting location corresponding to each picture in the second picture set;
基于每张图片对应的拍摄时间,对所述第二图片集的图片进行排序,确定所述目标人物的活动轨迹;或sorting the pictures in the second picture set based on the shooting time corresponding to each picture, and determining the activity track of the target person; or
基于每张图片对应的拍摄地点,对所述第二图片集的图片进行分类,确定所述目标人物的活动轨迹。Classify the pictures in the second picture set based on the shooting location corresponding to each picture, and determine the activity track of the target person.
根据本发明优选实施例,所述处理器13还执行多个指令包括:According to a preferred embodiment of the present invention, the processor 13 also executes a plurality of instructions including:
获取所述目标人物出现的最后位置;Obtain the last location where the target person appears;
确定所述目标人物在所述最后位置处所述目标人物的运动方向;determining a direction of movement of the target person at the final location;
根据所述目标人物的运动方向,预测所述目标人物的活动区域。According to the movement direction of the target person, the activity area of the target person is predicted.
根据本发明优选实施例,所述处理器13还执行多个指令包括:According to a preferred embodiment of the present invention, the processor 13 also executes a plurality of instructions including:
实时获取预测的活动区域中的摄像装置抓拍的图片;Real-time acquisition of pictures captured by the camera device in the predicted activity area;
从所述抓拍的图片中识别所述目标人物,并跟踪所述目标人物;identifying the target person from the captured picture, and tracking the target person;
当所述目标人物为危险人物时,将所述目标人物的活动轨迹及所述目标人物对应的所述预测的活动区域发送至至少一个用户设备。When the target person is a dangerous person, sending the activity track of the target person and the predicted activity area corresponding to the target person to at least one user equipment.
具体地,所述处理器13对上述指令的具体实现方法可参考图2对应实施例中相关步骤的描述,在此不赘述。Specifically, for the specific implementation method of the above instruction by the processor 13, reference may be made to the description of the relevant steps in the embodiment corresponding to FIG. 2 , which will not be repeated here.
在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each unit may physically exist separately, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software function modules.
对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。It will be apparent to those skilled in the art that the invention is not limited to the details of the above-described exemplary embodiments, but that the invention can be embodied in other specific forms without departing from the spirit or essential characteristics of the invention.
因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附关联图标记视为限制所涉及的权利要求。Accordingly, the embodiments should be regarded in all points of view as exemplary and not restrictive, the scope of the invention being defined by the appended claims rather than the foregoing description, and it is therefore intended that the scope of the invention be defined by the appended claims rather than by the foregoing description. All changes within the meaning and range of equivalents of the elements are embraced in the present invention. Any reference sign in a claim should not be construed as limiting the claim concerned.
此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第二等词语用来表示名称,而并不表示任何特定的顺序。In addition, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or devices stated in the system claims may also be realized by one unit or device through software or hardware. Secondary terms are used to denote names without implying any particular order.
最后应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent replacements can be made without departing from the spirit and scope of the technical solutions of the present invention.
Claims (10)
- A kind of 1. people search method, it is characterised in that the described method includes:Obtain the picture of target person;Identify the face characteristic of target person described in the picture of the target person and wear feature;Obtain the first filter condition;According to the face characteristic of the target person and feature is worn, and first filter condition is concentrated from image data and obtained First pictures;Obtain the second filter condition;Second picture collection is obtained from first pictures according to second filter condition;The data for including picture according to the second picture collection determine the event trace of the target person.
- 2. people search method as claimed in claim 1, it is characterised in that institute in the picture of the identification target person Stating the feature of wearing of target person includes:Clothes region is determined from the picture of the target person, the feature of clothes in the clothes region is extracted, institute Stating the feature of clothes includes style, color and the color-ratio of clothes, by the feature of extraction and garment feature mould trained in advance Individual features in type are matched, and include the style, color and color-ratio information with determine the target person Wear feature.
- 3. people search method as claimed in claim 1, it is characterised in that the face characteristic according to the target person And feature is worn, and first filter condition concentrates the first pictures of acquisition to include following one or more from image data Combination:According to the first specified time section included in first filter condition, concentrate and search in the image data, and determine First candidate's pictures, the picture in the first candidate pictures have the first specified time segment information;According to described The face characteristic of target person, determines first pictures, in first pictures from the first candidate pictures Every face be respectively provided with the face characteristic;And/orAccording to the target person wear included in feature and first filter condition first specify clothing color, in institute State image data and concentrate search, and determine first candidate's pictures, the picture in the first candidate pictures has described the One specifies clothing color information;According to the face characteristic of the target person, determined from the first candidate pictures described First pictures, every face in first pictures are respectively provided with the face characteristic;And/orAccording to the target person wear included in feature and first filter condition first specify clothing color ratio, Concentrate and search in the image data, and determine first candidate's pictures, the picture in the first candidate pictures has institute State first and specify clothing color percent information;According to the face characteristic of the target person, from the first candidate pictures Determine first pictures, every face in first pictures is respectively provided with the face characteristic;And/orAccording to the target person wear included in feature and first filter condition first specify clothes fashion, in institute State image data and concentrate search, and determine first candidate's pictures, the picture in the first candidate pictures has described the One specifies clothes fashion information;According to the face characteristic of the target person, determined from the first candidate pictures described First pictures, every face in first pictures are respectively provided with the face characteristic;And/orRegion is specified according to first included in first filter condition, concentrates and searches in the image data, and determines the One candidate's pictures, the picture in the first candidate pictures have described first to specify area information;According to the target The face characteristic of personage, determines first pictures from the first candidate pictures, every in first pictures Open face and be respectively provided with the face characteristic.
- 4. people search method as claimed in claim 1, it is characterised in that it is described according to second filter condition from described Second picture collection is obtained in first pictures includes following one or more kinds of combination:The picture met in first pictures in second filter condition in the second specified time section is determined as described Second picture collection, the picture that the second picture is concentrated have the second specified time segment information, first specified time Section includes second specified time section;And/orSecond will be met in second filter condition in first pictures specifies the picture in region to be determined as described the Two pictures, the picture that the second picture is concentrated have described second to specify area information, and described first specifies region to include Described second specifies region.
- 5. people search method as claimed in claim 1, it is characterised in that described that figure is included according to the second picture collection The data of piece determine that the event trace of the target person includes:The second picture is obtained to concentrate per the corresponding shooting time of pictures and spot for photography;Based on the corresponding shooting time of every pictures, the picture of the second picture collection is ranked up, determines the target person The event trace of thing;OrBased on the corresponding spot for photography of every pictures, classify to the picture of the second picture collection, determine the target person The event trace of thing.
- 6. people search method as claimed in claim 5, it is characterised in that the method further includes:Obtain the rearmost position that the target person occurs;Determine the direction of motion of target person target person at the rearmost position;According to the direction of motion of the target person, the zone of action of the target person is predicted.
- 7. people search method as claimed in claim 6, it is characterised in that the method further includes:The picture that the camera device in the zone of action of prediction is captured is obtained in real time;The target person is identified from the picture of the candid photograph, and tracks the target person;When the target person is dangerous person, by the event trace of the target person and the corresponding institute of the target person The zone of action for stating prediction is sent at least one user equipment.
- 8. a kind of people search device, it is characterised in that described device includes:Acquiring unit, for obtaining the picture of target person;Recognition unit, for identifying the face characteristic of target person described in the picture of the target person and wearing feature;The acquiring unit, is additionally operable to obtain the first filter condition;The acquiring unit, is additionally operable to according to the face characteristic of the target person and wears feature, and first filtering rod Part is concentrated from image data and obtains the first pictures;The acquiring unit, is additionally operable to obtain the second filter condition;The acquiring unit, is additionally operable to obtain second picture collection from first pictures according to second filter condition;Determination unit, the data for including picture according to the second picture collection determine the active rail of the target person Mark.
- 9. a kind of electronic equipment, it is characterised in that the electronic equipment includes:Memory, stores at least one instruction;AndProcessor, performs the instruction that is stored in the memory to realize personage as claimed in any of claims 1 to 7 in one of claims Searching method.
- A kind of 10. computer-readable recording medium, it is characterised in that:At least one is stored with the computer-readable recording medium A instruction, at least one instruction are performed by the processor in electronic equipment to realize such as any one in claim 1 to 7 The people search method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711310435.6A CN107992591A (en) | 2017-12-11 | 2017-12-11 | People search method and device, electronic equipment and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711310435.6A CN107992591A (en) | 2017-12-11 | 2017-12-11 | People search method and device, electronic equipment and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107992591A true CN107992591A (en) | 2018-05-04 |
Family
ID=62035781
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711310435.6A Pending CN107992591A (en) | 2017-12-11 | 2017-12-11 | People search method and device, electronic equipment and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107992591A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108733819A (en) * | 2018-05-22 | 2018-11-02 | 深圳云天励飞技术有限公司 | A kind of personnel's archives method for building up and device |
CN109829418A (en) * | 2019-01-28 | 2019-05-31 | 北京影谱科技股份有限公司 | A kind of punch card method based on figure viewed from behind feature, device and system |
CN110647642A (en) * | 2019-09-25 | 2020-01-03 | 上海依图网络科技有限公司 | Retrieval system and method for improving performance through structured information pre-filtering control library |
CN110874421A (en) * | 2018-08-28 | 2020-03-10 | 深圳云天励飞技术有限公司 | Target analysis method, device, electronic device and storage medium |
CN110990609A (en) * | 2019-12-13 | 2020-04-10 | 云粒智慧科技有限公司 | Searching method, searching device, electronic equipment and storage medium |
CN111798341A (en) * | 2020-06-30 | 2020-10-20 | 深圳市幸福人居建筑科技有限公司 | Green property management method, system computer equipment and storage medium thereof |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102204814A (en) * | 2010-03-30 | 2011-10-05 | 索尼公司 | Information processing device, image output method, and program |
CN102469303A (en) * | 2010-11-12 | 2012-05-23 | 索尼公司 | Video surveillance |
CN102982323A (en) * | 2012-12-19 | 2013-03-20 | 重庆信科设计有限公司 | Quick gait recognition method |
CN103713316A (en) * | 2012-10-09 | 2014-04-09 | 中国石油天然气股份有限公司 | Speed prediction method and device based on rock pore digital representation |
CN103886506A (en) * | 2012-12-20 | 2014-06-25 | 联想(北京)有限公司 | Information processing method and electronic device |
CN104091148A (en) * | 2014-06-16 | 2014-10-08 | 联想(北京)有限公司 | Facial feature point positioning method and device |
CN106295618A (en) * | 2016-08-26 | 2017-01-04 | 亨特瑞(昆山)新材料科技有限公司 | A kind of personal identification method and device based on video image |
CN107358146A (en) * | 2017-05-22 | 2017-11-17 | 深圳云天励飞技术有限公司 | Method for processing video frequency, device and storage medium |
CN107392138A (en) * | 2017-07-18 | 2017-11-24 | 上海与德科技有限公司 | A kind of display methods and device |
CN107392162A (en) * | 2017-07-27 | 2017-11-24 | 京东方科技集团股份有限公司 | Dangerous person's recognition methods and device |
-
2017
- 2017-12-11 CN CN201711310435.6A patent/CN107992591A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102204814A (en) * | 2010-03-30 | 2011-10-05 | 索尼公司 | Information processing device, image output method, and program |
CN102469303A (en) * | 2010-11-12 | 2012-05-23 | 索尼公司 | Video surveillance |
CN103713316A (en) * | 2012-10-09 | 2014-04-09 | 中国石油天然气股份有限公司 | Speed prediction method and device based on rock pore digital representation |
CN102982323A (en) * | 2012-12-19 | 2013-03-20 | 重庆信科设计有限公司 | Quick gait recognition method |
CN103886506A (en) * | 2012-12-20 | 2014-06-25 | 联想(北京)有限公司 | Information processing method and electronic device |
CN104091148A (en) * | 2014-06-16 | 2014-10-08 | 联想(北京)有限公司 | Facial feature point positioning method and device |
CN106295618A (en) * | 2016-08-26 | 2017-01-04 | 亨特瑞(昆山)新材料科技有限公司 | A kind of personal identification method and device based on video image |
CN107358146A (en) * | 2017-05-22 | 2017-11-17 | 深圳云天励飞技术有限公司 | Method for processing video frequency, device and storage medium |
CN107392138A (en) * | 2017-07-18 | 2017-11-24 | 上海与德科技有限公司 | A kind of display methods and device |
CN107392162A (en) * | 2017-07-27 | 2017-11-24 | 京东方科技集团股份有限公司 | Dangerous person's recognition methods and device |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108733819A (en) * | 2018-05-22 | 2018-11-02 | 深圳云天励飞技术有限公司 | A kind of personnel's archives method for building up and device |
CN108733819B (en) * | 2018-05-22 | 2021-07-06 | 深圳云天励飞技术有限公司 | Personnel archive establishing method and device |
CN110874421A (en) * | 2018-08-28 | 2020-03-10 | 深圳云天励飞技术有限公司 | Target analysis method, device, electronic device and storage medium |
CN109829418A (en) * | 2019-01-28 | 2019-05-31 | 北京影谱科技股份有限公司 | A kind of punch card method based on figure viewed from behind feature, device and system |
CN109829418B (en) * | 2019-01-28 | 2021-01-05 | 北京影谱科技股份有限公司 | A method, device and system for punching cards based on back features |
CN110647642A (en) * | 2019-09-25 | 2020-01-03 | 上海依图网络科技有限公司 | Retrieval system and method for improving performance through structured information pre-filtering control library |
WO2021056888A1 (en) * | 2019-09-25 | 2021-04-01 | 上海依图网络科技有限公司 | Retrieval system and method for improving performance by structured information pre-filtering deploy and control library |
CN110990609A (en) * | 2019-12-13 | 2020-04-10 | 云粒智慧科技有限公司 | Searching method, searching device, electronic equipment and storage medium |
CN110990609B (en) * | 2019-12-13 | 2023-06-16 | 云粒智慧科技有限公司 | Searching method, searching device, electronic equipment and storage medium |
CN111798341A (en) * | 2020-06-30 | 2020-10-20 | 深圳市幸福人居建筑科技有限公司 | Green property management method, system computer equipment and storage medium thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107992591A (en) | People search method and device, electronic equipment and computer-readable recording medium | |
CN110119673B (en) | Non-inductive face attendance checking method, device, equipment and storage medium | |
US20210357678A1 (en) | Information processing method and apparatus, and storage medium | |
CN104582187B (en) | Based on the record of recognition of face and Expression Recognition and lamp light control system and method | |
US11100368B2 (en) | Accelerated training of an image classifier | |
JP2020503604A (en) | Appearance search system and method | |
CN110866236B (en) | Private picture display method, device, terminal and storage medium | |
CN111047621A (en) | Target object tracking method, system, equipment and readable medium | |
CN105183758A (en) | Content recognition method for continuously recorded video or image | |
Elharrouss et al. | FSC-set: counting, localization of football supporters crowd in the stadiums | |
CN110929619A (en) | Target object tracking method, system and device based on image processing and readable medium | |
WO2020119254A1 (en) | Method and device for filter recommendation, electronic equipment, and storage medium | |
JPWO2020136795A1 (en) | Information processing equipment, information processing methods, and programs | |
CN108288025A (en) | A kind of car video monitoring method, device and equipment | |
CN108563651A (en) | A kind of Target Searching Method, device and the equipment of more videos | |
CN106529500A (en) | Information processing method and system | |
CN108108711A (en) | Face supervision method, electronic equipment and storage medium | |
CN111860082A (en) | Information processing method, device and system | |
CN110889346B (en) | Intelligent tracking method, system, equipment and readable medium | |
CN107666573A (en) | The method for recording of object video and device, computing device under camera scene | |
CN112732961B (en) | Image classification method and device | |
WO2019242156A1 (en) | Method and device for controlling application in terminal, and computer readable storage medium | |
JP2004127285A (en) | Image recognition apparatus, image recognition processing method and image recognition program | |
JP2019185205A (en) | Information processor and information processing method and program | |
JP2015139001A (en) | Information processing device, information processing method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180504 |