WO2016141803A1 - 图像识别加速器、终端设备及图像识别方法 - Google Patents
图像识别加速器、终端设备及图像识别方法 Download PDFInfo
- Publication number
- WO2016141803A1 WO2016141803A1 PCT/CN2016/074240 CN2016074240W WO2016141803A1 WO 2016141803 A1 WO2016141803 A1 WO 2016141803A1 CN 2016074240 W CN2016074240 W CN 2016074240W WO 2016141803 A1 WO2016141803 A1 WO 2016141803A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image recognition
- parameter
- adjusted
- image data
- success rate
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/94—Hardware or software architectures specially adapted for image or video understanding
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/20—Processor architectures; Processor configuration, e.g. pipelining
Definitions
- the present invention relates to the field of computer technologies, and in particular, to an image recognition accelerator, a terminal device, and an image recognition method.
- Image recognition technology is an important area of artificial intelligence.
- Image recognition refers to the technique of processing and analyzing images using a computer to identify various targets and objects.
- the demand for real-time image data analysis in mobile devices has gradually increased.
- image data analysis consumes more system resources, the limited battery life of mobile devices limits the application of image data analysis on mobile devices.
- an image data processing method in the prior art is to reduce the write current of image data into a static random access memory (SRAM). Reduce system power consumption.
- SRAM static random access memory
- the error rate of the data stored in the SRAM also increases.
- the system power consumption is reduced when data is written, the computational complexity of the CPU in the image recovery process is high, and system resources are wasted.
- the SRAM needs to remain powered. Therefore, the SRAM still has static power consumption, and the above image data processing method cannot completely eliminate the static power consumption required when the SRAM holds data. Therefore, in general, when the image data processing method is used to process image data, the system power consumption is still large.
- An image recognition accelerator, a terminal device and an image recognition method provided in the embodiments of the present invention can ensure the accuracy of image recognition on the basis of reducing the system power consumption of the terminal device.
- an embodiment of the present invention provides an image recognition accelerator for identifying an image in a terminal device, including:
- a dimensionality reduction processing module configured to reduce a dimension of the first image data according to the set dimensionality reduction parameter ⁇ , wherein the reduced dimensional first image data includes a plurality of values;
- a non-volatile memory NVM configured to store the low ⁇ bit of each value of the reduced dimensional first image data in the first storage area of the NVM according to the set first current I, and the dimension after the dimension reduction
- the high (N- ⁇ ) bit of each value of an image data is stored in the second storage area of the NVM according to the set second current I s , where N is the bit occupied by each value, and ⁇ is the setting.
- Width parameter, the first current I is smaller than the second current I s , the dimensionality reduction parameter ⁇ , the width parameter ⁇ , and the first current I are identified according to the system power consumption and the first image of the terminal device Success rate is obtained;
- an image matching module configured to determine whether image data stored in the image library stored in the NVM includes image data that matches the reduced dimensional first image data.
- the image recognition accelerator further includes: a parameter adjustment module, configured to: if the statistical image recognition success rate and the set second image recognition success rate Adjusting the success rate of the difference between the second image recognition success rate and the system power consumption of the terminal device according to the second image recognition success rate: the dimension reduction parameter ⁇ , the width parameter ⁇ , and the first current I, wherein the second image recognition success rate is different from the first image recognition success rate;
- the dimension reduction processing module is further configured to reduce a dimension of the second image data according to the adjusted dimensionality reduction parameter ⁇ ';
- the non-volatile memory NVM is further configured to store the low ⁇ ' bit of each value of the reduced dimensional second image data in the first storage area of the NVM according to the adjusted first current I′, The high (N- ⁇ ') bit of each value of the second image data after the dimension is stored in the second storage area of the NVM according to the second current I s , where ⁇ ' is the adjusted width parameter, The I' is smaller than the I s ;
- the image matching module is further configured to determine whether image data stored in the image library stored in the NVM includes image data that matches the reduced dimensional second image data.
- the dimension reduction processing module is specifically configured to:
- the parameter adjustment module is specifically configured to:
- the difference between the statistical image recognition success rate and the second image recognition success rate is greater than a preset threshold, respectively adjusting the dimension reduction parameter ⁇ , the width parameter ⁇ , or the value of the first current I to reduce the system
- the power consumption E is obtained, and the adjusted image recognition success rate is respectively obtained, wherein the value of the E is proportional to the value of ⁇ ((N- ⁇ )*I s 2 + ⁇ *I);
- an embodiment of the present invention provides a terminal device, where the terminal device includes a CPU and an image recognition accelerator, where the CPU is configured to send, to the image recognition accelerator, first image data to be identified;
- the image recognition accelerator is configured to reduce the dimension of the first image data according to the set dimensionality reduction parameter ⁇ , wherein the dimensionally reduced first image data includes a plurality of values;
- the high (N- ⁇ ) bit is stored in the second storage area of the NVM according to the set second current I s , where N is the bit occupied by each value, and ⁇ is the set width parameter, and the I Less than the I s , the dimensionality reduction parameter ⁇ , the width parameter ⁇ , and the first current I are obtained according to the system power consumption of the terminal device and the set first image recognition success rate;
- the image recognition accelerator is further configured to: if a difference between a statistical image recognition success rate and a set second image recognition success rate The absolute value is greater than the preset threshold, and the at least one parameter is adjusted according to the second image recognition success rate and the system power consumption of the terminal device: a dimension reduction parameter ⁇ , a width parameter ⁇ , and a first current I, where The second image recognition success rate is different from the first image recognition success rate;
- the CPU is further configured to send second image data to the image recognition accelerator
- the image recognition accelerator is further configured to:
- the low ⁇ ' bit of each value of the reduced dimensional second image data is stored in the first storage area of the NVM according to the adjusted first current I′, and each value of the second image data after the dimensionality reduction is The high (N- ⁇ ') bit is stored in the second storage area of the NVM according to the second current I s , wherein ⁇ ′ is an adjusted width parameter, and the I′ is smaller than the I s;
- the CPU is further used for Calculating a matching result of the image recognition accelerator output during a preset statistical period, obtaining a statistical image recognition success rate; determining a difference between the statistical image recognition success rate and the set second image recognition success rate The absolute value is greater than the preset threshold;
- the image recognition accelerator is further configured to adjust at least one parameter according to the second image recognition success rate and the system power consumption of the terminal device: a dimension reduction parameter ⁇ , a width parameter ⁇ , and a first current I, wherein The second image recognition success rate is different from the first image recognition success rate;
- the CPU is further configured to send second image data to the image recognition accelerator
- the image recognition accelerator is further configured to reduce a dimension of the second image data according to the adjusted dimensionality reduction parameter ⁇ ';
- the low ⁇ ' bit of each value of the reduced dimensional second image data is stored in the first storage area of the NVM according to the adjusted first current I′, and each value of the second image data after the dimensionality reduction is The high (N- ⁇ ') bit is stored in the second storage area of the NVM according to the second current I s , wherein the ⁇ ′ is an adjusted width parameter, and the I′ is smaller than the I s ;
- the CPU is further configured to:
- the second image recognition success rate Determining at least one parameter: a dimensionality reduction parameter ⁇ , a width parameter ⁇ , and a first current I, wherein the second image recognition success rate is different from the first image recognition success rate;
- the image recognition accelerator is further configured to:
- the low ⁇ ' bit of each value of the reduced dimensional second image data is stored in the first storage area of the NVM according to the adjusted first current I′, and each value of the second image data after the dimensionality reduction is The high (N- ⁇ ') bit is stored in the second storage area of the NVM according to the second current I s , wherein ⁇ ′ is an adjusted width parameter, and the I′ is smaller than the I s;
- the image recognition accelerator is specifically configured to:
- the image recognition accelerator is specifically configured to:
- the CPU is specifically configured to:
- an embodiment of the present invention provides an image recognition method applied to a terminal device, where the method is performed by an image recognition accelerator in the terminal device, and the method includes:
- the low ⁇ bit of each value of the dimensionally reduced first image data according to the set first current I and the dimension reduction
- the high (N- ⁇ ) bit of each value of an image data is stored in the second storage area of the NVM according to the set second current I s , where N is the bit occupied by each value, and ⁇ is the setting.
- Width parameter, the I is smaller than the I s , the dimensionality reduction parameter ⁇ , the width parameter ⁇ , and the first current I are obtained according to the system power consumption of the terminal device and the set first image recognition success rate;
- the method further includes:
- Adjusting at least one parameter according to the second image recognition success rate and the system power consumption of the terminal device a dimensionality reduction parameter ⁇ , a width parameter ⁇ , and a first current I, wherein the second image recognition success rate is The first image recognition success rate is different;
- the low ⁇ ' bit of each value of the reduced dimensional second image data is stored in the first storage area of the NVM according to the adjusted first current I′, and each value of the second image data after the dimensionality reduction is The high (N- ⁇ ') bit is stored in the second storage area of the NVM according to the second current I s , wherein ⁇ ′ is an adjusted width parameter, and the I′ is smaller than the I s ;
- the reducing the dimension of the first image data according to the set dimensionality reduction parameter ⁇ includes:
- the determining success rate according to the second image And adjusting, by the system power consumption of the terminal device, at least one parameter: a dimension reduction parameter ⁇ , a width parameter ⁇ , and a first current I, including:
- an embodiment of the present invention provides a computer program product, comprising: a computer readable storage medium storing program code, the program code comprising instructions for performing the method described in the foregoing third aspect.
- the present application provides yet another image recognition accelerator for identifying an image in a terminal device.
- the image recognition accelerator includes a dimensionality reduction processing module, a non-volatile memory NVM, and an image matching module.
- the dimension reduction processing module is configured to receive the dimension reduction parameter ⁇ , and reduce the dimension of the first image data according to the received dimension reduction parameter ⁇ , wherein the dimension reduction first image data includes a plurality of values, and the dimension reduction parameter ⁇ It is obtained according to the system power consumption of the terminal device and the set first image recognition success rate.
- the non-volatile memory NVM is configured to receive the width parameter ⁇ and the first current I, and obtain the storage bit number S according to the received width parameter ⁇ , and then lower the value of each of the dimensionally reduced first image data.
- the S bit is stored in the first storage area of the NVM according to the set first current I
- the high (NS) bit of each value of the dimensionally reduced first image data is stored in the second current I s according to the set.
- a second storage area of the NVM wherein N is a bit occupied by each value, the first current I is smaller than the second current I s , and the width parameter ⁇ and the first current I are based on The system power consumption of the terminal device and the set first image recognition success rate are obtained.
- the image matching module is configured to determine whether image data stored in the image library stored in the NVM includes image data that matches the reduced dimensional first image data.
- the image recognition accelerator further includes a parameter adjustment module.
- the parameter adjustment module is configured to adjust at least one parameter according to the set first image recognition success rate and the system power consumption of the terminal device: a dimension reduction parameter, a width parameter, and a value of the first current to obtain an adjustment
- the subsequent dimensionality reduction parameter ⁇ , the width parameter ⁇ , and the first current I, and the adjusted dimensionality reduction parameter ⁇ is sent to the dimensionality reduction processing module, and the adjusted width parameter ⁇ and the adjusted The first current I is sent to the NVM.
- the parameter adjustment module is specifically configured to: separately adjust the dimension reduction parameter, the width parameter, or the value of the first current And respectively obtaining a plurality of adjusted image recognition success rates and a plurality of adjusted system power consumptions, each adjusted image recognition success rate corresponding to each adjusted system power consumption; determining each image after adjustment Determining a difference between the success rate and the first image recognition success rate, and selecting at least one adjusted corresponding to the at least one adjusted image recognition success rate that the absolute value of the difference is not greater than the preset threshold Minimum system power consumption in system power consumption; selecting a dimension reduction parameter, a width parameter, and a value of the first current that obtain a maximum image recognition success rate when the minimum system power consumption is satisfied as the adjusted a dimension reduction parameter ⁇ , the width parameter ⁇ , and the first current I, and transmitting the adjusted dimensionality reduction parameter ⁇ to the dimensionality reduction processing module, and the adjusted width parameter ⁇ and the A first current I is sent to the N
- An image recognition accelerator applied to a terminal device for performing image recognition according to an embodiment of the present invention includes a dimensionality reduction processing module, an NVM, and an image matching module.
- the dimension of the first image data is first reduced by the dimensionality reduction processing module according to the set dimensionality reduction parameter ⁇ .
- the NVM may write the low ⁇ bits of each value in the reduced dimensional first image data to the first storage area in the NVM according to the set first current I, and the respective values in the dimensionally reduced first image data.
- the high N- ⁇ bit is written to the second memory region in the NVM in accordance with the set second current I s . Wherein the first current is less than the second current.
- the matching module may determine whether image data matching the reduced dimensional first image data is included in the image library stored in the NVM to obtain an image recognition result of the first image data. Since the set dimension reduction parameter ⁇ , the width parameter ⁇ , and the first current I are both obtained according to the system power consumption of the terminal device and the set first image recognition success rate, it can be guaranteed to be stored in the value of the first storage area. The error of the lower part of the stored part in the storage process has less influence on the recognition success rate of the first image data.
- the image recognition accelerator provided by the embodiment of the invention can ensure the accuracy of image recognition on the basis of reducing the system power consumption of the terminal device, and can improve the recognition speed of the image data.
- FIG. 1 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure
- FIG. 2 is a schematic structural diagram of another terminal device according to an embodiment of the present invention.
- FIG. 3 is a schematic structural diagram of an image recognition accelerator according to an embodiment of the present invention.
- FIG. 4 is a flowchart of an image recognition method according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a dimension reduction processing module according to an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of hardware of an NVM according to an embodiment of the present disclosure.
- FIG. 7 is a schematic structural diagram of still another image recognition accelerator according to an embodiment of the present disclosure.
- FIG. 8 is a flowchart of still another image recognition method according to an embodiment of the present invention.
- FIG. 9 is a flowchart of a parameter adjustment method according to an embodiment of the present invention.
- 10(a) and 10(b) are schematic diagrams showing recording parameters in a parameter adjustment process according to an embodiment of the present invention.
- FIG. 11 is a schematic structural diagram of still another terminal device according to an embodiment of the present disclosure.
- FIG. 12 is a schematic structural diagram of still another terminal device according to an embodiment of the present disclosure.
- FIG. 13 is a signaling diagram of an image recognition method according to an embodiment of the present invention.
- FIG. 1 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
- a central processing unit (CPU) 10 and an image recognition accelerator 20 directly exchange data via a bus 15.
- the bus 15 may be a system bus such as a PCI, a PCIE bus or an image acceleration interface AGP bus, and the type of the bus 15 is not limited in the embodiment of the present invention.
- the terminal device 100 shown in FIG. 1 may be a terminal device such as a computer, a mobile phone, or a mobile terminal, and is not limited thereto, as long as it is a terminal device that needs to implement image recognition.
- the CPU 10 is an operation core (Core) and a control unit (Control Unit) of the terminal device 100.
- the CPU 10 can be a very large scale integrated circuit.
- An operating system and other software programs are installed in the CPU 10, so that the CPU 10 can implement access to a storage space such as a memory or a cache.
- the CPU 10 is only one example of the processor.
- the processor may be an Application Specific Integrated Circuit (ASIC) or one or more integrated circuits configured to implement embodiments of the present invention.
- ASIC Application Specific Integrated Circuit
- the image recognition accelerator 20 is one of hardware accelerators.
- the image recognition accelerator 20 is a hardware accelerator based on Non-Volatile Memory (NVM).
- NVM Non-Volatile Memory
- Hardware acceleration technology uses hardware modules instead of software algorithms to take advantage of the fast features inherent in hardware to increase the processing speed of computer systems.
- memory is only used to store images. Data, all image data processing and analysis are done by the CPU. Therefore, the processing speed of the CPU and the transmission bandwidth of the memory become the bottleneck of the development of image recognition technology.
- image data processing work is realized by a dedicated image recognition accelerator by adding a simple logic processing circuit in the memory. In the terminal device 100 shown in FIG.
- the CPU 10 only needs to transmit the image data to be recognized to the image recognition accelerator 20 and accept the recognition result obtained by the image recognition accelerator 20, thereby reducing the burden on the CPU 10 and improving the terminal device identification.
- the speed of the image since the system configuration shown in FIG. 1 reduces the amount of data transmitted between the CPU 10 and the image recognition accelerator 20, it is possible to solve the problem of limiting the speed of image recognition due to the transmission bandwidth of the memory.
- FIG. 2 is a schematic structural diagram of another terminal device according to an embodiment of the present invention.
- the terminal device 100 shown in FIG. 2 may include a CPU 10, an image recognition accelerator 20, and an image data collector 30.
- the CPU 10 and the image data collector 30 are connected to the image recognition accelerator 20, respectively.
- the image data collector 30 is configured to collect image data information, and send the collected image data information to the image recognition accelerator 20 for image recognition.
- the image data collector 30 can collect images of people and objects, and the image information is not specifically limited herein. After the image data collector 30 acquires the image information, the acquired image information can be converted into image data.
- the image data collector may include devices that implement functions such as photography or videography.
- the image data collector can be a camera on a mobile phone.
- the image recognition accelerator 20 is configured to identify the image data information transmitted from the image data collector 30 and the stored image data information, and transmit the recognition result to the CPU 10. It is to be understood that the description of the function and implementation of the CPU 10 and the image recognition accelerator 20 shown in FIG. 2 can be referred to the description of FIG. 1 above, and details are not described herein again.
- the above description is only two schematic structures of the terminal device 100 in the embodiment of the present invention, and two application scenarios of the image recognition accelerator 20 are illustrated.
- the image recognition accelerator 20 may further receive image data information transmitted by the CPU 10 for image recognition, and then transmit the image recognition result to other devices or devices.
- image recognition accelerator 20 may also receive image data information transmitted by other devices (e.g., image data collector 30 in Fig. 2) and feed back image recognition results to the device.
- the device in communication with the image recognition accelerator 20 is not limited herein. The specific structure and operation process of the image recognition accelerator 20 provided by the embodiment of the present invention will be described in detail below.
- FIG. 3 is a schematic structural diagram of an image recognition accelerator 20 according to an embodiment of the present invention.
- the structure of the image recognition accelerator 20 is illustrated in more detail.
- the image recognition accelerator 20 may include a dimensionality reduction processing module 205, a nonvolatile memory NVM 210, and an image matching module 215.
- both the dimensionality reduction processing module 205 and the image matching module 215 may be in the form of logic circuits. Exist, it can also exist in the form of an integrated circuit.
- the image recognition accelerator 20 may be an application specific integrated circuit (ASIC) or a single board. In the embodiment of the present invention, the specific existence form of the image recognition accelerator 20 is not limited.
- ASIC application specific integrated circuit
- the image recognition accelerator 20 processes the first image data as an example for description.
- the dimension reduction processing module 205 is configured to reduce the dimension of the image data according to the set dimension reduction parameter ⁇ . Specifically, as shown in FIG. 4, in step 400, the dimensionality reduction processing module 205 can reduce the dimension of the first image data according to the set dimensionality reduction parameter ⁇ .
- the image data is a collection of gray values for each pixel represented by a numerical value.
- image data is a discrete array obtained by sequentially extracting information for each pixel of an image, which may represent a contiguous image.
- the first image data may be represented as a matrix of k rows * m columns, wherein each value in the matrix is used to represent a gray value of one pixel in the first image data.
- the first image data is a set of gray values for each pixel of the first image represented by a numerical value.
- the dimensionality reduction processing module 205 may reduce the dimension of the first image data by using a random mapping manner based on the sparse representation.
- the compression algorithm implemented by the dimensionality reduction processing module 205 is not limited in the embodiment of the present invention, as long as it can implement a random mapping algorithm by sparse representation.
- the dimensionality reduction processing module 205 can be implemented by using a matrix multiplier. Specifically, the dimensionality reduction processing module 205 may multiply the first image data by the set low-dimensional binary matrix by using a matrix multiplier, thereby achieving the purpose of reducing the dimension of the first image data.
- the binary matrix means that all the values in the matrix are represented by 0 or 1.
- the purpose of implementing dimensionality reduction using a binary matrix is to reduce the computational complexity in the dimension reduction process.
- the set low-dimensional binary matrix may be a Bernoulli matrix, but the embodiment of the present invention does not limit the specific binary matrix form, as long as the binary matrix capable of achieving the dimension reduction purpose can be realized by means of sparse representation. can.
- the first image data is a matrix X of k rows * m columns
- the set binary matrix is a Bernoulli matrix Z of m rows * n columns, where k, m, and n are both positive integers, and m is greater than n.
- the first image data can be multiplied by the set Bernoulli matrix Z by a matrix multiplier, so that a k-row*n-column matrix Y can be obtained, and the matrix Y is the dimensionally reduced first image data.
- reducing the dimension of the X matrix is actually to reduce the number of columns of the X matrix.
- the dimensionality reduction parameter ⁇ can also be referred to as a dimensionality reduction rate.
- multiplier is one used to perform two mutually uncorrelated simulations.
- An electronic device that acts by multiplying a signal or digital signal.
- the multiplier can multiply two binary numbers.
- a matrix multiplier is a device composed of a plurality of multipliers and adders for realizing the function of multiplying a matrix by a matrix. Since the calculations of the multipliers and adders of different columns in the matrix multiplier are independent of each other, parallel operations can be realized. Therefore, the dimension of the matrix can be adjusted by increasing or decreasing the number of columns of the multiplier and the adder in the matrix multiplier.
- a circuit composed of a multiplier and an adder for realizing matrix multiplication is simply referred to as a multiplier.
- the dimensionality reduction processing module 205 can achieve the purpose of reducing the dimension of the image data by reducing the multiplier of the partial columns in the matrix multiplier. Specifically, the multipliers of the partial columns can be reduced by turning off the power of the multipliers of the partial columns in the dimensionality reduction processing module 205.
- FIG. 5 is a schematic structural diagram of a dimension reduction processing module 205 according to an embodiment of the present invention. As shown in FIG. 5, the dimension reduction module 205 includes m column multipliers, and the operations between the column multipliers are independent of each other. Each column multiplier controls whether the column multiplier operates by an independent switch.
- switch S1 is used to control the first column multiplier
- switch S2 is used to control the second column multiplier
- switch Sm is used to control the mth column multiplier.
- the switch can be implemented by a field effect transistor or a switching circuit.
- the switch can be a junction field effect transistor (JFET) and a metal oxide semiconductor field effect transistor (metal-oxide semiconductor). FET, MOS-FET), here is not limited to the implementation of the switch.
- the dimensionality reduction processing module 205 can receive the first image data X sent by the CPU 10 or the image data collector 30, where X is a matrix of k rows*m columns. It is assumed that the set Bernoulli matrix Z is a matrix of m rows * n columns.
- An m-column multiplier can be provided in the dimensionality reduction processing module 205. In one cycle, a value in the first image data can be separately transferred to the m column multiplier of the matrix multiplier. Each column multiplier in the matrix multiplier can separately multiply the received value and one of the values in a row of Bernoulli matrix Z stored in the dimensionality reduction processing module 205, and output the calculation result.
- each column multiplier can calculate a value in the X matrix and a value in the Z matrix in one cycle, and in a period, the m column multiplier can obtain the X matrix. This value is calculated as a result of a row of values in the Z matrix. It can be understood that, according to this manner, after m*k cycles, the operation result of the K line value and the Bernoulli matrix Z in the X matrix can be obtained.
- the dimensionality reduction processing module 205 may obtain n according to the set dimensionality reduction parameter ⁇ and the value of m in the first image data.
- the value, and according to the value of n obtained, turns off the switch in the matrix multiplier that controls the mn column multiplier.
- the switch controlling the n+1th column to the mth column multiplier in the matrix multiplier can be turned off, so that the n+1th column to the mth column multiplier in the matrix multiplier are operated. No operations are performed during the process.
- the dimensionality reduction processing module 205 can implement the multiplication operation of the X matrix and the Z matrix to obtain the first image data after the dimensionality reduction, wherein the first image data after the dimensionality reduction is represented by a Y matrix of k rows*n columns. Said.
- a non-volatile memory (NVM) 210 is configured to store image data to be recognized and image data in a preset image library. Specifically, as shown in FIG. 4, in step 410, the NVM 210 may store the low ⁇ bits of each value of the dimensionally reduced first image data in the image recognition accelerator 20 according to the set first current I.
- the first storage area 2104 of the NVM 210 stores the high (N- ⁇ ) bits of each value of the reduced dimensional first image data in the second storage area of the NVM 210 according to the set second current I s . 2106.
- the dimension reduction parameter ⁇ , the width parameter ⁇ , and the first current I are obtained according to the system power consumption of the terminal device and the set first image recognition success rate.
- the NVM 210 is a new generation of non-volatile memory.
- the access speed of the NVM 210 is comparable to that of conventional volatile memory (eg, dynamic random access memory (DRAM) or static random access memory (SRAM).
- DRAM dynamic random access memory
- SRAM static random access memory
- the NVM 210 has the reliability of a semiconductor product and has a long service life, enabling byte-by-byte addressing to write data in a storage medium in units of bits. Therefore, the NVM 210 can be hung on the memory bus as a memory directly accessed by the CPU 10. It should be noted that, unlike the conventional volatile memory, the NVM 210 is non-Volatile. When the terminal device 100 is powered off, the information in the NVM 210 still exists.
- the NVM 210 may include a phase change memory (PCM), a resistive random access memory (RRAM), a magnetic random access memory (MRAM), and a ferroelectric randomization.
- PCM phase change memory
- RRAM resistive random access memory
- MRAM magnetic random access memory
- FRAM Feroelectric Random Access Memory
- NVM next-generation non-volatile memory represented by a memory (Ferroelectric Random Access Memory, FRAM) or the like.
- FRAM Ferroelectric Random Access Memory
- the NVM 210 may be an STT-MRAM.
- the NVM 210 may include an NVM controller 2102, a first storage area 2104, and a second storage area 2106.
- the NVM controller 2102 is configured to access the first storage area 2104 and the second storage area 2106.
- the NVM controller 2102 can write data to or read data from the first storage area 2104 and the second storage area 2106.
- the NVM controller 2102 may include a processor, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.
- a cache, a communication interface, and the like may also be included in the NVM controller 2102, and the specific structure of the NVM controller 2012 is not limited herein.
- the first storage area 2104 and the second storage area 2106 may be storage areas composed of a plurality of storage units.
- the storage unit refers to a minimum storage medium unit for storing data, and each storage unit is for storing 1 bit of data.
- the memory unit may include a nonvolatile memory unit such as a phase change memory unit, a magnetic memory unit, a resistive memory unit, or the like.
- the first The storage area 2104 and the second storage area 2106 may be a storage array composed of a plurality of magnetic storage units. Those skilled in the art will appreciate that each magnetic memory cell includes two magnetic layers and one tunnel layer.
- the electromagnetic direction of one magnetic layer is fixed, and the electromagnetic direction of the other magnetic layer can be changed by an external electromagnetic field.
- the resistance of the magnetic memory cell is low for representing data "0"; when the directions of the two magnetic layers are opposite, the resistance of the magnetic memory cell is high for representing data " 1".
- those skilled in the art will be able to change the magnetic layer of the electromagnetic direction by an external electromagnetic field as a free layer.
- the direction of the magnetic field of the free layer can be altered by passing a spin polarization current through the magnetic memory cell.
- the first storage area 2104 and the second storage area 2106 are not necessarily consecutive address spaces.
- a storage space (not shown) for storing other data may be included, which is not limited herein.
- the non-volatile memory basically has no static power consumption, but the energy cost caused by the read operation and the write operation to the non-volatile memory (also called dynamic work) The consumption is larger.
- static power consumption refers to the energy overhead caused by not performing read and write operations on non-volatile memory.
- the dynamic power consumption of the NVM can be controlled by controlling the magnitude of the write current during the write operation.
- the NVM 210 uses image storage data in combination with different write currents.
- the NVM controller 2102 can write the lower part and the upper part of each value in the first image data after the dimensionality reduction processing by the dimensionality reduction processing module 205 into the first storage area 2104 and the first by controlling the write current.
- Two storage areas 2106. Specifically, in the embodiment of the present invention, the write current I of the first storage area 2104 is lower than the write current I s of the second storage area 2106.
- the write current of the first storage region 2104 may be the first current I
- the write current I s of the second storage region 2106 may be 2I.
- the NVM controller 2102 can control the magnitude of the write current by controlling the write voltage.
- FIG. 6 is a schematic structural diagram of hardware of an NVM 210 according to an embodiment of the present invention.
- the first storage area 2104 and the second storage area 2106 include a storage array of a plurality of magnetic storage units 610.
- NVM controller 2102 may control the first current I by controlling the first voltage V
- NVM controller 2102 may control a second current I s by controlling the second voltage Vs.
- the magnetic storage unit 610 of the same column can be connected to a multiplexer (MUX) 605.
- MUX multiplexer
- the NVM controller 2102 can control whether the multiplexer 605 outputs the first voltage V or the second voltage Vs through the control signal to achieve selection of the low ⁇ of each value in the first image data that is to be reduced by the first current I.
- the bit is written to the first storage area 2104 or the high (N- ⁇ ) bits of each value are written to the second storage area 2106 by the second current I s .
- N is the bit occupied by each value
- ⁇ is the set width parameter.
- the value of the image data to be identified is 64 bits
- the lower 16 bits of the value may be written into the first storage area 2104 according to the first current I
- the high 48 bits of the value may be written into the second according to the second current I s .
- ⁇ is referred to as a width parameter.
- the value of ⁇ and the value of the first current I need to be determined according to the system power consumption of the terminal device 100 and the set image recognition success rate. It can be understood that the type of the image data to be identified is different, and the requirements for the image recognition success rate are also different.
- the set width parameter ⁇ and the value of the first current I are different, wherein the value of ⁇ is a positive integer.
- FIG. 6 is merely a schematic illustration of a partial structure in the NVM 210 for illustrating how the NVM 210 in the image recognition accelerator 20 partitions image data.
- the multiplexer MUX 605 may not directly connect to the magnetic memory unit 610, but instead write data to the magnetic memory unit 610 through a write device (not shown in FIG. 6) in the STT-MRAM.
- one MUX 605 may be provided for the multi-column magnetic storage unit 610, or one MUX 605 may be provided for one or more rows of magnetic storage units 610.
- the number of MUXs 605 and the connection relationship between the MUX 605 and the magnetic storage unit 610 are not limited as long as different portions of the numerical values in the image data can be written to the different magnetic storage units 610 in accordance with different currents.
- the image matching module 215 is configured to determine whether the image database stored in the NVM includes image data that matches the reduced-dimensional first image data, and output a matching result. Specifically, in conjunction with FIG. 4, in step 410, the image matching module 215 may determine whether image data stored in the image library stored in the NVM 210 includes image data that matches the dimensionally reduced first image data to obtain A result of matching the reduced dimensional first image data with image data in an image library stored in the NVM 210. For example, the image matching module 215 can read the reduced dimensional first image data from the first storage area 2104 and the second storage area 2106, respectively, and directly compare the reduced dimensional first image data with the image library stored in the NVM 210. The image data is matched to determine whether the first image data can be successfully identified.
- the image matching module 215 may be a logic circuit or an ASIC chip.
- the image matching module 215 may calculate the reduced-dimensional first image data and the image data in the image library according to a Matching Pursuits (MP) algorithm through a logic circuit or an ASIC chip, thereby determining the storage in the NVM. Whether image data matching the dimensionally reduced first image data is included in the image library to obtain a matching result.
- the image data in the image library may also be a map stored in the NVM 210 through the same processing method as the first image data. Like data.
- the embodiment of the present invention does not limit the specific implementation manner of the image matching module 215, as long as the matching process of the image data can be implemented.
- the specific matching algorithm is not limited in the embodiment of the present invention.
- an Orthogonal Matching Pursuit (OMP) algorithm may be used, or other matching algorithms may be used, and the image matching module 215 is not used here.
- OMP Orthogonal Matching Pursuit
- the matching algorithm is limited.
- the matching result may be returned to the CPU or the matching result may be generated to other data processing modules, which is not limited herein.
- the NVM 210 writes different portions of the respective values in the reduced dimensional first image data into the first storage area 2104 and the second storage area 2106 according to different currents, and the first current I Less than the second current Is, therefore, storing data in the first storage area 2104 according to the first current I is more system power consuming than storing data in the second storage area 2106 according to the second current Is.
- the lower the write current the greater the chance that the stored data will be erroneous.
- the recognition success rate of the image data will decrease.
- the stored image data is usually restored by a recovery method such as deconvolution optimization, and then image recognition is performed.
- the set width parameter ⁇ and the first current I are obtained according to the system power consumption of the terminal device 100 and the set first image recognition success rate, the values stored in the first storage area 2104 are caused.
- the errors that occur in the lower part of the storage process during the storage process have less influence on the recognition success rate. Therefore, in the process of implementing image data matching, the image matching module 215 does not need to restore the image data for matching, and can directly directly reduce the first image data stored in the NVM 210 and the image in the image library. The data is matched.
- the image recognition method provided by the embodiment of the invention can satisfy the set image recognition success rate while saving system power consumption, and ensure the accuracy of the stored image data.
- the image recognition accelerator 20 provided in the embodiment of the present invention can also be set.
- FIG. 7 is a schematic structural diagram of still another image recognition accelerator 20 according to an embodiment of the present invention.
- the parameter adjustment module 220 is connected to the dimensionality reduction processing module 205 and the NVM 210, respectively.
- the statistics module 225 is connected to the matching module 215 and the parameter adjustment module 220, respectively.
- the statistics module 225 is configured to count the matching results output by the image matching module 215 during the preset statistical period to obtain a statistical image recognition success rate.
- the parameter adjustment module 220 can recognize the image according to the statistical module 225.
- the success rate and the set second image recognition success rate determine whether the image recognition parameter needs to be adjusted.
- the statistics module 225 can count the matching result output by the image matching module 215 during the preset statistical period, and obtain the statistical image recognition success rate. It can be understood that the image recognition success rate obtained by the statistics module 225 is obtained according to the recognition result of the plurality of image data.
- the statistic module 225 can be a device such as a counter, and the specific implementation form of the statistic module 225 is not limited herein.
- FIG. 7 is only a schematic diagram of a structure of the statistic module 225.
- the statistic module 225 may be separately disposed in the terminal device 100, or the statistic module 225 may be disposed in the CPU 10.
- the statistic module 225 is disposed in another device that is connected to the matching module 215.
- the specific location set by the statistic module 225 is not limited in the embodiment of the present invention.
- the parameter adjustment module 220 is configured to: if the absolute value of the difference between the statistical image recognition success rate and the set second image recognition success rate is greater than a preset threshold, identify the success rate according to the second image, and the terminal
- the system power consumption of the device is adjusted by at least one of the following parameters: a dimensionality reduction parameter ⁇ , a width parameter ⁇ , and a first current I.
- the dimension reduction parameter ⁇ , the width parameter ⁇ , and the first current I may be collectively referred to as an image recognition parameter.
- the parameter adjustment module 220 may determine whether the value of the image recognition parameter needs to be adjusted according to the absolute value of the difference between the image recognition success rate and the set second image recognition success rate calculated by the statistics module 225.
- the second image recognition success rate is a reset image recognition success rate, and the second image recognition success rate is different from the foregoing first image recognition success rate. It can be understood that the second image recognition success rate can be obtained from the CPU 10 in advance. As shown in FIG.
- the parameter adjustment module 220 may adjust at least one parameter according to the second image recognition success rate and the system power consumption of the terminal device: a dimension reduction parameter ⁇ , a width parameter ⁇ , and a first current I.
- FIG. 9 is a flowchart of a parameter adjustment method according to an embodiment of the present invention.
- the image recognition success rate is adjusted from the first image recognition success rate to the second image recognition success rate.
- the parameter adjustment method may include the following steps.
- the parameter adjustment module 220 gradually adjusts the values of the dimensionality reduction parameter ⁇ , the width parameter ⁇ , or the first current I to reduce the system power consumption E of the terminal device, and obtains adjustments through the statistics module 225, respectively.
- the subsequent image recognition success rate As can be understood from the foregoing description, the smaller the value of the first current I, the smaller the dynamic power consumption when the terminal device 100 stores image data, and the system power consumption of the terminal device 100 is smaller. As the value of the width parameter ⁇ increases, the more data stored in the first storage area 2104 in accordance with the first current I, the smaller the system power consumption of the terminal device 100.
- the value of the system power consumption E of the terminal device is proportional to the value of ⁇ ((N- ⁇ )*I s 2 + ⁇ *I), where I s is the set standard write current, or may be referred to as The safe current ensures the accuracy of the image data when data is written to the NVM 210 in accordance with I s .
- the value of I s can be obtained according to the physical parameters of the NVM 210, and the I s of the NVM 210 does not change during the process of using the NVM 210.
- NVM 210 manufactured by different processes may have different physical parameters, so I s may also be different.
- the second image data is a set of gray values of respective pixels of the second image represented by numerical values, and the second image data may include a plurality of numerical values.
- the parameter adjustment module 220 may reduce the terminal device 100 by gradually increasing the value of the width parameter ⁇ or gradually decreasing the dimension reduction parameter ⁇ or gradually decreasing the value of the first current I.
- the form of the record may be in the form of a table as shown in FIG. 10(a), or in the form of a figure as shown in FIG.
- the image recognition success rate may also be referred to as a quality of service QoS. It can be understood that the image recognition success rate can be obtained by experiments in which a plurality of image data are identified by the determined image recognition parameters.
- the system power consumption can be calculated according to the formula of ⁇ ((N- ⁇ )*I s 2 + ⁇ *I). It can be understood that the value of the system power consumption can be an estimated value.
- the image recognition accelerator shown in FIG. 3 can identify multiple experimental data, Obtaining a recognition success rate of the plurality of experimental data according to the adjusted dimensionality reduction parameter ⁇ , the width parameter ⁇ or the value of the first current I, and calculating according to ⁇ ((N ⁇ )*I s 2 + ⁇ *I)
- the system power consumption after each parameter adjustment is obtained to obtain the values of the plurality of sets of parameter values shown in FIG. 10(a) and the corresponding system power consumption and image recognition success rate.
- the experimental data is also image data.
- the parameter values adjusted during the adjustment process are exemplified by ⁇ 3, ⁇ 3, and I3 in Fig. 10(a).
- the parameter adjustment module 220 may be based on ⁇ ((N- ⁇ )* The formula calculation of I s 2 + ⁇ *I) obtains the system power consumption E5 corresponding to the first set of parameter values.
- the parameter adjustment module 220 can transmit the adjusted parameter value ⁇ 3 to the dimensionality reduction processing module 205, and send ⁇ 3 and I3 to the NVM 210.
- the dimensionality reduction processing module 205, the NVM 210, and the image recognition module respectively identify the experimental data according to the adjusted parameter values ⁇ 3, ⁇ 3, and I3 according to the method shown in FIG. 4 to obtain corresponding system power consumption and image recognition success rate. Specifically, the dimensionality reduction processing module 205 performs dimensionality reduction processing on the experimental data according to the received dimensionality reduction parameter value ⁇ 3.
- the NVM 210 stores the low ⁇ 3 bits in the dimensionally reduced experimental data in the first storage area 2104 according to I3, and stores the high (N- ⁇ 3) bits in the dimensionally reduced experimental data in the second storage area according to Is. 2106.
- the image matching module 215 can read the dimensionally reduced experimental data from the first storage area 2104 and the second storage area 2106, respectively, and directly match the reduced-dimensional experimental data with the image data in the image library stored in the NVM 210. To determine whether the experimental data can be successfully identified. In this way, after the plurality of experimental data are identified in accordance with ⁇ 3, ⁇ 3, and I3, the image recognition success rate Qos5 corresponding to the set of parameter values can be obtained. If the Qos5 does not meet the requirement of the set second image recognition success rate, the value of the dimension reduction parameter ⁇ , the width parameter ⁇ or the first current I may be continuously adjusted, and according to the adjusted parameter value, the experimental data is according to FIG. 4 The method shown is identified.
- the image recognition success rate and the system power consumption after each adjustment of the parameter values can be obtained in this way. For example, according to this manner, a plurality of sets of parameter values as shown in FIG. 10(a) and corresponding system power consumption and image recognition success rate can be obtained.
- the value of the width parameter ⁇ is an integer
- the value of the width parameter ⁇ can be preferentially adjusted, and the values of ⁇ and I are respectively adjusted according to the value of the adjusted width parameter ⁇ .
- the value is such that the adjusted parameter value can satisfy the set image recognition success rate (for example, the second image recognition success rate) after the experimental data is recognized.
- the embodiment of the present invention does not limit the specific adjustment order of the parameter values. It can be understood that, in the process of adjusting parameters, after adjusting the parameter values, a preset number of experimental data can be identified by the adjusted parameter values to obtain an image recognition success rate.
- the recognition success rate of identifying a plurality of experimental data in the parameter adjustment process may be referred to as an adjusted recognition success rate.
- an experimental library of image data may be preset, and experimental image data is stored in the experimental library for use as experimental data in the process of adjusting parameters.
- ⁇ , ⁇ , I, E, and Qos of the header portion (the first row in FIG. 10(a)) in the list shown in FIG. 10(a) are used.
- both ⁇ and ⁇ ' are used to represent the value of the width parameter
- ⁇ and ⁇ ' are both used to represent the value of the dimensionality reduction parameter
- I and I' are both A value used to represent the first current.
- the parameter adjustment module 905 determines that the minimum function of the terminal device when the absolute value of the difference between the adjusted image recognition success rate and the set second image recognition success rate is not greater than the preset threshold. Consumption E'. It can be understood that in the process of adjusting parameters shown in step 900, a plurality of image recognition success rates corresponding to the adjusted parameters and a plurality of system power consumptions can be obtained. It can be understood by those skilled in the art that the smaller the value of the dimensionality reduction parameter ⁇ , the smaller the data amount of the dimensionally reduced image data, and the smaller the chance of error, but the amount of information contained in each value in the dimensionally reduced image data. Bigger. Therefore, in practical applications, there may be cases where the dimensionality reduction parameter ⁇ is reduced and the image recognition success rate is higher. Therefore, when selecting parameters, it is necessary to consider the trade-off between the dimensionality reduction parameter ⁇ and the image recognition success rate.
- the image recognition success rate of the absolute value of the difference between the set second image recognition success rate and the preset threshold value may be regarded as the image recognition success that satisfies the requirement of the second image recognition success rate. rate. For example, if the second image recognition success rate is 90% and the preset threshold is 2%, the image recognition success rate between 88% and 92% can be considered as the image recognition success that satisfies the second image recognition success rate requirement. rate.
- at least one image recognition success rate that satisfies the second image recognition success rate requirement may be determined among the recorded plurality of image recognition success rates. And determining a minimum system power consumption E' among the plurality of system power consumptions corresponding to the determined at least one image recognition success rate.
- the parameter adjustment module 220 selects the dimensionality reduction parameter ⁇ , the width parameter ⁇ , and the first current I that obtain the maximum image recognition success rate when the minimum system power consumption E′ is satisfied as the adjusted The dimensionality reduction parameter ⁇ ', the width parameter ⁇ ', and the first current I'. It can be understood that there may be multiple image recognition success rates corresponding to the second image recognition success rate corresponding to the minimum system power consumption E′ determined in step 905. Therefore, in step 910, the parameter adjustment module 220 may select the dimension reduction parameter ⁇ , the width parameter ⁇ , and the first current I obtained as the adjusted drop when the minimum system power consumption E′ is satisfied. Dimension parameter ⁇ ', width parameter ⁇ ', and first current I'.
- the width parameter ⁇ is increased by 1 bit, the obtained image recognition success rate is 88%, and the system power consumption E' is 10w.
- the dimensionality reduction parameter ⁇ is reduced by 0.5, the obtained image recognition success rate is 90%, and the system power consumption E' is also 10w.
- the current I is reduced by 500 ⁇ A, the obtained image recognition success rate is 92%, and the system power consumption E' is also 10 w.
- the dimensionality reduction parameter ⁇ , the width parameter ⁇ , and the first current I in the third case may be used as the adjusted dimensionality reduction parameter ⁇ ′, the width parameter ⁇ ′, and the first current I′.
- the embodiment of the present invention only performs a simple example of the process of adjusting the image recognition parameter by the parameter adjustment module 220.
- the above three parameters may also be combined and adjusted, for example, the width parameter ⁇ may be simultaneously increased. 1 bit and reduce the dimensionality reduction parameter ⁇ by 0.5.
- the specific adjustment form is not limited, as long as at least one of the above three image recognition parameters is adjusted.
- the parameter adjustment module 220 may determine the adjusted dimensionality reduction parameter ⁇ ′, the width parameter ⁇ ′, and the first current I′ according to the greedy algorithm.
- the statistics module 225 may also be located in the CPU 10 of the terminal device 100.
- the parameter adjustment module 220 may adjust the image recognition parameter according to the instruction of the CPU 10.
- FIG. 11 is a schematic structural diagram of still another terminal device according to an embodiment of the present invention.
- the statistics module 225 (not shown in FIG. 11) may be located in the CPU 10, and the CPU 10 may count the image recognition accelerator 20 according to the matching result sent by the image matching module 215 during the preset statistical period. Image recognition success rate.
- the CPU 10 may send a parameter adjustment instruction to the parameter adjustment module 220 to instruct the parameter adjustment module 220 to adjust the image recognition parameter.
- the parameter adjustment instruction includes the second image recognition success rate.
- the CPU 10 and the parameter adjustment module 220 jointly perform the function of adjusting the image recognition parameters. Specifically, the CPU 10 can perform the actions of steps 800-805 shown in FIG. 8 and instruct the parameter adjustment module 220 to perform the action of step 810.
- FIG. 12 is a schematic structural diagram of still another terminal device according to an embodiment of the present invention.
- FIG. 12 reduces the parameter adjustment module 220 on the basis of FIG. 11, and the function of the parameter adjustment module 220 in FIG. 11 is executed by the CPU 10.
- the image matching module 215 can feed back the matching result to the CPU 10, and the CPU 10 can count the image of the image data recognized by the image recognition accelerator 20 during the preset statistical period according to the matching result. Identify the success rate.
- the CPU 10 can determine whether the image recognition parameter needs to be adjusted according to the statistical image recognition success rate and the reset second image recognition success rate. When the CPU 10 determines that the absolute value of the difference between the statistical image recognition success rate and the set second image recognition success rate is greater than a preset threshold, the CPU 10 may identify the success rate according to the second image and the system power consumption of the terminal device. Adjusting at least one image recognition parameter: a dimension reduction parameter ⁇ , a width parameter ⁇ , and a first current I, and transmitting the adjusted dimensionality reduction parameter ⁇ ′, the width parameter ⁇ ′, and the first current I′ to the dimensionality reduction processing Module 205 and NVM 210. Alternatively, in the configuration shown in FIG. 12, the CPU 10 can execute the methods of steps 800-810 shown in FIG.
- the adjusted dimensionality reduction parameter ⁇ can be transmitted to the dimensionality reduction processing module 205 and the NVM 210 in the image recognition accelerator 20 in the form of instructions. ', the width parameter ⁇ ' and the first current I', thereby controlling the dimensionality reduction processing module 205 and the NVM 210 to identify the image data in accordance with the adjusted image recognition parameters.
- the image recognition accelerator provided by the embodiment of the present invention implements parameter adjustment.
- the process is described, but the above example is only an example of a parameter adjustment function that can be implemented by the image recognition accelerator, thereby obtaining values of image recognition parameters (including a dimensionality reduction parameter, a width parameter, and a first current) that satisfy the condition.
- image recognition parameters including a dimensionality reduction parameter, a width parameter, and a first current
- the dimension reduction parameter ⁇ , the width parameter ⁇ , and the first current I used for identifying the first image data are also obtained according to the parameter adjustment manner.
- the above parameter adjustment method is a description of how to adjust the parameter value to obtain an image recognition parameter value that satisfies the system power consumption and the image recognition success rate.
- the parameter values satisfying the requirements can be obtained according to the above parameter adjustment method.
- the image recognition accelerator 20 may follow the adjusted dimensionality reduction parameter ⁇ ′, the width parameter ⁇ ′, and the first current I′
- the second image data that needs to be identified is subjected to image recognition. Specifically, as shown in FIG. 8, in step 815, the dimensionality reduction processing module 205 can reduce the dimension of the second image data according to the adjusted dimensionality reduction parameter ⁇ '.
- the NVM 210 may store the low ⁇ ' bit of each value of the reduced dimensional second image data in the first storage area of the NVM according to the adjusted first current I′, and the dimension after the dimension reduction each of two high-value image data (N- ⁇ ') in accordance with said second bit current I s in the second storage region of the NVM 210, wherein the I' is less than the I s.
- the image matching module 215 may determine whether image data stored in the image library stored in the NVM includes image data that matches the dimensionally reduced second image data.
- the image matching module 215 may compare the reduced dimensional second image data with the image data in the image library stored in the NVM 210 to obtain the dimensionally reduced second image data and the NVM 210.
- the image recognition accelerator performs image recognition on the second image data according to the adjusted dimensionality reduction parameter ⁇ ′, the width parameter ⁇ ′, and the first current I′, and the foregoing dimension reduction parameter ⁇ and width parameter ⁇ .
- the process of the image recognition of the first image data by the first current I is similar. For details, refer to the foregoing description, and details are not described herein again.
- the parameter adjustment method in the embodiment of the present invention triggers the adjustment parameter only when the parameter needs to be adjusted.
- the image recognition accelerator may trigger to stop receiving the image data to be recognized (also referred to as service data), but adjust the parameter value in the manner shown in FIG. And the way in which the experimental data is identified to obtain the value of the image recognition parameter that satisfies the demand.
- the parameter values satisfying the image recognition requirements are obtained, the parameter values satisfying the requirements are respectively sent to the dimensionality reduction processing module 205 and the NVM 210, so that the dimensionality reduction processing module 205, the NVM 210, and the image matching module 215 can obtain the images according to the adjustment.
- the identification parameter values are image-recognized for image data to be recognized, such as first image data and second image data.
- the operation of the image recognition accelerator 20 shown in FIG. 7 will be simplified in conjunction with the signaling diagram of the image recognition method shown in FIG. description of. In the embodiment of the present invention, the description is still made by taking the identification of the first image data as an example. As shown in Figure 13. After the dimension reduction processing module 205 receives the first image data 1300 to be identified sent by the CPU 10, the dimension reduction processing module 205 can reduce the dimension of the first image data 1300 according to the dimension reduction parameter ⁇ set by the parameter adjustment module 220.
- the dimension reduction processing module 205 may perform dimensionality reduction on the first image data 1300 by using a Bernoulli matrix, so that the first image data 1300 can be dimensionally reduced based on the random mapping of the sparse representation.
- the NVM 210 may select the broadband parameter ⁇ set by the parameter adjustment module 220 and the low ⁇ of each value of the first image data after the dimension reduction of the first current I.
- the bits are stored in the first storage area 2104 according to the first current I, and the high N- ⁇ bits in each of the dimensionally reduced first image data are stored in the second storage area 2106 in accordance with the second current Is.
- the image matching module 215 may identify the reduced-dimensional first image data 1305 based on the image data in the image library stored by the NVM 210, and determine whether the image library stored in the NVM includes the first dimension after the dimension reduction Image data Match the image data and output the matching result.
- the image data in the image library and the reduced-dimensional first image data 1305 are collectively referred to as image data 1310 to be compared.
- the image matching module 215 may output the recognition result of the first image data 1305 to the CPU 10.
- the statistics module 225 can count the image matching result of the image matching module 215, thereby obtaining the image recognition success rate 1320 in the statistical period, and the parameter adjustment module 220 can thus obtain the image recognition success rate 1320 and the set according to the statistics module 225.
- the second image recognition success rate determines whether the image recognition parameter needs to be adjusted.
- the parameter adjustment module 220 may adjust the image recognition parameter according to the method shown in FIG. 9 and output the adjusted dimensionality reduction parameter ⁇ to the dimensionality reduction module 205 and the NVM 210, respectively. ', width parameter ⁇ ' and first current I'. Therefore, the dimensionality reduction processing module 205, the NVM 210, and the image matching module 215 can identify the subsequent second image data according to the adjusted dimensionality reduction parameter ⁇ ', the width parameter ⁇ ', and the first current I'.
- FIG. 13 is only a schematic diagram of the signaling of the terminal device 100 provided by the embodiment of the present invention.
- the image recognition accelerator 20 or the terminal device 100 provided by other embodiments refer to FIG. 13 and the foregoing embodiment. description of. I will not repeat them here.
- the terminal device provided by the embodiment of the invention identifies the image by the image recognition accelerator, reduces the CPU data processing amount, reduces the data interaction between the CPU and the memory, reduces the burden on the CPU, and reduces the memory bandwidth for the image data recognition application. Limit and improve the recognition speed of image data.
- the image recognition accelerator may reduce the dimension of the image data to be recognized according to the random mapping manner based on the sparse representation, and then write the image data after the dimension reduction according to different currents. Identify different storage areas in the accelerator's NVM. Since the set dimension reduction parameter ⁇ , the width parameter ⁇ , and the first current I are both obtained according to the system power consumption of the terminal device and the set image recognition success rate, the system power consumption of the terminal device can be reduced. Guarantee the accuracy of image recognition.
- the embodiment of the invention further provides a computer program product for data processing, comprising a computer readable storage medium storing program code, the program code comprising instructions for executing the method flow described in any one of the foregoing method embodiments.
- a person skilled in the art can understand that the foregoing storage medium includes: a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a random access memory (RAM), a solid state disk (SSD), or a nonvolatile.
- a non-transitory machine readable medium that can store program code, such as a non-volatile memory.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Multimedia (AREA)
- Software Systems (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Evolutionary Computation (AREA)
- Evolutionary Biology (AREA)
- General Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Computational Biology (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
- Picture Signal Circuits (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
Claims (26)
- 一种应用于终端设备中用于识别图像的图像识别加速器,其特征在于,包括:降维处理模块,用于接收降维参数γ,根据接收的降维参数γ降低第一图像数据的维度,其中,降维后的第一图像数据包括多个数值,所述降维参数γ是根据所述终端设备的系统功耗和设置的第一图像识别成功率获得的;非易失性内存NVM,用于接收宽度参数ω和第一电流I,将降维后的第一图像数据的每一个数值的低ω位按照设置的第一电流I存储于所述NVM的第一存储区域,将降维后的第一图像数据的每一个数值的高(N-ω)位按照设置的第二电流Is存储于所述NVM的第二存储区域,其中,N为每一个数值所占的比特位,所述第一电流I小于所述第二电流Is,所述宽度参数ω以及所述第一电流I是根据所述终端设备的系统功耗和设置的第一图像识别成功率获得的;图像匹配模块,用于确定所述NVM中存储的图像库中是否包含有与所述降维后的第一图像数据相匹配的图像数据。
- 根据权利要求1所述的图像识别加速器,其特征在于,还包括:参数调整模块,用于根据设置的所述第一图像识别成功率以及所述终端设备的系统功耗调整下述至少一个参数:降维参数、宽度参数以及第一电流的值,以获得调整后的降维参数γ、宽度参数ω以及第一电流I,并将调整后的所述降维参数γ发送给所述降维处理模块,将调整后的所述宽度参数ω以及调整后的所述第一电流I发送给所述NVM。
- 根据权利要求2所述的图像识别加速器,其特征在于,所述参数调整模块具体用于:分别调整所述降维参数、所述宽度参数或所述第一电流的值,并分别获得多个调整后的图像识别成功率和多个调整后的系统功耗,每个调整后的图像识别成功率对应于每个调整后的系统功耗;确定调整后的每个图像识别成功率与所述第一图像识别成功率之间的差值,选择所述差值的绝对值不大于所述预设阈值的至少一个调整后的图像识别成功率所对应的至少一个调整后的系统功耗中的最小系统功耗;选择在满足所述最小系统功耗时获得最大图像识别成功率的降维参数、宽度参数以及第一电流的值分别作为调整后的所述降维参数γ、所述宽度参数ω以及所述第一电流I, 并将调整后的所述降维参数γ发送给所述降维处理模块,将调整后的所述宽度参数ω以及所述第一电流I发送给所述NVM。
- 根据权利要求1所述的图像识别加速器,其特征在于:所述参数调整模块,还用于如果统计的图像识别成功率与设置的第二图像识别成功率之间的差值的绝对值大于预设阈值,则根据所述第二图像识别成功率以及所述终端设备的系统功耗调整下述至少一个参数:降维参数γ、宽度参数ω以及第一电流I,以获得调整后的降维参数γ'、宽度参数ω'以及第一电流I',其中,所述第二图像识别成功率与所述第一图像识别成功率不同;所述降维处理模块,还用于根据调整后的所述降维参数γ'降低第二图像数据的维度;所述非易失性内存NVM,还用于将降维后的第二图像数据的每一个数值的低ω'位按照调整后的第一电流I'存储于NVM的第一存储区域,将降维后的第二图像数据的每一个数值的高(N-ω')位按照所述第二电流Is存储于所述NVM的第二存储区域,其中,所述ω'为调整后的宽度参数,所述I'小于所述Is;所述图像匹配模块,还用于确定所述NVM中存储的图像库中是否包含有与所述降维后的第二图像数据相匹配的图像数据。
- 根据权利要求1-4任意一项所述的图像识别加速器,其特征在于,还包括:统计模块,用于统计在预设的统计期间内所述图像匹配模块输出的匹配结果,获取所述统计的图像识别成功率。
- 根据权利要求1-5任意一项所述的图像识别加速器,其特征在于,所述降维处理模块具体用于:根据所述第一图像数据与设置的二进制矩阵的乘积获得所述降维后的第一图像数据,其中,所述第一图像数据为k行*m列的矩阵,所述二进制矩阵为m行*n列的矩阵,所述降维后的第一图像数据为k行*n列的矩阵,k、m和n为正整数,m的值大于n,n的值根据设置的降维参数γ确定,γ=n/m。
- 根据权利要求2或3所述的图像识别加速器,其特征在于,所述参数调整模块具体用于:如果统计的图像识别成功率与所述第二图像识别成功率之间的差值大于预设阈值,则分别调整降维参数γ、所述宽度参数ω或第一电流I的值,并分别获得多个调整后的图像识别成功率和多个调整后的系统功耗,其中,所述E的值与γ((N-ω)*Is 2+ω*I)的值成正比,每个调整后的图像识别成功率对应于每个调整后的系统功耗;确定调整后的每个图像识别成功率与所述第二图像识别成功率之间的差值,选择所述差值的绝对值不大于所述预设阈值时的至少一个调整后的图像识别成功率所对应的至少一个调整后的系统功耗中的最小系统功耗E';选择在满足所述最小功耗E'时获得最大图像识别成功率的降维参数、宽度参数以及第一电流的值分别作为所述调整后的降维参数γ'、宽度参数ω'以及第一电流I',并将所述调整后的降维参数γ'发送给所述降维处理模块,将所述调整后的宽度参数ω'以及第一电流I'发送给所述NVM。
- 根据权利要求6所述的图像识别加速器,其特征在于,所述二进制类型的矩阵包括伯努利映射矩阵。
- 一种终端设备,其特征在于,包括CPU和图像识别加速器,其中:所述CPU,用于向所述图像识别加速器发送待识别的第一图像数据;所述图像识别加速器,用于根据降维参数γ降低所述第一图像数据的维度,其中,降维后的第一图像数据包括多个数值,所述降维参数γ是根据所述终端设备的系统功耗和设置的第一图像识别成功率获得的;将所述降维后的第一图像数据的每一个数值的低ω位按照第一电流I存储于NVM的第一存储区域,将所述降维后的第一图像数据的每一个数值的高(N-ω)位按照设置的第二电流Is存储于所述NVM的第二存储区域,其中,N为每一个数值所占的比特位,ω为宽度参数,所述I小于所述Is,所述宽度参数ω以及所述第一电流I是根据所述终端设备的系统功耗和设置的第一图像识别成功率获得的;确定所述NVM中存储的图像库中是否包含有与所述降维后的第一图像数据相匹配的图像数据。
- 根据权利要求9所述的终端设备,其特征在于,所述图像识别加速器还用于:根据设置的所述第一图像识别成功率以及所述终端设备的系统功耗调整下述至少 一个参数:降维参数、宽度参数以及第一电流的值,以获得所述降维参数γ、所述宽度参数ω以及所述第一电流I。
- 根据权利要求10所述的终端设备,其特征在于,所述图像识别加速器具体用于:分别调整所述降维参数、所述宽度参数或所述第一电流的值,并分别获得多个调整后的图像识别成功率和多个调整后的系统功耗,每个调整后的图像识别成功率对应于每个调整后的系统功耗;确定调整后的每个图像识别成功率与所述第一图像识别成功率之间的差值,选择所述差值的绝对值不大于所述预设阈值的至少一个调整后的图像识别成功率所对应的至少一个调整后的系统功耗中的最小系统功耗;选择在满足所述最小系统功耗时获得最大图像识别成功率的降维参数、所述宽度参数以及第一电流的值分别作为所述降维参数γ、所述宽度参数ω以及所述第一电流I。
- 根据权利要求9所述的终端设备,其特征在于:所述图像识别加速器,还用于如果统计的图像识别成功率与设置的第二图像识别成功率之间的差值的绝对值大于预设阈值,则根据所述第二图像识别成功率以及所述终端设备的系统功耗调整下述至少一个参数:降维参数γ、宽度参数ω以及第一电流I,以获得调整后的降维参数γ'、宽度参数ω'以及第一电流I',其中,所述第二图像识别成功率与所述第一图像识别成功率不同;所述CPU,还用于向所述图像识别加速器发送第二图像数据;所述图像识别加速器,还用于:根据调整后的所述降维参数γ'降低第二图像数据的维度;将降维后的第二图像数据的每一个数值的低ω'位按照调整后的所述第一电流I'存储于NVM的第一存储区域,将降维后的第二图像数据的每一个数值的高(N-ω')位按照所述第二电流Is存储于所述NVM的第二存储区域,其中,ω'为调整后的宽度参数,所述I'小于所述Is;确定所述NVM中存储的图像库中是否包含有与所述降维后的第二图像数据相匹配的图像数据。
- 根据权利要求9所述的终端设备,其特征在于:所述CPU,还用于统计在预设的统计期间内所述图像识别加速器输出的匹配结果,获取统计的图像识别成功率;确定所述统计的图像识别成功率与设置的第二图像识别成功率之间的差值的绝对值大于预设阈值;所述图像识别加速器,还用于根据所述第二图像识别成功率以及所述终端设备的系统功耗调整下述至少一个参数:降维参数γ、宽度参数ω以及第一电流I的值,以获得调整后的降维参数γ'、宽度参数ω'以及第一电流I',其中,所述第二图像识别成功率与所述第一图像识别成功率不同;所述CPU,还用于向所述图像识别加速器发送第二图像数据;所述图像识别加速器,还用于根据调整后的所述降维参数γ'降低第二图像数据的维度;将降维后的第二图像数据的每一个数值的低ω'位按照调整后的所述第一电流I'存储于NVM的第一存储区域,将降维后的第二图像数据的每一个数值的高(N-ω')位按照所述第二电流Is存储于所述NVM的第二存储区域,其中,所述ω'为调整后的宽度参数,所述I'小于所述Is;确定所述NVM中存储的图像库中是否包含有与所述降维后的第二图像数据相匹配的图像数据。
- 根据权利要求9所述的终端设备,其特征在于,所述CPU还用于:统计在预设的统计期间内所述图像识别加速器输出的匹配结果,获取所述统计的图像识别成功率;如果统计的图像识别成功率与设置的第二图像识别成功率之间的差值的绝对值大于预设阈值,则根据所述第二图像识别成功率以及所述终端设备的系统功耗调整下述至少一个参数:降维参数γ、宽度参数ω以及第一电流I,以获得调整后的降维参数γ'、宽度参数ω'以及第一电流I',其中,所述第二图像识别成功率与所述第一图像识别成功率不同;向所述图像识别加速器发送第二图像数据;所述图像识别加速器,还用于:根据调整后的所述降维参数γ'降低第二图像数据的维度;将降维后的第二图像数据的每一个数值的低ω'位按照调整后的所述第一电流I'存储于NVM的第一存储区域,将降维后的第二图像数据的每一个数值的高(N-ω')位按照所述 第二电流Is存储于所述NVM的第二存储区域,其中,所述ω'为调整后的宽度参数,所述I'小于所述Is;确定所述NVM中存储的图像库中是否包含有与所述降维后的第二图像数据相匹配的图像数据。
- 根据权利要求9-14任意一项所述的终端设备,其特征在于,所述图像识别加速器具体用于:根据所述第一图像数据与设置的二进制矩阵的乘积获得所述降维后的第一图像数据,其中,所述第一图像数据为k行*m列的矩阵,所述二进制矩阵为m行*n列的矩阵,所述降维后的第一图像数据为k行*n列的矩阵,k、m和n为正整数,m的值大于n,n的值根据设置的降维参数γ确定,γ=n/m。
- 根据权利要求10或13所述的终端设备,其特征在于,所述图像识别加速器具体用于:分别调整降维参数γ、所述宽度参数ω或第一电流I的值,并分别获得多个调整后的图像识别成功率和多个调整后的系统功耗,其中,所述E的值与γ((N-ω)*Is 2+ω*I)的值成正比,每个调整后的图像识别成功率对应于每个调整后的系统功耗;确定调整后的每个图像识别成功率与所述第二图像识别成功率之间的差值,选择所述差值的绝对值不大于所述预设阈值时的至少一个调整后的图像识别成功率所对应的至少一个调整后的系统功耗中的最小系统功耗E';选择在满足所述最小功耗E'时获得最大图像识别成功率的降维参数、宽度参数以及第一电流I的值分别作为所述调整后的降维参数γ'、宽度参数ω'以及第一电流I'。
- 根据权利要求14所述的终端设备,其特征在于,所述CPU具体用于:分别调整降维参数γ、所述宽度参数ω或第一电流I的值,并分别获得多个调整后的图像识别成功率和多个调整后的系统功耗,其中,所述E的值与γ((N-ω)*Is 2+ω*I)的值成正比,每个调整后的图像识别成功率对应于每个调整后的系统功耗;确定调整后的图像识别成功率与所述第二图像识别成功率之间的差值,选择所述差值的绝对值不大于所述预设阈值时的至少一个调整后的图像识别成功率所对应的至少一个调整后的系统功耗中的最小系统功耗E';选择在满足所述最小功耗E'时获得最大图像识别成功率的降维参数、宽度参数以及第一电流分别作为所述调整后的降维参数γ'、宽度参数ω'以及第一电流I'。
- 根据权利要求15所述的终端设备,其特征在于:所述二进制类型的矩阵包括伯努利映射矩阵。
- 一种应用于终端设备的图像识别方法,其特征在于,所述方法由所述终端设备中的图像识别加速器执行,所述方法包括:根据降维参数γ降低第一图像数据的维度,其中,降维后的第一图像数据包括多个数值,所述降维参数γ是根据所述终端设备的系统功耗和设置的第一图像识别成功率获得的;将所述降维后的第一图像数据的每一个数值的低ω位按照设置的第一电流I存储于所述图像识别加速器中的NVM的第一存储区域,将所述降维后的第一图像数据的每一个数值的高(N-ω)位按照设置的第二电流Is存储于所述NVM的第二存储区域,其中,N为每一个数值所占的比特位,ω为宽度参数,所述I小于所述Is,所述宽度参数ω以及第一电流I是根据所述终端设备的系统功耗和设置的第一图像识别成功率获得的;确定所述NVM中存储的图像库中是否包含有与所述降维后的第一图像数据相匹配的图像数据。
- 根据权利要求19所述的图像识别方法,其特征在于,还包括:根据设置的所述第一图像识别成功率以及所述终端设备的系统功耗调整下述至少一个参数:降维参数、宽度参数以及第一电流的值,以获得调整后的降维参数γ、宽度参数ω以及第一电流I。
- 根据权利要求20所述的图像识别方法,其特征在于,所述根据设置的所述第一图像识别成功率以及所述终端设备的系统功耗调整下述至少一个参数:降维参数、宽度参数以及第一电流的值,以获得调整后的降维参数γ、宽度参数ω以及第一电流I具体包括:分别调整所述降维参数、所述宽度参数或所述第一电流的值,并分别获得多个调整后的图像识别成功率和多个调整后的系统功耗,每个调整后的图像识别成功率对应于每 个调整后的系统功耗;确定调整后的每个图像识别成功率与所述第一图像识别成功率之间的差值,选择所述差值的绝对值不大于所述预设阈值的至少一个调整后的图像识别成功率所对应的至少一个调整后的系统功耗中的最小系统功耗;选择在满足所述最小系统功耗时获得最大图像识别成功率的降维参数、宽度参数以及第一电流的值分别作为调整后的所述降维参数γ、所述宽度参数ω以及所述第一电流I。
- 根据权利要求19所述的图像识别方法,其特征在于,还包括:确定统计的图像识别成功率与设置的第二图像识别成功率的差值的绝对值大于预设阈值;根据所述第二图像识别成功率以及所述终端设备的系统功耗调整下述至少一个参数:降维参数γ、宽度参数ω以及第一电流I,以获得调整后的降维参数γ'、宽度参数ω'以及第一电流I',其中,所述第二图像识别成功率与所述第一图像识别成功率不同;根据调整后的所述降维参数γ'降低第二图像数据的维度;将降维后的第二图像数据的每一个数值的低ω'位按照调整后的第一电流I'存储于NVM的第一存储区域,将降维后的第二图像数据的每一个数值的高(N-ω')位按照所述第二电流Is存储于所述NVM的第二存储区域,其中,所述ω'为调整后的宽度参数,所述I'小于所述Is;确定所述NVM中存储的图像库中是否包含有与所述降维后的第二图像数据相匹配的图像数据。
- 根据权利要求19-22任意一项所述的图像识别方法,其特征在于,还包括:统计在预设的统计期间内所述图像匹配模块输出的匹配结果,获取所述统计的图像识别成功率。
- 根据权利要求19-23任意一项所述的图像识别方法,其特征在于,所述根据设置的降维参数γ降低第一图像数据的维度包括:根据所述第一图像数据与设置的二进制矩阵的乘积获得所述降维后的第一图像数据,其中,所述第一图像数据为k行*m列的矩阵,所述二进制矩阵为m行*n列的矩阵,所述降维后的第一图像数据为k行*n列的矩阵,k、m和n为正整数,m的值大于n,n的 值根据设置的降维参数γ确定,γ=n/m。
- 根据权利要求20-24任意一项所述的图像识别方法,其特征在于,所述根据所述第二图像识别成功率以及所述终端设备的系统功耗调整下述至少一个参数:降维参数γ、宽度参数ω以及第一电流I,包括:分别调整降维参数γ、所述宽度参数ω或第一电流I的值,并分别获得多个调整后的图像识别成功率和多个调整后的系统功耗,其中,所述E的值与γ((N-ω)*Is 2+ω*I)的值成正比;确定调整后的每个图像识别成功率与所述第二图像识别成功率之间的差值,选择所述差值的绝对值不大于所述预设阈值时的至少一个调整后的图像识别成功率所对应的至少一个调整后的系统功耗中的最小系统功耗E';选择在满足所述最小功耗E'时获得最大图像识别成功率的降维参数、宽度参数以及第一电流的值分别作为所述调整后的降维参数γ'、宽度参数ω'以及第一电流I'。
- 根据权利要求24所述的图像识别方法,其特征在于:所述二进制类型的矩阵包括伯努利映射矩阵。
Priority Applications (7)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020177024724A KR102057471B1 (ko) | 2015-03-06 | 2016-02-22 | 이미지 인식 가속기, 단말 기기 및 이미지 인식 방법 |
| JP2017546832A JP6399534B2 (ja) | 2015-03-06 | 2016-02-22 | 画像認識アクセラレータ、端末デバイス、および画像認識方法 |
| SG11201706525RA SG11201706525RA (en) | 2015-03-06 | 2016-02-22 | Image recognition accelerator, terminal device, and image recognition method |
| BR112017018752-3A BR112017018752B1 (pt) | 2015-03-06 | 2016-02-22 | Acelerador e método de reconhecimento de imagem, dispositivo terminal e mídia legível por computador |
| EP16761030.2A EP3244345B1 (en) | 2015-03-06 | 2016-02-22 | Image recognition accelerator, terminal device and image recognition method |
| CN201680012483.4A CN107851175B (zh) | 2015-03-06 | 2016-02-22 | 图像识别加速器、终端设备及图像识别方法 |
| US15/695,681 US10346701B2 (en) | 2015-03-06 | 2017-09-05 | Image recognition accelerator, terminal device, and image recognition method |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510101155.9A CN105989352B (zh) | 2015-03-06 | 2015-03-06 | 图像识别加速器、终端设备及图像识别方法 |
| CN201510101155.9 | 2015-03-06 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US15/695,681 Continuation US10346701B2 (en) | 2015-03-06 | 2017-09-05 | Image recognition accelerator, terminal device, and image recognition method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016141803A1 true WO2016141803A1 (zh) | 2016-09-15 |
Family
ID=56879170
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/074240 Ceased WO2016141803A1 (zh) | 2015-03-06 | 2016-02-22 | 图像识别加速器、终端设备及图像识别方法 |
Country Status (7)
| Country | Link |
|---|---|
| US (1) | US10346701B2 (zh) |
| EP (1) | EP3244345B1 (zh) |
| JP (1) | JP6399534B2 (zh) |
| KR (1) | KR102057471B1 (zh) |
| CN (2) | CN105989352B (zh) |
| SG (1) | SG11201706525RA (zh) |
| WO (1) | WO2016141803A1 (zh) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108230296B (zh) | 2017-11-30 | 2023-04-07 | 腾讯科技(深圳)有限公司 | 图像特征的识别方法和装置、存储介质、电子装置 |
| CN108256492A (zh) * | 2018-01-26 | 2018-07-06 | 郑州云海信息技术有限公司 | 一种图像识别方法、装置及系统 |
| CN110147792B (zh) * | 2019-05-22 | 2021-05-28 | 齐鲁工业大学 | 基于内存优化的药品包装字符高速检测系统及方法 |
| CN114359532A (zh) * | 2021-12-31 | 2022-04-15 | 陕西科技大学 | 一种图像数据识别加速系统 |
| US20260111484A1 (en) * | 2024-10-18 | 2026-04-23 | Charter Communications Operating, Llc | System And Method For Semantic Video Metadata Search System at the Edge |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1577622A (zh) * | 2003-07-18 | 2005-02-09 | 株式会社半导体能源研究所 | 存储器电路及包含其的显示装置和电子设备 |
| CN1904907A (zh) * | 2005-07-27 | 2007-01-31 | 上海明波通信技术有限公司 | 一种高速图像匹配检测系统及方法 |
| CN103514432A (zh) * | 2012-06-25 | 2014-01-15 | 诺基亚公司 | 人脸特征提取方法、设备和计算机程序产品 |
| CN103810119A (zh) * | 2014-02-28 | 2014-05-21 | 北京航空航天大学 | 一种利用三维集成电路片上温差降低stt-ram功耗的缓存设计方法 |
Family Cites Families (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US3440617A (en) * | 1967-03-31 | 1969-04-22 | Andromeda Inc | Signal responsive systems |
| US5339108A (en) * | 1992-04-09 | 1994-08-16 | Ampex Corporation | Ordering and formatting coded image data and reconstructing partial images from the data |
| US6084600A (en) * | 1996-03-15 | 2000-07-04 | Micron Technology, Inc. | Method and apparatus for high-speed block transfer of compressed and word-aligned bitmaps |
| JP3915855B2 (ja) * | 1997-12-19 | 2007-05-16 | ソニー株式会社 | 画像符号化装置および画像符号化方法、並びに学習装置および学習方法 |
| JP4825644B2 (ja) * | 2006-11-14 | 2011-11-30 | ルネサスエレクトロニクス株式会社 | 画像復号装置、画像符号化装置、およびシステムlsi |
| CN101236601B (zh) * | 2008-03-11 | 2010-10-06 | 马磊 | 图像识别加速装置及具有图像识别加速装置的微处理器芯片 |
| JP5303325B2 (ja) | 2009-03-18 | 2013-10-02 | ルネサスエレクトロニクス株式会社 | データ処理装置 |
| US8427875B2 (en) * | 2010-12-07 | 2013-04-23 | Silicon Motion Inc. | Method and memory controller for reading data stored in flash memory by referring to binary digit distribution characteristics of bit sequences read from flash memory |
| KR101180471B1 (ko) | 2011-09-27 | 2012-09-07 | (주)올라웍스 | 한정된 메모리 환경 하에서 얼굴 인식 성능 향상을 위한 참조 얼굴 데이터베이스 관리 방법, 장치 및 컴퓨터 판독 가능한 기록 매체 |
| TWI455041B (zh) | 2011-11-07 | 2014-10-01 | Pixart Imaging Inc | 人臉影像辨識方法及裝置 |
| CN103106388B (zh) | 2011-11-15 | 2017-02-08 | 中国科学院深圳先进技术研究院 | 图像识别方法和系统 |
| KR20130057086A (ko) * | 2011-11-23 | 2013-05-31 | 삼성전자주식회사 | 비휘발성 메모리 장치의 프로그램 방법 |
| KR20140099295A (ko) * | 2011-12-28 | 2014-08-11 | 인텔 코포레이션 | 파이프라인 이미지 프로세싱 시퀀서 |
| US9645177B2 (en) * | 2012-05-04 | 2017-05-09 | Seagate Technology Llc | Retention-drift-history-based non-volatile memory read threshold optimization |
| US8861270B2 (en) | 2013-03-11 | 2014-10-14 | Microsoft Corporation | Approximate multi-level cell memory operations |
| US9118346B2 (en) * | 2013-12-19 | 2015-08-25 | Analog Devices, Inc. | Complementary switches in current switching digital to analog converters |
| CN103824075A (zh) * | 2014-02-18 | 2014-05-28 | 深圳天源迪科信息技术股份有限公司 | 图像识别系统及方法 |
| US9213602B1 (en) * | 2014-06-23 | 2015-12-15 | Seagate Technology Llc | Write mapping to mitigate hard errors via soft-decision decoding |
-
2015
- 2015-03-06 CN CN201510101155.9A patent/CN105989352B/zh active Active
-
2016
- 2016-02-22 SG SG11201706525RA patent/SG11201706525RA/en unknown
- 2016-02-22 EP EP16761030.2A patent/EP3244345B1/en active Active
- 2016-02-22 KR KR1020177024724A patent/KR102057471B1/ko active Active
- 2016-02-22 JP JP2017546832A patent/JP6399534B2/ja active Active
- 2016-02-22 CN CN201680012483.4A patent/CN107851175B/zh active Active
- 2016-02-22 WO PCT/CN2016/074240 patent/WO2016141803A1/zh not_active Ceased
-
2017
- 2017-09-05 US US15/695,681 patent/US10346701B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1577622A (zh) * | 2003-07-18 | 2005-02-09 | 株式会社半导体能源研究所 | 存储器电路及包含其的显示装置和电子设备 |
| CN1904907A (zh) * | 2005-07-27 | 2007-01-31 | 上海明波通信技术有限公司 | 一种高速图像匹配检测系统及方法 |
| CN103514432A (zh) * | 2012-06-25 | 2014-01-15 | 诺基亚公司 | 人脸特征提取方法、设备和计算机程序产品 |
| CN103810119A (zh) * | 2014-02-28 | 2014-05-21 | 北京航空航天大学 | 一种利用三维集成电路片上温差降低stt-ram功耗的缓存设计方法 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP3244345A4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105989352B (zh) | 2019-08-20 |
| KR102057471B1 (ko) | 2020-01-14 |
| US10346701B2 (en) | 2019-07-09 |
| KR20170140162A (ko) | 2017-12-20 |
| EP3244345B1 (en) | 2019-06-19 |
| JP2018508904A (ja) | 2018-03-29 |
| EP3244345A4 (en) | 2017-12-13 |
| BR112017018752A2 (zh) | 2018-07-24 |
| SG11201706525RA (en) | 2017-09-28 |
| EP3244345A1 (en) | 2017-11-15 |
| CN107851175A (zh) | 2018-03-27 |
| CN105989352A (zh) | 2016-10-05 |
| US20180012095A1 (en) | 2018-01-11 |
| CN107851175B (zh) | 2020-07-14 |
| JP6399534B2 (ja) | 2018-10-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107466418B (zh) | 用于多级别单元模式非易失性存储器的成本优化单级别单元模式非易失性存储器 | |
| WO2016141803A1 (zh) | 图像识别加速器、终端设备及图像识别方法 | |
| US10211947B2 (en) | System-on-chip using dynamic voltage frequency scaling and method of operating the same | |
| US10528111B2 (en) | Apparatuses and methods for indicating an operation type associated with a power management event | |
| CN111245732A (zh) | 一种流量控制方法、装置及设备 | |
| US20170344311A1 (en) | Method of operating a memory device | |
| KR102949947B1 (ko) | 저장 장치 및 그의 동작 방법 | |
| US11783872B2 (en) | Apparatuses and methods for performing operations using sense amplifiers and intermediary circuitry | |
| CN112910890B (zh) | 基于时间卷积网络的匿名网络流量指纹识别方法及设备 | |
| US11275521B2 (en) | Image data based media type selection based on a first identified attribute of the initial image data | |
| TW202004504A (zh) | 記憶體裝置、記憶體裝置的控制方法及記錄媒體 | |
| US8966146B2 (en) | Data processing method and data processing unit using the same | |
| CN103765888A (zh) | 分析辅助编码 | |
| CN106780415A (zh) | 一种直方图统计电路及多媒体处理系统 | |
| US20250217082A1 (en) | Media type selection for image data | |
| CN113900813B (zh) | 一种基于双口ram的盲元填充方法、系统及装置 | |
| US11733917B2 (en) | High bandwidth controller memory buffer (CMB) for peer to peer data transfer | |
| CN118963678B (zh) | 一种存储设备的性能提升方法、装置、设备和介质 | |
| BR112017018752B1 (pt) | Acelerador e método de reconhecimento de imagem, dispositivo terminal e mídia legível por computador | |
| CN121598374A (zh) | 计算存储系统、其操作方法以及电子装置 | |
| CN117873391A (zh) | 芯片数据缓存方法、装置、计算机设备和存储介质 | |
| WO2020000735A1 (zh) | 写数据方法、装置、计算机装置及存储介质 | |
| CN103679628A (zh) | 影像处理记录系统及其影像处理记录方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16761030 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 11201706525R Country of ref document: SG |
|
| REEP | Request for entry into the european phase |
Ref document number: 2016761030 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 20177024724 Country of ref document: KR Kind code of ref document: A |
|
| ENP | Entry into the national phase |
Ref document number: 2017546832 Country of ref document: JP Kind code of ref document: A |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112017018752 Country of ref document: BR |
|
| ENP | Entry into the national phase |
Ref document number: 112017018752 Country of ref document: BR Kind code of ref document: A2 Effective date: 20170831 |