IMAGE IDENTIFICATION DEVICE, VIDEO REPRODUCTION DEVICE, IMAGE IDENTIFICATION METHOD, AND PROGRAM

The image identification device uses resized images with aspect ratio distortion and a machine learning model to accurately identify image attributes, addressing the issue of incomplete image recognition and enabling adaptive quality adjustments in video playback.

JP7542231B2Active Publication Date: 2024-08-30PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023502314
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-02-24
Filing Date
2022-02-16
Publication Date
2024-08-30
Estimated Expiration
2042-02-16

AI Technical Summary

Technical Problem

Existing image identification technologies fail to accurately identify attribute information of entire images due to cropping processes that exclude parts of the original image, leading to incorrect learning and recognition.

Method used

An image identification device that generates inspection image data by resizing with aspect ratio distortion and includes a machine learning model trained on diverse aspect ratio distorted images, allowing for accurate identification of image attributes without cropping, and a video playback device that adjusts image and sound quality based on identified attributes.

Benefits of technology

Effectively identifies image attributes with high accuracy and reduces processing load by using resized images and aspect ratio distortion, enabling suitable quality adjustments for images and sound based on identified attributes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007542231000007
    Figure 0007542231000007
  • Figure 0007542231000002
    Figure 0007542231000002
  • Figure 0007542231000001
    Figure 0007542231000001
Patent Text Reader

Abstract

An image identifying device (100) is provided with an acquiring unit (111) for acquiring image data, an image processing unit (112) for generating inspection image data by performing resizing to scale down the image data to a predetermined aspect ratio distortion, a storage unit (114) for storing a machine learning model used to identify attribute information of the inspection image data, and an identifying unit (115) for identifying the attribute information of the inspection image data using the machine learning model, wherein the machine learning model includes a trained parameter that has been adjusted by machine learning using a training dataset including a plurality of items of second training image data obtained by adding one or more types of aspect ratio distortion, including the predetermined aspect ratio distortion, to each of a plurality of items of first training image data, and a plurality of items of attribute information associated with each of the plurality of items of second training image data.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an image recognition device, a video playback device, an image recognition method, and a program. [Background technology]

[0002] Patent Document 1 discloses a generating device that generates information used for appropriately recognizing an image from information in a neural network. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2017-211939 A Summary of the Invention [Problem to be solved by the invention]

[0004] The present disclosure provides an image recognition device and the like that can effectively recognize attribute information of an image. [Means for solving the problem]

[0005] An image recognition device according to one embodiment of the present disclosure includes an acquisition unit that acquires image data, an image processing unit that generates test image data by resizing the image data to reduce it with a predetermined aspect ratio distortion, a memory unit that stores a machine learning model used to identify attribute information of the test image data, and an identification unit that identifies the attribute information of the test image data using the machine learning model, wherein the machine learning model includes learned parameters that are adjusted by machine learning using a learning dataset that includes a plurality of second training image data obtained by adding one or more types of aspect ratio distortion including the predetermined aspect ratio distortion to each of a plurality of first training image data, and a plurality of pieces of attribute information respectively associated with the plurality of second training image data.

[0006] In addition, a video playback device according to one embodiment of the present disclosure includes video data including multiple image data and audio data, an acquisition unit that acquires attribute information as a recognition result for each of the multiple image data included in the video data from the image recognition device, a setting unit that sets image quality adjustment parameters to be used in an image quality adjustment process and sets sound quality adjustment parameters to be used in a sound quality adjustment process based on the attribute information identified in each of the multiple image data, an image quality adjustment unit that adjusts the image quality of the image data in accordance with the image quality adjustment parameters set by the setting unit, a sound quality adjustment unit that adjusts the sound quality of the audio data in accordance with the sound quality adjustment parameters set by the setting unit, an image output unit that outputs the image data after the image quality adjustment, and an audio output unit that outputs the audio data after the sound quality adjustment.

[0007] In addition, an image recognition method according to one embodiment of the present disclosure includes an acquisition step of acquiring image data, an image processing step of generating test image data by resizing the image data to reduce it with a predetermined aspect ratio distortion, and an identification step of identifying attribute information of the test image data using a machine learning model used to identify attribute information of the test image data, wherein the machine learning model includes learned parameters adjusted by machine learning a learning dataset including a plurality of second training image data obtained by adding one or more types of aspect ratio distortion including the predetermined aspect ratio distortion to each of a plurality of first training image data, and a plurality of pieces of attribute information respectively corresponding to the plurality of second training image data.

[0008] Furthermore, a program according to one aspect of the present disclosure is a program for causing a computer to execute an image recognition method including an acquisition step of acquiring image data, an image processing step of generating test image data by resizing the image data to reduce it with a predetermined aspect ratio distortion, and an identification step of identifying attribute information of the test image data using a machine learning model used to identify attribute information of the test image data, wherein the machine learning model is a program for causing a computer to execute an image recognition method including learned parameters adjusted by machine learning of a learning dataset including a plurality of second training image data obtained by adding one or more types of aspect ratio distortion including the predetermined aspect ratio distortion to each of a plurality of first training image data, and a plurality of pieces of attribute information respectively corresponding to the plurality of second training image data.

[0009] In addition, these general or specific aspects may be realized by an apparatus, an integrated circuit, a computer program, or a non-transitory recording medium such as a computer-readable CD-ROM, or may be realized by any combination of an apparatus, an integrated circuit, a computer program, and a non-transitory recording medium. Effect of the Invention

[0010] The image identification information in the present disclosure can effectively identify the attribute information of an image. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a diagram illustrating an example of an image recognition device according to the first embodiment. [Diagram 2] FIG. 2 is a block diagram illustrating an example of a hardware configuration of the image identification device according to the first embodiment. [Diagram 3] FIG. 3 is a block diagram illustrating an example of a functional configuration of the image identification device according to the first embodiment. As illustrated in FIG. [Figure 4] FIG. 4 is a flowchart showing an example of a learning method performed by the image recognition device according to the first embodiment. [Diagram 5]FIG. 5 is a flowchart showing an example of image processing in the learning method by the image recognition device according to the first embodiment. [Figure 6] FIG. 6 is a diagram showing an example of image data before and after resizing processing in the learning method. [Figure 7] FIG. 7 is a flowchart showing an example of an image classification method performed by the image classification device according to the first embodiment. [Figure 8] FIG. 8 is a diagram showing an example of image data before and after resizing in the image identification method according to the first embodiment. [Figure 9] FIG. 9 is a diagram illustrating an example of a video playback device according to the second embodiment. [Figure 10] FIG. 10 is a block diagram showing an example of a hardware configuration of a video playback device according to the second embodiment. As shown in FIG. [Figure 11] FIG. 11 is a block diagram illustrating an example of a functional configuration of a video playback device according to the second embodiment. As shown in FIG. [Figure 12] FIG. 12 is a flowchart showing an example of a video playback method performed by the video playback device according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] (Findings on which this disclosure is based) The present inventors have found that the generating device described in the "Background Art" section has the following problems.

[0013] In recent years, there has been a demand for identifying attribute information indicating what kind of image an image is by using a machine learning model. To generate such a machine learning model, a learning data set of learning images and attribute information of the images is used. For example, Patent Document 1 discloses that processed images obtained by cropping some images out of the generated composite image, the corrected image after resizing the composite image, and the corrected image after changing the aspect ratio of the composite image are generated as images to be used for learning.

[0014] However, in the technology described in Patent Document 1, the original image is cropped to generate a processed image, so that the area outside the cropping range of the original image is excluded. For this reason, it may not be suitable for generating a machine learning model used to identify what kind of image the entire image is. For example, in an image showing a display device on which a video is displayed, if the display area of ​​the display device is cropped, the entire image and the cropped image are different images, so there is a risk of erroneous learning. For example, if the entire original image before cropping is an image of a news program, and the image shown on the display device during the program is a scene from a sport, since the original image is associated with the news program as the correct answer data of the attribute information, if the part of the image shown on the display device is cropped and learned as a news image, the image of a scene from a sport will be learned as a news image. For this reason, if an image of a scene from a sport is recognized using the generated machine learning model, there is a high possibility that it will be erroneously recognized as a news image.

[0015] Therefore, the present disclosure provides an image recognition device and the like that can effectively recognize attribute information of an entire image.

[0016] An image recognition device according to one embodiment of the present disclosure includes an acquisition unit that acquires image data, an image processing unit that generates test image data by resizing the image data to reduce it with a predetermined aspect ratio distortion, a memory unit that stores a machine learning model used to identify attribute information of the test image data, and an identification unit that identifies the attribute information of the test image data using the machine learning model, wherein the machine learning model includes learned parameters that are adjusted by machine learning using a learning dataset that includes a plurality of second training image data obtained by adding one or more types of aspect ratio distortion including the predetermined aspect ratio distortion to each of a plurality of first training image data, and a plurality of pieces of attribute information respectively associated with the plurality of second training image data.

[0017] According to this, the machine learning model includes learned parameters adjusted by machine learning a learning dataset including a plurality of second training image data obtained by adding one or more types of aspect ratio distortion including a predetermined aspect ratio distortion added by resizing to generate the test image data, and a plurality of pieces of attribute information respectively associated with the plurality of second training image data, so that the overall attribute information of the test image data can be effectively identified. In addition, since the test image is generated by performing resizing to reduce the size, the processing load related to the identification process can be reduced.

[0018] Also, for example, the image processing unit may generate the inspection image data by masking an area including characters in the acquired image data and performing the resizing on the image data after the masking process.

[0019] This makes it possible to improve the accuracy of identification even when image data contains characters.

[0020] Also, for example, when the acquired image data includes letterbox information, the image processing unit may generate the inspection image data by erasing the letterbox information and performing the resizing on the image data after the letterbox information has been erased.

[0021] This makes it possible to improve the identification accuracy even when letterbox information is included.

[0022] Also, for example, the image processing unit may generate the test image data without performing a process of cutting out an image of a main region of the image data.

[0023] According to this, since a part of the image in the main region is not removed, the attribute information of the entire image in the main region can be accurately identified.

[0024] In addition, a video playback device according to one embodiment of the present disclosure includes video data including multiple image data and audio data, an acquisition unit that acquires attribute information as a recognition result for each of the multiple image data included in the video data from the image recognition device, a setting unit that sets image quality adjustment parameters to be used in an image quality adjustment process and sets sound quality adjustment parameters to be used in a sound quality adjustment process based on the attribute information identified in each of the multiple image data, an image quality adjustment unit that adjusts the image quality of the image data in accordance with the image quality adjustment parameters set by the setting unit, a sound quality adjustment unit that adjusts the sound quality of the audio data in accordance with the sound quality adjustment parameters set by the setting unit, an image output unit that outputs the image data after the image quality adjustment, and an audio output unit that outputs the audio data after the sound quality adjustment.

[0025] According to this, image quality adjustment and sound quality adjustment can be performed based on attribute information identified from the obtained image data, thereby enabling image quality adjustment and sound quality adjustment to be performed that are suitable for the characteristics of the image data and audio data.

[0026] Also, for example, the setting section may set the picture quality adjustment parameters and the sound quality adjustment parameters based on attribute information obtained at predetermined time intervals.

[0027] Therefore, image quality adjustment and sound quality adjustment suited to the characteristics of image data and audio data can be performed at predetermined time intervals.

[0028] Also, for example, the setting section may set the picture quality adjustment parameters and the sound quality adjustment parameters based on the type of attribute information that is most prevalent among a plurality of pieces of attribute information obtained within a predetermined period up to the present.

[0029] As a result, even if image data that is easily misrecognized is included among multiple image data, image quality adjustment parameters and sound quality adjustment parameters are set based on the type of attribute information that is most frequently identified, thereby reducing the possibility of momentary switching to image quality adjustment parameters and sound quality adjustment parameters based on the type of attribute information due to misrecognition.

[0030] In addition, an image recognition method according to one embodiment of the present disclosure includes an acquisition step of acquiring image data, an image processing step of generating test image data by resizing the image data to reduce it with a predetermined aspect ratio distortion, and an identification step of identifying attribute information of the test image data using a machine learning model used to identify attribute information of the test image data, wherein the machine learning model includes learned parameters adjusted by machine learning a learning dataset including a plurality of second training image data obtained by adding one or more types of aspect ratio distortion including the predetermined aspect ratio distortion to each of a plurality of first training image data, and a plurality of pieces of attribute information respectively corresponding to the plurality of second training image data.

[0031] According to this, the machine learning model includes learned parameters adjusted by machine learning a learning dataset including a plurality of second training image data obtained by adding one or more types of aspect ratio distortion including a predetermined aspect ratio distortion added by resizing to generate the test image data, and a plurality of pieces of attribute information respectively associated with the plurality of second training image data, so that the overall attribute information of the test image data can be effectively identified. In addition, since the test image is resized and generated, the processing load related to the identification process can be reduced.

[0032] Furthermore, a program according to one aspect of the present disclosure is a program for causing a computer to execute an image recognition method including an acquisition step of acquiring image data, an image processing step of generating test image data by resizing the image data to reduce it with a predetermined aspect ratio distortion, and an identification step of identifying attribute information of the test image data using a machine learning model used to identify attribute information of the test image data, wherein the machine learning model is a program for causing a computer to execute an image recognition method including learned parameters adjusted by machine learning of a learning dataset including a plurality of second training image data obtained by adding one or more types of aspect ratio distortion including the predetermined aspect ratio distortion to each of a plurality of first training image data, and a plurality of pieces of attribute information respectively corresponding to the plurality of second training image data.

[0033] According to this, the machine learning model includes learned parameters adjusted by machine learning a learning dataset including a plurality of second training image data obtained by adding one or more types of aspect ratio distortion including a predetermined aspect ratio distortion added by resizing to generate the test image data, and a plurality of pieces of attribute information respectively associated with the plurality of second training image data, so that the overall attribute information of the test image data can be effectively identified. In addition, since the test image is resized and generated, the processing load related to the identification process can be reduced.

[0034] In addition, these general or specific aspects may be realized by an apparatus, an integrated circuit, a computer program, or a non-transitory recording medium such as a computer-readable CD-ROM, or may be realized by any combination of an apparatus, an integrated circuit, a computer program, and a non-transitory recording medium.

[0035] Hereinafter, the embodiments will be described in detail with reference to the drawings as appropriate. However, more detailed explanation than necessary may be omitted. For example, detailed explanation of already well-known matters or duplicate explanation of substantially the same configuration may be omitted. This is to avoid the following explanation becoming unnecessarily redundant and to facilitate understanding by those skilled in the art.

[0036] The inventor provides the accompanying drawings and the following description so that those skilled in the art can fully understand the present disclosure, and does not intend for them to limit the subject matter described in the claims.

[0037] (Embodiment 1) [1-1. Configuration] FIG. 1 is a diagram illustrating an example of an image recognition device according to the first embodiment.

[0038] As shown in FIG. 1, the image identification device 100 is, for example, a PC (Personal Computer). The image identification device 100 may be a server or another information processing device. The image identification device 100 performs image identification processing on the acquired image to identify attribute information of the image. The attribute information of the image is, for example, the genre of the scene shown in the image, which may be, for example, landscape, person, sports, food, night view, etc. Also, the image may be, for example, one frame of a moving image. In this case, the attribute information of the image is the genre of the moving image, which may be, for example, sports, music, talk, movie, etc.

[0039] FIG. 2 is a block diagram illustrating an example of a hardware configuration of the image identification device according to the first embodiment.

[0040] As shown in FIG. 2, the image recognition device 100 includes, as its hardware configuration, a processor 101, a main memory 102, a storage 103, a communication IF (Interface) 104, an input IF (Interface) 105, and a display 106.

[0041] The processor 101 is a processor that executes a program stored in the storage 103 or the like.

[0042] The main memory 102 is a volatile storage area used as a work area when the processor 101 executes a program.

[0043] The storage 103 is a non-volatile storage area that holds various data such as programs.

[0044] The communication IF 104 is a communication interface for transmitting data between an external device such as a smartphone, a tablet, a PC (Personal Computer), or a server. The communication IF 104 may be an interface for wireless communication, such as a wireless LAN (Local Area Network) interface or a Bluetooth (registered trademark) interface. The communication IF 104 may be an interface for wired communication, such as a USB (Universal Serial Bus) or a wired LAN interface. The communication IF 104 is not limited to the above, and may be a communication interface for transmitting data between an external device and the communication IF 104 via a communication network. The communication IF 104 may also be a reader for reading data stored in a recording medium, such as a memory card, from the recording medium.

[0045] The input IF 105 is an interface for receiving input from a person. The input IF 105 may be a pointing device such as a mouse, a touch pad, a touch panel, or a trackball, or may be a keyboard.

[0046] The display 106 is a liquid crystal display, an organic EL display, or the like.

[0047] It is to be noted that the image identification device 100 does not necessarily have to include the input IF 105 and the display 106.

[0048] FIG. 3 is a block diagram illustrating an example of a functional configuration of the image identification device according to the first embodiment. As illustrated in FIG.

[0049] 3, the image identification device 100 includes an acquisition unit 111, an image processing unit 112, a learning unit 113, a storage unit 114, and a classification unit 115. Note that the image identification device 100 does not necessarily have to include the learning unit 113.

[0050] The acquisition unit 111 acquires image data. The acquisition unit 111 may acquire image data from an external device via the communication IF 104, or may acquire image data from a camera via the communication IF 104. Note that the acquisition unit 111 may acquire still image data or moving image data as the image data.

[0051] The acquisition unit 111 may further acquire attribute information associated in advance with the acquired image data as correct answer data. The acquisition unit 111 acquires the image data associated with the attribute information as image data used for learning (hereinafter, referred to as first learning image data). Alternatively, the acquisition unit 111 may acquire image data to which attribute information is not associated as image data used for identification. Instead of acquiring attribute information associated in advance with the image data as correct answer data, the acquisition unit 111 may accept an input from a user for the image data, and acquire attribute information based on the accepted input as attribute information associated with the image data. The first learning image data is used for processing by the learning unit 113. The image data used for identification is used for processing by the identification unit 115.

[0052] The acquisition unit 111 is realized, for example, by the processor 101 executing a program stored in the storage 103 to control the operation of the communication IF 104 .

[0053] The image processing unit 112 performs image processing on the image data acquired by the acquisition unit 111 to generate second learning image data or test image data. Specifically, the image processing unit 112 generates the second learning image data or test image data by performing resizing to reduce the image data acquired by the acquisition unit 111 with a predetermined aspect ratio distortion. Specifically, the image processing unit 112 reduces image data with a fixed aspect ratio (horizontal:vertical) of A:B to image data with a fixed aspect ratio of C:D as the resizing. Note that A, B, C, and D are each a number greater than 0. The image processing unit 112 performs resizing to reduce the image data at a fixed ratio in each of the vertical and horizontal directions, for example.

[0054] For example, A:B in the above resizing may be 16:9, and C:D may be 1:1. Furthermore, image data with an aspect ratio of A:B may be image data with a size of 1920×1080 pixels, and image data with an aspect ratio of C:D may be image data with a size of 224×224 pixels. That is, the image processing unit 112 may perform, for example, resizing by converting image data with a size of 1920×1080 pixels to a size of 224×224 pixels.

[0055] In this way, the image data used for identification may be image data having a size of 1920 x 1080 pixels. Also, the inspection image data generated by the image processing unit 112 may be image data having one size of 224 x 224 pixels.

[0056] In addition, when generating the second learning image data, the image processing unit 112 may perform resizing different from the above resizing. The multiple first learning image data may include not only images with an aspect ratio of 16:9, but also image data with various other aspect ratios. That is, the first learning image data may include image data of various sizes. However, if the ratio of the conversion rate (reduction rate) of the vertical length and the conversion rate (reduction rate) of the horizontal length in the resizing is made different between the learning time and the classification time, there is a risk that the classification accuracy will decrease. For this reason, the image processing unit 112 performs resizing at a ratio equal to the ratio of the conversion rate of the vertical length and the conversion rate of the horizontal length in the resizing at the classification time, even for image data with various aspect ratios at the learning time.

[0057] Furthermore, the image processing unit 112 may generate second learning image data by performing data augmentation and normalization or standardization on the first learning image data in addition to the above-mentioned resizing. Furthermore, for example, the image processing unit 112 may generate inspection image data by performing normalization or standardization on image data used for classification in addition to the above-mentioned resizing.

[0058] Data augmentation is a process of increasing the number of image data for learning by applying processes such as translation, enlargement, reduction, rotation, and noise addition to image data. In other words, by performing N types of data augmentation on one piece of image data, the number of image data for learning can be increased by N times. The multiple second learning image data generated by performing this data augmentation may include image data to which only a predetermined aspect ratio distortion due to resizing has been added, and data to which a type of aspect ratio distortion different from that due to resizing has been added.

[0059] Furthermore, normalization may be, for example, an operation to convert a plurality of pixel values ​​of a plurality of pixels constituting image data so that the maximum value of the plurality of pixel values ​​becomes 1 and the minimum value of the plurality of pixel values ​​becomes 0. Furthermore, normalization may be, for example, an operation to convert a plurality of pixel values ​​of a plurality of pixels constituting image data so that the maximum value of the plurality of pixel values ​​becomes N and the minimum value of the plurality of pixel values ​​becomes M.

[0060] Furthermore, standardization may be an operation of converting a plurality of pixel values ​​of a plurality of pixels constituting image data so that the average value of the plurality of pixel values ​​becomes zero and the standard deviation becomes one.

[0061] In addition, the image processing unit 112 generates the second learning image data or the test image data without performing a cutout process (cropping process) to an image of a main region of the image data in the above-mentioned resizing, data augmentation, and normalization. The image of the main region of the image data is, for example, an image having a pixel value larger than a predetermined value. The predetermined value is, for example, a value included in the range of 0 to 5% of the maximum pixel value. In other words, the image processing unit 112 does not perform a cutout process to an image having a pixel value larger than a predetermined value.

[0062] Furthermore, the image processor 112 may generate the test image data by masking the area including the characters in the acquired image data and resizing the image data after the masking process. This can improve the identification accuracy even when the image data includes characters.

[0063] Furthermore, when the acquired image data includes letterbox information, the image processing unit 112 may erase the letterbox information and resize the image data after erasing the letterbox information to generate the test image data. This makes it possible to improve the identification accuracy even when the letterbox information is included. Note that the letterbox information is the black band areas above and below the image of the main region. In other words, the letterbox information is a collection of black pixels or pixels close to black, that is, a collection of pixels having pixel values ​​equal to or less than a predetermined value.

[0064] The image processing unit 112 is realized, for example, by the processor 101 executing a program stored in the storage 103 .

[0065] The learning unit 113 performs machine learning using a learning dataset including a plurality of second learning image data generated by the image processing unit 112 and a plurality of pieces of attribute information associated with the plurality of second learning image data as correct answer data. The attribute information associated with the second learning image data as correct answer data is attribute information associated with the first learning image data, which is the source of the conversion of the second learning image data, as correct answer data. The learning unit 113 generates a machine learning model used to identify the attribute information of the image data by machine learning. The machine learning model includes learned parameters adjusted by machine learning. The generated machine learning model is stored in the storage unit 114. The learning unit 113 is realized, for example, by the processor 101 executing a program stored in the storage 103.

[0066] The storage unit 114 stores a machine learning model. The storage unit 114 may update the stored machine learning model to a machine learning model generated by the learning unit 113. The storage unit 114 may also temporarily store image data acquired by the acquisition unit 111. The storage unit 114 may also temporarily store learning image data and inspection image data generated by the image processing unit 112. The storage unit 114 is realized by, for example, the storage 103 or the like.

[0067] The identification unit 115 uses a machine learning model stored in the storage unit 114 to identify attribute information of the test image data generated by the image processing unit 112.

[0068] [1-2. Operation] Next, the operation of the image identification device 100 will be described.

[0069] FIG. 4 is a flowchart showing an example of a learning method performed by the image recognition device according to the first embodiment.

[0070] The image identification device 100 acquires image data and attribute information that is associated with the image data in advance as correct answer data (S11). The image identification device 100 acquires a plurality of image data and attribute information that is associated with each of the plurality of image data as correct answer data.

[0071] Next, the image recognition device 100 executes image processing on the acquired image data (S12). The image processing will be described in detail later.

[0072] Next, the image recognition device 100 performs machine learning using a learning dataset of the image data after the image processing and the correct answer data associated with the image data before the image processing (S13). As a result, the image recognition device 100 generates a machine learning model including the adjusted trained parameters, and stores the generated machine learning model in the storage unit 114.

[0073] Fig. 5 is a flowchart showing an example of image processing in the learning method by the image recognition device according to embodiment 1. The flowchart in Fig. 5 shows an example of resizing in the image processing. Fig. 6 is a diagram showing an example of image data before and after resizing in the learning method.

[0074] The image identification device 100 determines whether the aspect ratio value w1 / h1 of the image data to be resized is 16 / 9 or more (S21). Here, w1 is the horizontal length of the image data, and h1 is the vertical length of the image data. The horizontal length of the image data is the number of pixels lined up in the horizontal direction, and the vertical length of the image data is the number of pixels lined up in the vertical direction. In step S21, it is determined whether the image data is the same as image data with an aspect ratio of 16:9, or whether the ratio of the horizontal length to the vertical length is greater than that of 16:9.

[0075] When the aspect ratio value w1 / h1 of the image data to be resized is 16 / 9 or more (Yes in S21), the image identification device 100 resizes the image data so that the horizontal length w2 becomes 144*w1 / h1 and the vertical length h2 becomes 256 (S22). For example, as shown in (a) of FIG. 6, image data 301 having an aspect ratio value of 16 / 9 is resized to generate image data 302 having an aspect ratio value of 1 / 1 and a size of 256×256. The image data 301 is an image having at least a vertical length greater than 256. Also, for example, as shown in (b) of FIG. 6, image data 311 having an aspect ratio value of 4 / 1 is resized to generate image data 312 having a size of 576×256. The image data 311 is an image having at least a vertical size greater than 256. As shown in (b) of Figure 6, when the image data has a horizontal ratio larger than the aspect ratio of 16:9, the vertical length is converted to a fixed value of 256, and the horizontal length is converted to be equal to the ratio of the vertical length conversion rate to the horizontal length conversion rate when converting 16:9 to 1:1.

[0076] When the aspect ratio value w1 / h1 of the image data to be resized is less than 16 / 9 (No in S21), the image identification device 100 resizes the image data so that the horizontal length w2 is 256 and the vertical length h2 is 455.1*h1 / w1 (S23). For example, as shown in (c) of FIG. 6, image data 321 with an aspect ratio value of 1 / 1 is resized to generate image data 322 with a size of 256×455. The image data 321 is an image with at least a horizontal length greater than 256. When the image data has a ratio of the vertical length to the horizontal length greater than the aspect ratio of 16:9 as shown in (c) of FIG. 6, the image data is converted so that the horizontal length is a fixed value of 256, and the horizontal length is converted so that the ratio is equal to the ratio of the vertical length conversion rate to the horizontal length conversion rate when converting 16:9 to 1:1.

[0077] In this way, image identification device 100 converts the longer length so that the shorter length becomes 256 and is equal to the ratio of the conversion rate of the vertical length to the conversion rate of the horizontal length when converting 16:9 to 1:1. Note that image identification device 100 is not limited to a target value of 256 for the shorter length, and may convert to a length other than 256.

[0078] Fig. 7 is a flowchart showing an example of an image classification method by the image classification device according to Embodiment 1. Fig. 8 is a diagram showing an example of image data before and after resizing processing in the image classification method.

[0079] The image recognition device 100 acquires image data (S31).

[0080] Next, the image recognition device 100 executes image processing on the acquired image data (S32). Specifically, as shown in Fig. 8, the image recognition device 100 resizes image data 331 having an aspect ratio of 16:9 and a size of 1920 x 1080 to generate image data 332 having an aspect ratio of 1:1 and a size of 224 x 224.

[0081] Next, the image recognition device 100 uses the machine learning model stored in the storage unit 114 to recognize attribute information of the test image data generated by the image processing unit 112 (S33).

[0082] The identified attribute information may be used to set image quality adjustment parameters when playing back video images of video data, or to set sound quality adjustment parameters when playing back audio data, as described below. The identified attribute information may also be used to classify image data. For example, it may be used to classify image data captured by a camera by genre. The image identification device 100 may also be mounted on a camera, and the identified attribute information may be used to set the shooting parameters of the camera.

[0083] [1-3. Effects, etc.] According to the image recognition device 100 of the present embodiment, the machine learning model includes learned parameters adjusted by machine learning a learning dataset including a plurality of second training image data obtained by adding one or more types of aspect ratio distortion including the aspect ratio distortion added by resizing to generate the test image data, and a plurality of pieces of attribute information respectively associated with the plurality of second training image data, so that the entire attribute information of the test image data can be effectively recognized. In addition, since the test image is resized and generated, the processing load related to the recognition process can be reduced.

[0084] Furthermore, in the image identification device 100 according to the present embodiment, the image processing unit 112 generates test image data without performing a process of cutting out the image of the main region from the image data. This allows attribute information of the entire image of the main region to be identified with high accuracy, since a part of the image of the main region is not removed.

[0085] (Embodiment 2) [2-1. Configuration] FIG. 9 is a diagram illustrating an example of a video playback device according to the second embodiment.

[0086] As shown in Fig. 9, the video playback device 200 includes the image identification device 100 described in the first embodiment, and executes a process of playing back video data using the classification result of the video data included in the video data by the image identification device 100. The video data includes a plurality of image data (i.e., a plurality of frames) as video data, and audio data. The video playback device 200 performs optimal image quality adjustment and sound quality adjustment on the video data using the attribute information, and plays back the video data.

[0087] FIG. 10 is a block diagram showing an example of a hardware configuration of a video playback device according to the second embodiment. As shown in FIG.

[0088] 10, the video playback device 200 includes a tuner 201, a decoder 202, a control circuit 203, a memory 204, a display device 205, and a speaker 206. The video playback device 200 is, for example, a television receiver.

[0089] The tuner 201 converts an analog signal constituting a broadcast wave received by an antenna (not shown) into coded data, which is a digital signal, and outputs the coded data obtained by the conversion to the decoder 202 .

[0090] The decoder 202 decodes the coded data obtained from the tuner 201, and outputs the video data obtained by the decoding to the control circuit 203. When the coded data is multiplexed, the decoder 202 decodes the coded data for video and the coded data for audio obtained by demultiplexing the coded data into video data and audio data, respectively.

[0091] The control circuit 203 performs video processing on the video data output by the decoder 202. The control circuit 203 outputs the video obtained by performing the video processing to the display device 205. The decoder 202 and the control circuit 203 may be realized by the same circuit. The control circuit 203 may be realized by a general-purpose processor such as a CPU that executes a predetermined program, or may be realized by a dedicated circuit. In other words, the functions of the video playback device 200 described later may be realized by software or hardware.

[0092] The control program may be stored in the memory 204. The memory 204 is, for example, a non-volatile memory.

[0093] The display device 205 displays the image output by the control circuit 203. The display device 205 is a display panel, and is configured, for example, by a liquid crystal panel, an organic EL panel, or the like.

[0094] The speaker 206 outputs the sound output by the control circuit 203 .

[0095] The video playback device 200 does not necessarily have to include the display device 205 and the speaker 206. In other words, the video playback device 200 is not limited to a television receiver as long as it can output video to an externally connected display device and output audio to an externally connected speaker. The video playback device 200 may be realized by a recorder, a set-top box, or an information processing device such as a PC (Personal Computer), a smartphone, or a tablet terminal.

[0096] FIG. 11 is a block diagram illustrating an example of a functional configuration of a video playback device according to the second embodiment. As shown in FIG.

[0097] As shown in FIG. 11, the video playback device 200 includes an acquisition unit 211, a setting unit 212, an image quality adjustment unit 213, a sound quality adjustment unit 214, an image output unit 215, an audio output unit 216, and the image identification device 100.

[0098] The acquisition unit 211 acquires video data. For example, the acquisition unit 211 acquires video data by decoding the encoded data acquired from the tuner 201 using the decoder 202. The acquisition unit 211 outputs the acquired video data to the image identification device 100, and acquires from the image identification device 100 the moving image data included in the video data, that is, attribute information as the recognition result of each of the multiple image data. Note that the attribute information output from the image identification device 100 is, for example, the genre of the moving image data, and this genre is, for example, sports, music, talk, movie, etc. The acquisition unit 211 is realized by, for example, the tuner 201 and the decoder 202.

[0099] The setting unit 212 sets image quality adjustment parameters used in image quality adjustment processing and sound quality adjustment parameters used in sound quality adjustment processing, based on the attribute information identified in each of the multiple image data. For example, based on the attribute information, the setting unit 212 sets image quality adjustment parameters optimal for video of the genre of video data specified by the attribute information, and sets sound quality adjustment parameters optimal for the audio of the genre of the video data. For example, parameter information in which types of attribute information are previously associated with image quality adjustment parameters optimal for the type of attribute information, and sound quality adjustment parameters optimal for the type of attribute information, is stored in the memory 204. The setting unit 212 refers to the parameter information and sets the image quality adjustment parameters and sound quality adjustment parameters associated with the attribute information identified in the parameter information.

[0100] Furthermore, the setting unit 212 sequentially sets picture quality adjustment parameters and sound quality adjustment parameters based on the attribute information of the image data obtained at predetermined time intervals. Therefore, picture quality adjustment and sound quality adjustment suited to the characteristics of the image data and audio data can be performed at predetermined time intervals. In other words, even if the scene of the video data changes and the genre of the video changes, the setting unit 212 can set picture quality adjustment parameters and sound quality adjustment parameters optimal for the genre of the video after the change.

[0101] Furthermore, the setting unit 212 may set the image quality adjustment parameters and the sound quality adjustment parameters based on the most common type of attribute information among the multiple pieces of attribute information obtained during a predetermined period up to the present time. As a result, even if image data that is easily erroneously recognized is included among the multiple pieces of image data, the image quality adjustment parameters and the sound quality adjustment parameters are set based on the most frequently identified type of attribute information, so that it is possible to reduce momentary switching to the image quality adjustment parameters and the sound quality adjustment parameters based on the type of attribute information due to erroneous recognition.

[0102] The setting unit 212 is realized, for example, by the control circuit 203 executing a program stored in the memory 204 .

[0103] The image quality adjustment unit 213 adjusts the image quality of the image data according to the image quality adjustment parameters set by the setting unit 212. The image quality adjustment unit 213 adjusts, for example, the brightness, contrast, sharpness, frame interpolation, etc. of the image. The image quality adjustment unit 213 is realized, for example, by the control circuit 203 executing a program stored in the memory 204.

[0104] The sound quality adjustment unit 214 adjusts the sound quality of the audio data according to the sound quality adjustment parameters set by the setting unit 212. The sound quality adjustment unit 214 adjusts, for example, the mid-range, deep bass, surround sound, etc. of the audio. The sound quality adjustment unit 214 is realized, for example, by the control circuit 203 executing a program stored in the memory 204.

[0105] Image output unit 215 outputs image data after image quality adjustment by image quality adjustment unit 213. Image output unit 215, for example, causes display device 205 to display the image data after image quality adjustment by image quality adjustment unit 213. Image output unit 215 is realized, for example, by control circuit 203 executing a program stored in memory 204 and controlling the operation of display device 205.

[0106] The audio output unit 216 outputs the audio data after the sound quality adjustment by the sound quality adjustment unit 214. For example, the audio output unit 216 outputs the audio data after the sound quality adjustment by the sound quality adjustment unit 214 to the speaker 206. The audio output unit 216 is realized, for example, by the control circuit 203 executing a program stored in the memory 204 and controlling the operation of the speaker 206.

[0107] The functional configuration of the image identification device 100 is the same as that of the first embodiment, and therefore a description thereof will be omitted. The functions of the image identification device 100 are realized by the control circuit 203 and the memory 204.

[0108] [2-2. Operation] Next, the operation of the video playback device 200 will be described.

[0109] FIG. 12 is a flowchart showing an example of a video playback method performed by the video playback device according to the second embodiment.

[0110] The video playback device 200 acquires video data (S41).

[0111] Next, the video playback device 200 acquires from the image recognition device 100 the moving image data included in the video data, that is, attribute information as the recognition result for each of the multiple image data (S42).

[0112] Next, the video playback device 200 sets picture quality adjustment parameters to be used in the picture quality adjustment process and sets sound quality adjustment parameters to be used in the sound quality adjustment process, based on the attribute information identified for each of the multiple image data (S43).

[0113] Next, the video playback device 200 adjusts the image quality of the image data in accordance with the image quality adjustment parameters set by the setting unit 212, and adjusts the sound quality of the audio data in accordance with the sound quality adjustment parameters set by the setting unit 212 (S44).

[0114] Next, the video playback device 200 outputs the image data after the image quality adjustment by the image quality adjustment section 213 and the audio data after the sound quality adjustment by the sound quality adjustment section 214 (S45).

[0115] [2-3. Effects, etc.] According to the video playback device 200 of this embodiment, image quality adjustment and sound quality adjustment can be performed based on attribute information identified from the obtained image data, thereby making it possible to perform image quality adjustment and sound quality adjustment suitable for the characteristics of the image data and audio data.

[0116] [2-4. Modifications] In the above embodiment, the video playback device 200 is configured to include the image identification device 100, but the present invention is not limited to this, and the image identification device 100 may be an external device of the video playback device 200. In other words, the video playback device 200 may sequentially acquire attribute information of each of a plurality of image data of the video data from the image identification device 100 connected via a communication IF.

[0117] In the above embodiment, the video playback device 200 is configured to include the tuner 201, and the acquisition unit 211 is realized by the tuner 201 and the decoder 202, but this is not limited thereto. The acquisition unit 211 may acquire video data by reading video data recorded on a recording medium (predetermined package medium) such as an optical disc. In this case, the acquisition unit 211 may be realized by an electric device having an optical pickup that reads the optical disc. The acquisition unit 211 may also acquire video data from an external server via a network such as the Internet. In this case, the acquisition unit 211 may be realized by a communication IF for communicating with the external server.

[0118] In the above embodiment, the attribute information is the genre of the image data, but it is not limited to this and may be identification information that identifies a classification of image quality adjustment parameters that are optimal for adjusting the image quality of the image data. In other words, even if the genre of the image data is not necessarily associated with the image data, as long as identification information that identifies a classification of image quality adjustment parameters is associated with the image data, the video playback device 200 can set the image quality adjustment parameters that are optimal for the image data based on the identification information. The same can be said for sound quality adjustment parameters for audio data.

[0119] In the above embodiment, each component may be realized by a dedicated hardware or by executing a software program suitable for each component. Each component may be realized by a program execution unit such as a CPU or a processor reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory.

[0120] Each component may be a circuit (or an integrated circuit). These circuits may form a single circuit as a whole, or each may be a separate circuit. Each of these circuits may be a general-purpose circuit or a dedicated circuit.

[0121] In addition, the general or specific aspects of the present disclosure may be realized in a system, an apparatus, a method, an integrated circuit, a computer program, or a non-transitory recording medium such as a computer-readable CD-ROM, or in any combination of a system, an apparatus, a method, an integrated circuit, a computer program, and a computer-readable non-transitory recording medium.

[0122] For example, the present disclosure may be realized as an image recognition method executed by an image recognition device (computer or DSP), or as a program for causing a computer or DSP to execute the image recognition method. Also, for example, the present disclosure may be realized as a video reproducing method executed by a video reproducing device (computer or DSP), or as a program for causing a computer or DSP to execute the video reproducing method.

[0123] In the above embodiment, the process executed by a specific processing unit may be executed by another processing unit. In addition, the order of multiple processes in the operation of the image recognition device or the operation of the video playback device described in the above embodiment may be changed, and multiple processes may be executed in parallel.

[0124] In addition, the present disclosure also includes forms obtained by applying various modifications to each embodiment that a person skilled in the art may conceive, or forms realized by arbitrarily combining the components and functions of each embodiment within the scope that does not deviate from the spirit of the present disclosure. [Industrial Applicability]

[0125] The present disclosure is useful as an image recognition device, a video playback device, an image recognition method, a program, and the like that can effectively recognize attribute information of an image. [Explanation of symbols]

[0126] 100 Image Recognition Device 101 Processor 102 Main memory 103 Storage 104 Communication Interface 105 Input IF 106 Display 111 Acquisition Department 112 Image processing section 113 Learning Department 114 Storage section 115 Identification section 200 Video playback device 201 Tuner 202 Decoder 203 Control circuit 204 Memory 205 Display Device 206 Speaker 211 Acquisition Department 212 Setting section 213 Image quality adjustment section 214 Sound quality adjustment section 215 Image output unit 216 Audio output section 301, 302, 311, 312, 321, 322, 331, 332 Image data

Claims

1. An acquisition unit that acquires image data; an image processing unit that generates test image data by performing resizing to reduce the image data with a predetermined aspect ratio distortion; A storage unit that stores a machine learning model used to identify attribute information of the test image data; An identification unit that identifies attribute information of the inspection image data by using the machine learning model; Equipped with The machine learning model is A learned parameter is adjusted by machine learning using a learning dataset including a plurality of second training image data obtained by adding one or more types of aspect ratio distortion including the predetermined aspect ratio distortion to each of a plurality of first training image data, and a plurality of pieces of attribute information respectively associated with the plurality of second training image data, The image processing unit includes: A region including characters in the acquired image data is masked, and the image data after the masking is resized to generate the inspection image data. Image recognition device.

2. An acquisition unit that acquires image data; an image processing unit that generates test image data by performing resizing to reduce the image data with a predetermined aspect ratio distortion; A storage unit that stores a machine learning model used to identify attribute information of the test image data; An identification unit that identifies attribute information of the inspection image data by using the machine learning model; Equipped with The machine learning model is A learned parameter is adjusted by machine learning using a learning dataset including a plurality of second training image data obtained by adding one or more types of aspect ratio distortion including the predetermined aspect ratio distortion to each of a plurality of first training image data, and a plurality of pieces of attribute information respectively associated with the plurality of second training image data, The image processing unit includes: If the acquired image data includes letterbox information, the letterbox information is deleted, and the image data after the letterbox information is deleted is subjected to the resizing, thereby generating the inspection image data. Image recognition device.

3. The image processing unit includes: The inspection image data is generated without performing a process of cutting out an image of a main region of the image data. The image recognition device according to claim 1 or 2.

4. An acquisition unit that acquires video data including a plurality of image data and audio data, and attribute information as a classification result of each of the plurality of image data included in the video data from an image classification device; a setting unit that sets image quality adjustment parameters to be used in an image quality adjustment process and sets sound quality adjustment parameters to be used in a sound quality adjustment process based on the attribute information identified for each of the plurality of image data; an image quality adjustment unit that adjusts image quality of the image data in accordance with the image quality adjustment parameters set by the setting unit; a sound quality adjustment unit that adjusts the sound quality of the audio data in accordance with the sound quality adjustment parameters set by the setting unit; an image output unit that outputs the image data after the image quality adjustment; an audio output unit that outputs the audio data after the sound quality adjustment; Equipped with The image identification device includes: an image acquisition unit that acquires image data; an image processing unit that generates test image data by performing resizing to reduce the image data with a predetermined aspect ratio distortion; A storage unit that stores a machine learning model used to identify attribute information of the test image data; An identification unit that identifies attribute information of the inspection image data by using the machine learning model; Equipped with The machine learning model is The training data set includes a plurality of second training image data obtained by adding one or more types of aspect ratio distortions including the predetermined aspect ratio distortion to each of a plurality of first training image data, and a plurality of pieces of attribute information respectively associated with the plurality of second training image data. Video playback device.

5. The image processing unit: A region including characters in the acquired image data is masked, and the image data after the masking is resized to generate the inspection image data.

5. The video reproducing device according to claim 4.

6. The image processing unit: If the acquired image data includes letterbox information, the letterbox information is deleted, and the image data after the letterbox information is deleted is subjected to the resizing, thereby generating the inspection image data.

5. The video reproducing device according to claim 4.

7. The image processing unit: The inspection image data is generated without performing a process of cutting out an image of a main region of the image data.

7. The video reproducing device according to claim 4.

8. The setting unit is The image quality adjustment parameters and the sound quality adjustment parameters are set based on the attribute information obtained at predetermined time intervals.

8. The video reproducing device according to claim 4.

9. The setting unit is The image quality adjustment parameters and the sound quality adjustment parameters are set based on the type of attribute information that is most prevalent among a plurality of pieces of attribute information obtained during a predetermined period up to the present.

8. The video reproducing device according to claim 4.

10. An acquisition step of acquiring image data; an image processing step of generating test image data by performing resizing to reduce the image data with a predetermined aspect ratio distortion; An identification step of identifying attribute information of the test image data by using a machine learning model used for identifying attribute information of the test image data; Including, The machine learning model is A learned parameter is adjusted by machine learning a learning dataset including a plurality of second training image data obtained by adding one or more types of aspect ratio distortion including the predetermined aspect ratio distortion to each of a plurality of first training image data, and a plurality of pieces of attribute information respectively associated with the plurality of second training image data; The image processing step includes: A region including characters in the acquired image data is masked, and the image data after the masking is resized to generate the inspection image data. Image identification methods.

11. An acquisition step of acquiring image data; an image processing step of generating test image data by performing resizing to reduce the image data with a predetermined aspect ratio distortion; An identification step of identifying attribute information of the test image data by using a machine learning model used for identifying attribute information of the test image data; Including, The machine learning model is A learned parameter is adjusted by machine learning a learning dataset including a plurality of second training image data obtained by adding one or more types of aspect ratio distortion including the predetermined aspect ratio distortion to each of a plurality of first training image data, and a plurality of pieces of attribute information respectively associated with the plurality of second training image data; The image processing step includes: If the acquired image data includes letterbox information, the letterbox information is deleted, and the image data after the letterbox information is deleted is subjected to the resizing, thereby generating the inspection image data. Image identification methods.

12. An acquisition step of acquiring image data; an image processing step of generating test image data by performing resizing to reduce the image data with a predetermined aspect ratio distortion; An identification step of identifying attribute information of the test image data by using a machine learning model used for identifying attribute information of the test image data; Including, The machine learning model is A learned parameter is adjusted by machine learning a learning dataset including a plurality of second training image data obtained by adding one or more types of aspect ratio distortion including the predetermined aspect ratio distortion to each of a plurality of first training image data, and a plurality of pieces of attribute information respectively associated with the plurality of second training image data; The image processing step includes: A region including characters in the acquired image data is masked, and the image data after the masking is resized to generate the inspection image data. A program for causing a computer to execute an image recognition method.

13. An acquisition step of acquiring image data; an image processing step of generating test image data by performing resizing to reduce the image data with a predetermined aspect ratio distortion; An identification step of identifying attribute information of the test image data by using a machine learning model used for identifying attribute information of the test image data; Including, The machine learning model is A learned parameter is adjusted by machine learning a learning dataset including a plurality of second training image data obtained by adding one or more types of aspect ratio distortion including the predetermined aspect ratio distortion to each of a plurality of first training image data, and a plurality of pieces of attribute information respectively associated with the plurality of second training image data; The image processing step includes: If the acquired image data includes letterbox information, the letterbox information is deleted, and the image data after the letterbox information is deleted is subjected to the resizing, thereby generating the inspection image data. A program for causing a computer to execute an image recognition method.

Citation Information

Patent Citations

  • Image quality and tone quality automatic adjustment method, smart television and storage medium

    CN110933490A

  • Sensitiveness evaluation device, sensitiveness evaluation method, and program

    JP2016143355A

  • Generation device, generation method, and generation program

    JP2017211939A