A mobile terminal-based horizontal stripe image recognition method and mobile terminal
A mobile terminal and image recognition technology, applied in the field of image processing, can solve problems such as inability to recognize horizontal stripes and scenes where horizontal stripes cannot be focused, and achieve the effects of simple processing, improved time efficiency, and reduced power consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] Such as figure 1 As shown, Embodiment 1 of the present invention provides a horizontal stripe image recognition method based on a mobile terminal, wherein the mobile terminal includes a camera, and the method includes:
[0030] Step 101. Acquire a frame of preview image captured by the camera.
[0031] Firstly, the camera of the mobile terminal is used to collect a frame of preview image, where the mobile terminal can be a camera, a smart phone, a tablet computer, and a PAD.
[0032] Step 102, performing binarization processing on each pixel of the preview image to generate an intermediate image.
[0033] The obtained preview image is analyzed to obtain each pixel of the preview image. The concept of a pixel is: in a digital image, the image is divided into very small points, and the small points formed here are called pixels, and each pixel corresponds to a gray value representing the brightness of the image at that point. Then, binary processing is performed on eac...
Embodiment 2
[0045] Such as figure 2 As shown, Embodiment 2 of the present invention provides a horizontal stripe image recognition method based on a mobile terminal, wherein the mobile terminal includes a camera, and the method includes:
[0046] Step 201. Acquire a frame of preview image captured by the camera.
[0047] Firstly, the camera of the mobile terminal is used to collect a frame of preview image, where the mobile terminal can be a camera, a smart phone, a tablet computer, and a PAD. The preview image obtained at this time is an unprocessed image, and the gray value of the pixel is relatively complex. Therefore, step 202 needs to be executed after the preview image is obtained.
[0048] Step 202, performing binarization processing on each pixel of the preview image to generate an intermediate image.
[0049] After a frame of unprocessed preview image is collected by the camera, each pixel in the preview image is processed by a binarization method, and an intermediate image i...
Embodiment 3
[0096] Such as image 3 As shown, Embodiment 3 of the present invention provides a mobile terminal-based horizontal stripe image recognition method, wherein the mobile terminal includes a camera, and the method includes:
[0097] Step 301. Acquire a frame of preview image captured by the camera.
[0098] Firstly, the camera of the mobile terminal is used to collect a frame of preview image, where the mobile terminal can be a camera, a smart phone, a tablet computer, and a PAD. The preview image obtained at this time is an unprocessed image, and the gray value of the pixel is relatively complex. Therefore, step 302 needs to be executed after the preview image is obtained.
[0099] Step 302, performing binarization processing on each pixel of the preview image to generate an intermediate image.
[0100] After a frame of unprocessed preview image is collected by the camera, each pixel in the preview image is processed by a binarization method, and an intermediate image is gene...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


