Face recognition task equalization invocation method, device and terminal device
A technology of face recognition and task balance, applied in the direction of multi-program device, character and pattern recognition, program control design, etc., can solve the problem of low performance of face comparison service, to avoid service overload, improve performance, control The effect of throughput
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] figure 1 It shows the implementation flow of a face recognition task balance calling method provided by an embodiment of the present invention, and the process is described in detail as follows:
[0028] In S101, a face recognition comparison record without face comparison is acquired from the face recognition task table as a first record.
[0029] In this embodiment, the face recognition task table includes the face recognition comparison record that has been compared with the face and the face recognition comparison record that has not been performed. Extract a preset number of face recognition comparison records for face comparison.
[0030] Taking a specific application scenario as an example, the preset number of extractions can be 50. When the number of face recognition comparison records that have not been compared in the face recognition task table exceeds 50, the acquisition time will be the first according to the record generation time. The 50 face recogniti...
Embodiment 2
[0068] Such as Figure 5 As shown, an embodiment of the present invention provides a face recognition task balance calling device 100 for performing figure 1 The method step in the corresponding embodiment, it comprises:
[0069] The first record obtaining module 110 is used to obtain the face recognition comparison record without face comparison from the face recognition task table as the first record;
[0070] The first thread starting module 120 is used to determine the number of threads that need to be started according to the quantity of the first record, and use the thread that needs to be started as the first thread;
[0071] The result acquisition module 130 is configured to assign a first thread to each first record to perform face comparison, and obtain a face comparison result corresponding to each first record.
[0072] As can be seen from the above-mentioned embodiments, the embodiment of the present invention firstly obtains the face recognition comparison reco...
Embodiment 3
[0091] The embodiment of the present invention also provides a terminal device 6, including a memory 61, a processor 60, and a computer program 62 stored in the memory 61 and operable on the processor 60, and the processor 60 executes the computer program 62 When realizing the steps in each embodiment as described in embodiment 1, for example figure 1 Step S101 to step S103 are shown. Alternatively, when the processor 60 executes the computer program 62, it realizes the functions of each module in each device embodiment as described in Embodiment 2, for example Figure 5 The functions of modules 110 to 130 are shown.
[0092] The terminal device 6 may be computing devices such as desktop computers, notebooks, palmtop computers, and cloud servers. The terminal device 6 may include, but not limited to, a processor 60 and a memory 61 . For example, the terminal device 6 may also include an input and output device, a network access device, a bus, and the like.
[0093] The so-...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com