Image recognition device and method for recognizing images
AssigneeHongfujin Precision Electronics (Tianjin) Co., Ltd.
InventorCheng-Han Du
Life of this patent
Estimating the term…
Abstract
A method for detecting and recognizing objects in images includes obtaining a video stream and pre-processing the video stream to obtain an image queue arranged in a frame playing order and storing the image queue into a storage device. An image frame of the image queue from the storage device is read and at least one object in the image frame is detected and recognized. An image recognition device is also provided.
Claims11
An image recognition method operable in an image recognition device, the image recognition device comprising a first processing module, a second processing module, and a storage device, the image recognition method comprising:
- obtaining a video stream and pre-processing the video stream to obtain an image queue arranged in a frame playing order, by the first processing module;
- storing the image queue into the storage device, by the first processing module;
- and
- reading an image frame of the image queue from the storage device and recognizing the image frame to detect at least one object in the image frame, by the second processing module;
- wherein the second processing module reads the image frame one by one in sequence according to a frame order of the image queue, the second processing module comprises a plurality of threads and a plurality of processing units, each of the plurality of threads corresponds to one of the plurality of processing units, the method of reading the image frame of the image queue from the storage device and recognizing the image frame to detect the at least one object in the image frame by the second processing module comprises:
- controlling the thread to read one image frame of the image queue from the storage device and transmitting the image frame to the corresponding processing unit;
- and
- recognizing the image frame to detect the at least one object in the image frame, by the corresponding processing unit.
An image recognition device comprising:
- a storage device;
- a first processing module obtaining a video stream and pre-processing the video stream to obtain an image queue arranged in a frame playing order;
- the first processing module further storing the image queue into the storage device;
- and
- a second processing module reading an image frame of the image queue from the storage device and recognizing the image frame to detect at least one object in the image frame;
- wherein the second processing module reads the image frame one by one in sequence according to a frame order of the image queue, the second processing module comprises a plurality of threads and a plurality of processing units, each of the plurality of threads corresponds to one of the plurality of processing units, each of the plurality of threads is configured to read one image frame of the image queue from the storage device and transmit the image frame to the corresponding processing unit to detect the at least one object.
Dependencies are inferred from the claim text.