Information processing method, information processing system, and information processing device
The method uses PSFs from multi-pinhole camera images to generate blurred training data, addressing privacy and recognition performance issues in image recognition, ensuring accurate object detection with privacy preservation.
Patent Information
- Application Number
- JP2020109061
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-12-04
- Filing Date
- 2020-06-24
- Publication Date
- 2024-08-26
- Estimated Expiration
- 2040-06-24
AI Technical Summary
Existing image recognition technologies using machine learning fail to balance privacy protection and recognition performance, particularly with images captured by multi-pinhole cameras, leading to poor recognition results due to blurring effects.
A method involving a multi-pinhole camera system that generates a training dataset by extracting Point Spread Functions (PSFs) from images, convolving these with normal images to create blurred training data, which is then used to train an inference model, thereby preserving privacy while maintaining recognition accuracy.
This approach effectively protects object privacy in image recognition while suppressing a decline in recognition performance, enabling accurate object detection even with blurred multi-pinhole camera images.
Smart Images

Figure 0007539795000009 
Figure 0007539795000003 
Figure 0007539795000004
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an information processing method, an information processing system, and an information processing device. [Background technology]
[0002] In recent years, object recognition has been performed by image recognition based on machine learning using images. For example, Patent Document 1 discloses an image processing device that performs image recognition by deep learning.
[0003] Non-Patent Document 1 discloses "CenterNET-Res18" and "CenterNET-DLA34", which are machine learning algorithms for image recognition. Non-Patent Document 2 discloses "RefineDet", which is a machine learning algorithm for image recognition. Non-Patent Document 3 discloses "YOLOv3-tiny", which is a machine learning algorithm for image recognition. Non-Patent Document 4 discloses "MFFD", which is a machine learning algorithm for image recognition. "MFFD" is also sometimes called "ThinNet". [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2018-163554 A [Non-patent literature]
[0005] [Non-Patent Document 1] X. Zhou, D. Wang, and P. Krahenbuhl, “Objects as points,” in arXivpreprint arXiv:1904.07850,2019. [Non-Patent Document 2] S. Zhang, L. Wen, X. Bian, Z. Lei, and S. Z. Li, “Single-shot refinement neural network for object detection,” in CVPR, 2018. [Non-Patent Document 3] J. Redmon and A. Farhadi, “Yolov3: An incremental improvement,” arXiv preprint arXiv:1804.02767, 2018. [Non-Patent Document 4] S,Cao,Y.Liu,P.Lasang,and S.Shen,“Detecting the objects on the road using modular lightweight network,”arXiv preprint arXiv:1811.06641,2018. Summary of the Invention [Problem to be solved by the invention]
[0006] However, the technology disclosed in the above Patent Document 1 does not take into consideration the protection of privacy of objects captured in the image. Although a technology for processing an image from the viewpoint of privacy protection is known, image recognition using the processed image often results in poorer recognition results.
[0007] Therefore, the present disclosure provides an information processing method, an information processing system, and an information processing device that can prevent a decrease in recognition performance in image recognition while protecting the privacy of an object in image recognition of the object using an image. [Means for solving the problem]
[0008] An information processing method according to one embodiment of the present disclosure is an information processing method executed by a computer, which acquires a first image generated by a multi-pinhole camera, extracts at least one PSF (Point Spread Function) in each of a plurality of regions on the first image, acquires a second image different from the first image and reference data for machine learning for the second image, generates a third image by convolving the at least one PSF extracted in each of the plurality of regions on the first image with each of the plurality of regions on the second image, and outputs a pair of the reference data and the third image.
[0009] An information processing system according to one embodiment of the present disclosure includes a first acquisition unit that acquires a first image generated by a multi-pinhole camera, a PSF extraction unit that extracts at least one PSF (Point Spread Function) in each of a plurality of regions on the first image, a second acquisition unit that acquires a second image different from the first image and reference data for machine learning for the second image, an image generation unit that generates a third image by convolving the at least one PSF extracted in each of the plurality of regions on the first image with each of the plurality of regions on the second image, and an output unit that outputs a set of the reference data and the third image.
[0010] An information processing device according to one embodiment of the present disclosure includes an acquisition unit that acquires a fourth image, a control unit that inputs the fourth image into an inference model to acquire an inference result, and an output unit that outputs data based on the acquired inference result, wherein the inference model is trained by machine learning using reference data in machine learning for a second image and a third image as training data, the third image is generated by convolving at least one PSF (Point Spread Function) extracted in each of a plurality of regions on a first image with each of a plurality of regions on the second image that are different from the first image, and the first image is generated by a multi-pinhole camera. Effect of the Invention
[0011] According to an information processing method and the like according to one aspect of the present disclosure, it is possible to prevent a decrease in recognition performance in image recognition while protecting the privacy of an object in image recognition of the object using an image. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a block diagram showing a functional configuration of an information processing system according to an embodiment. [Diagram 2] FIG. 2 is a flowchart showing an operation of generating a training dataset of the information processing system according to the embodiment. [Diagram 3] FIG. 3 is a diagram for explaining acquisition of a first image according to the embodiment. [Figure 4] FIG. 4 is a diagram illustrating an example of a first image according to the embodiment. [Diagram 5] FIG. 5 is a diagram for explaining extraction of a PSF according to the embodiment. [Figure 6] FIG. 6 is a diagram for explaining generation of a third image from a second image according to the embodiment. [Figure 7] FIG. 7 is a flowchart showing operations during training of an object recognition model according to an embodiment. [Figure 8] FIG. 8 is a diagram showing the recognition performance for each recognition model. [Figure 9] FIG. 9 is a diagram showing the recognition result when the machine learning algorithm of the behavior recognition model is RefineDet. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] (Background to this disclosure) Prior to describing the embodiments of the present disclosure, the background to the foundation of the present disclosure will be described.
[0014] In recent years, cameras such as surveillance cameras have been widely installed indoors and outdoors, and images including privacy, such as the appearance of people indoors, the faces of passersby, and vehicle license plates, are easily acquired. On the other hand, the importance of protecting the privacy of objects captured in images captured by the cameras is increasing. In this disclosure, an object is captured using a multi-pinhole camera from the viewpoint of protecting the privacy of the object. Although details will be described later, an image captured by a multi-pinhole camera (multi-pinhole image: MPH image) is an image including parallax characteristics. In other words, the MPH image is a blurred image. As a result, the acquired image is a blurred image, making it possible to protect the privacy of the object. The multi-pinhole camera is a camera having a multi-pinhole mask in which multiple pinholes are formed.
[0015] In addition, such MPH images are subjected to image recognition using an image recognition model generated by machine learning, for example. The image recognition model is required to perform image recognition with high accuracy even when an MPH image captured by a multi-pinhole camera, i.e., a blurred image, is input.
[0016] For example, publicly available image datasets may be used to train an image recognition model. However, publicly available datasets are mainly datasets for ordinary cameras (e.g., digital cameras). Even if training is performed using such datasets, it is difficult to effectively train an image recognition model that recognizes MPH images, which are images with blur specific to multi-pinhole cameras. In addition, although it is possible to generate a training dataset for the image recognition model using images captured by a multi-pinhole camera, it requires a great deal of time and cost.
[0017] Therefore, the inventors of the present application have conducted intensive research into easily generating a dataset for training an image recognition model that performs image recognition of MPH images, and have invented the following information processing method, etc. An image recognition model trained using the following information processing method, etc. can suppress a decrease in recognition performance in image recognition while protecting the privacy of an object in image recognition of an object using an image. Note that, although the following describes a case where the image recognition model is an object recognition model, this is not limiting. The present disclosure can also be applied to image recognition models other than object recognition models (for example, scene recognition models, etc.).
[0018] An information processing method according to one embodiment of the present disclosure is an information processing method executed by a computer, which acquires a first image generated by a multi-pinhole camera, extracts at least one PSF (Point Spread Function) in each of a plurality of regions on the first image, acquires a second image different from the first image and reference data for machine learning for the second image, generates a third image by convolving the at least one PSF extracted in each of the plurality of regions on the first image with each of the plurality of regions on the second image, and outputs a pair of the reference data and the third image.
[0019] Here, the MPH image has a characteristic that each of a plurality of regions in the image has a different PSF. Therefore, as described above, by convolving at least one PSF of each of a plurality of regions in the first image with the second image, a third image that is the same as or similar to the MPH image can be generated. In other words, a pair of reference data and a third image can be obtained without performing imaging to obtain the third image with a multi-pinhole camera. Therefore, a data set for machine learning, which is a pair of reference data and a third image, can be easily generated.
[0020] Moreover, the image (MPH image) generated by the multi-pinhole camera is a blurred image, and is an image capable of protecting the privacy of the object. Moreover, an inference model (image recognition model) trained using a machine learning dataset, which is a set of reference data and a third image, can perform image recognition using the MPH image as an input. Therefore, according to the information processing method of the present disclosure, it is possible to suppress a decrease in recognition performance while protecting the privacy of the object in image recognition of the object using an image.
[0021] Also, for example, the at least one PSF may be a plurality of PSFs, and the PSF to be convolved with each region of the second image may be selected from the plurality of PSFs.
[0022] In this way, since the PSF to be convolved is selected from a plurality of PSFs, it is possible to generate a third image with improved training efficiency, and thus it is possible to further suppress a decrease in recognition accuracy in image recognition of an object using an image.
[0023] Furthermore, for example, a plurality of the second images may be acquired, and a PSF selected as a PSF to be convoluted with each region of the second images may be different for each of the plurality of second images.
[0024] This makes it possible to generate third images in which the PSFs are different for each of the second images, i.e., the degree of blur is different, thereby further suppressing a decrease in recognition accuracy in image recognition of an object using an image.
[0025] Also, for example, an inference model may be trained by machine learning using the reference data and the third image as training data.
[0026] This makes it possible to integrally perform a data set for training an inference model and training the inference model using the data set, and therefore makes it possible to easily generate an inference model that can protect the privacy of an object while suppressing a decrease in recognition accuracy in image recognition of the object using an image.
[0027] Also, for example, each region of the first image and each region of the second image may correspond to each other.
[0028] This makes it possible to generate a third image using a PSF corresponding to each region of the second image, thereby enabling the generation of a third image that allows for more effective training.
[0029] Furthermore, for example, each region of the first image and each region of the second image may be a region including a plurality of pixels.
[0030] This makes it possible to reduce the storage capacity required for the storage unit to store the PSF extracted from the first image, compared to when the region is formed by one pixel (e.g., there is a PSF for each pixel).
[0031] Also, for example, the second image may be an image generated by a camera different from the multi-pinhole camera that obtained the first image.
[0032] This makes it possible to generate a third image by simply performing a convolution operation using the second image generated by the camera.
[0033] Moreover, an information processing system according to one embodiment of the present disclosure includes a first acquisition unit that acquires a first image generated by a multi-pinhole camera, a PSF extraction unit that extracts at least one PSF (Point Spread Function) in each of a plurality of regions on the first image, a second acquisition unit that acquires a second image different from the first image and reference data for machine learning for the second image, an image generation unit that generates a third image by convolving the at least one PSF extracted in each of the plurality of regions on the first image with each of the plurality of regions on the second image, and an output unit that outputs a set of the reference data and the third image.
[0034] This provides the same effects as the above-described information processing method.
[0035] In addition, an information processing device according to one embodiment of the present disclosure includes an acquisition unit that acquires a fourth image, a control unit that inputs the fourth image into an inference model to acquire an inference result, and an output unit that outputs data based on the acquired inference result, wherein the inference model is trained by machine learning using reference data in machine learning for the second image and a third image as training data, the third image is generated by convolving at least one PSF (Point Spread Function) extracted in each of a plurality of regions on the first image with each of a plurality of regions on the second image different from the first image, and the first image is generated by a multi-pinhole camera.
[0036] This provides the same effects as the above-described information processing method.
[0037] Furthermore, these comprehensive or specific aspects 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 may be realized in any combination of a system, an apparatus, a method, an integrated circuit, a computer program, and a recording medium.
[0038] Hereinafter, specific examples of an information processing method and an information processing system according to one aspect of the present disclosure will be described with reference to the drawings. Each of the embodiments shown here shows a specific example of the present disclosure. Therefore, the numerical values, numerical values, components, steps, and order of steps shown in the following embodiments are merely examples and are not intended to limit the present disclosure. In addition, among the components in the following embodiments, components that are not described in the independent claims will be described as optional components.
[0039] In addition, each figure is a schematic diagram and is not necessarily illustrated precisely. Therefore, for example, the scales in each figure do not necessarily match. In addition, in each figure, substantially the same configurations are given the same reference numerals, and duplicated explanations are omitted or simplified.
[0040] In addition, in this specification, terms indicating relationships between elements, such as "equal," terms indicating the shapes of elements, such as "rectangle," numerical values, and numerical ranges are not expressions that only express a strict meaning, but are expressions that also include a substantially equivalent range, for example, a difference of about a few percent.
[0041] (Embodiment) Hereinafter, an information processing system according to the present embodiment will be described with reference to FIGS.
[0042] [1. Information processing system configuration] First, the configuration of an information processing system 1 according to the present embodiment will be described with reference to FIG. 1. FIG. 1 is a diagram showing the functional configuration of the information processing system 1 according to the present embodiment. The information processing system 1 is a system that generates a training data set for an object recognition model, which is an example of an image recognition model, based on an MPH image captured by a multi-pinhole camera 10, and trains (learns) the object recognition model using the generated training data set. The training data set is also called a learning data set. The object recognition model is also an example of an inference model.
[0043] As shown in FIG. 1, an information processing system 1 is connected to a multi-pinhole camera 10 and an information processing device 20 for communication therewith.
[0044] The multi-pinhole camera 10 can simultaneously capture multiple images (pinhole images: PH images) with different viewpoints of an object (subject) in one imaging operation. The multi-pinhole camera 10 is a camera that uses multiple pinholes (multi-pinholes), and has a multi-pinhole mask and an image sensor. The multi-pinhole mask is arranged at a fixed distance on the object side of the image sensor. In other words, light that has passed through the multi-pinhole mask is incident on the image sensor. The multi-pinhole mask has multiple pinholes that are arranged randomly or at equal intervals. The multiple pinholes may be, for example, two or more pinholes.
[0045] The image sensor captures an image of the object (MPH image) through each pinhole. The MPH image is the image captured through each pinhole. Since the captured PH image differs depending on the position and size of each pinhole, the image sensor captures a superimposed image (encoded image) of multiple PH images as the MPH image.
[0046] Although details will be described later, the image sensor acquires an MPH image from which the PSF (Point Spread Function) of the multi-pinhole camera 10 can be acquired. The MPH image from which the PSF can be acquired is also referred to as a first image. The PSF indicates how an image is blurred (deteriorated) by the optical system when a point light source is captured, and is a function that represents the intensity distribution when blurred. The PSF can also be said to be a function that represents how light rays spread when an ideal point light source passes through the optical system. Ideally, the PSF is an impulse response.
[0047] The position of the pinhole affects the position of the object projected on the image sensor, and the size of the pinhole affects the blur of the MPH image. The multi-pinhole camera 10 uses a multi-pinhole mask to superimpose multiple PH images with different object positions to obtain an MPH image. Each of the multiple PH images has a slightly different viewpoint. In other words, the MPH image is an image that includes parallax information.
[0048] An MPH image may be an image that cannot be visually recognized by humans, but through computer processing, information contained in the image, such as the object being imaged and the surrounding environment, can be obtained.
[0049] In this specification, an image captured by a camera other than the multi-pinhole camera 10 is also referred to as a normal image. A normal image is, for example, an image captured through an optical system. A normal image is usually obtained by imaging light from an object that is collected by an optical system. An example of an optical system is a lens. When a person looks directly at an object in an environment in which the object exists, the person perceives the object in a state almost similar to that of a normal image. In other words, a person visually recognizes a normal image captured by a normal camera (for example, a digital camera) in the same way as in the state of real space. It is noted that a normal camera does not have a multi-pinhole mask.
[0050] The information processing system 1 generates a training data set based on the MPH images captured by the multi-pinhole camera 10, and trains an object recognition model using the generated training data set. The information processing system 1 has a first control unit 30 and a second control unit 40. The information processing system 1 may include a communication unit for communicating with an external device. The communication unit is realized by, for example, a communication circuit. Furthermore, when the first control unit 30 acquires a first image (MPH image) from the multi-pinhole camera 10, the first control unit 30 stores the first image in the first storage unit 33.
[0051] The first control unit 30 generates a data set for training an object recognition model based on a first image (MPH image) acquired from the multi-pinhole camera 10. The first control unit 30 has a PSF extraction unit 31, a blurred image generation unit 32, and a first storage unit 33.
[0052] The PSF extraction unit 31 extracts the PSF of the multi-pinhole camera 10 based on the MPH image. The PSF extraction unit 31 divides the first image into a plurality of regions, and extracts at least one PSF from each of the divided regions. The plurality of regions may be two or more regions. Each of the plurality of regions may include a plurality of pixels, but is not limited to this. For example, each of the plurality of regions may include only one pixel. In other words, the same number of regions as the number of pixels may be set.
[0053] The blurred image generating unit 32 generates a third image by blurring the second image based on the second image (normal image) stored in the first storage unit 33 and the PSF extracted by the PSF extracting unit 31. The blurred image generating unit 32 generates the third image by, for example, performing a convolution operation (convolution integral operation) using the PSF on the second image. The blurred image generating unit 32 divides the second image into a plurality of regions, and performs a convolution operation for each divided region using the PSF corresponding to the region and extracted by the PSF extracting unit 31. It can also be said that the blurred image generating unit 32 generates the third image from the second image by convolving at least one PSF extracted in each of the plurality of regions on the first image with each of the plurality of regions on the second image.
[0054] The third image thus generated is an image similar to an image captured by the multi-pinhole camera 10. In other words, the third image is an image in which a plurality of PH images are superimposed. The third image may be an image that cannot be visually recognized by humans, but can be used as an image for training an object recognition model. The second image is an image different from the first image.
[0055] The number of regions in the second image may be two or more. Each of the regions may include a plurality of pixels, but is not limited to this. For example, each of the regions may include only one pixel. In other words, the number of regions may be set to the same number as the number of pixels.
[0056] The second image is, for example, an image generated by a camera different from the multi-pinhole camera 10 that obtained the first image. In this embodiment, the second image is an image captured by a camera other than the multi-pinhole camera 10, for example, an image captured by a normal camera (for example, a digital camera).
[0057] Furthermore, when the PSF extraction unit 31 extracts two or more PSFs for each of the multiple regions, the blurred image generation unit 32 may change the PSF used for the convolution operation for each of the multiple second images. The blurred image generation unit 32 may select a PSF used for the convolution operation of the second image for each of the multiple regions from among the multiple PSFs. Note that the blurred image generation unit 32 may change the PSF of at least one of the multiple regions of the second image for each of the multiple second images. The blurred image generation unit 32 is an example of an image generation unit.
[0058] The first storage unit 33 stores images and the like for generating a dataset for training the object recognition model. The first storage unit 33 stores, for example, a first image (MPH image), a second image (normal image), correct answer information corresponding to the second image, the PSF of the multi-pinhole camera 10 (PSF based on the first image), and a third image generated based on the second image. The second image and the correct answer information corresponding to the second image may be acquired by downloading a training dataset published on the Internet. The correct answer information includes category information to which an object included in the second image belongs and position information of the object. Examples of object categories include, but are not limited to, people, furniture, automobiles, bicycles, traffic lights, and the like. The position information includes the position of the object on the second image. The first control unit 30 associates the second image with the correct answer information and stores them in the first storage unit 33. The first storage unit 33 is realized by, but is not limited to, a semiconductor memory or the like. The correct answer information stored in the first storage unit 33 is so-called annotation information, and may be acquired via a communication unit (not shown).
[0059] As described above, the first control unit 30 functions as a data set generating device that generates a data set used for training an object recognition model.
[0060] The second control unit 40 trains the object recognition model using the training data set generated by the first control unit 30. The second control unit 40 has a training unit 41 and a second storage unit 42. Note that the object recognition model is an example of a machine learning model that acquires object information based on an image, and is, for example, a machine learning model using a neural network such as Deep Learning, but may be another machine learning model.
[0061] The training unit 41 trains an object recognition model that detects objects from MPH images captured by the multi-pinhole camera 10. The training unit 41 trains the object recognition model using a data set (a third image and correct answer information for the third image) acquired from the first control unit 30. It can also be said that the training unit 41 trains the object recognition model using the data set. Note that the correct answer information is an example of reference data in machine learning.
[0062] Machine learning is realized by, for example, backpropagation (BP) in deep learning. Specifically, the training unit 41 inputs a third image to the object recognition model and obtains a detection result output by the object recognition model. Then, the training unit 41 adjusts the object recognition model so that the detection result becomes correct answer information. The training unit 41 repeats such adjustment for a plurality of different (for example, several thousand sets) third images and the corresponding correct answer information, thereby improving the detection accuracy of the object recognition model.
[0063] The second storage unit 42 stores an object recognition model. Incidentally, storing the object recognition model means storing information such as network parameters in the object recognition model and an algorithm for calculation (machine learning algorithm). Incidentally, examples of the algorithm include, but are not limited to, ThinNet, YOLOv3-tiny, RefineDet (Single-Shot Refinement Neural Network for Object Detection), CenterNET-res18, and CenterNET-DLA34. In addition, the second storage unit 42 is realized by, but is not limited to, a semiconductor memory. In addition, the second storage unit 42 and the above-mentioned first storage unit 33 may be realized by different storage devices, or may be realized by a single storage device.
[0064] As described above, the second control unit 40 functions as a training device (learning device) that trains the object recognition model using the data set generated by the first control unit 30. In addition, the second control unit 40 transmits the trained object recognition model to the information processing device 20, for example.
[0065] The information processing device 20 performs object recognition using the trained object recognition model. The information processing device 20 includes an acquisition unit 50, a third control unit 60, an output unit 70, and a third storage unit 80.
[0066] The acquisition unit 50 acquires a fourth image (MPH image) from the multi-pinhole camera 10. The fourth image here is not an image for extracting a PSF, but an image to be subjected to object recognition by a trained object recognition model. The fourth image may be, for example, an image captured from a predetermined position where the multi-pinhole camera 10 is installed. The fourth image is a blurred image, and is an image in which the privacy of the object is protected. The acquisition unit 50 may store the acquired fourth image in the third storage unit 80.
[0067] The third control unit 60 controls inputting the fourth image into the object recognition model to obtain a recognition result. The third control unit 60 inputs the fourth image into the object recognition model trained by the training unit 41, and obtains the output from the object recognition model as a recognition result. The object recognition model trained by the training unit 41 has improved recognition performance for MPH images. Therefore, by using the object recognition model, the third control unit 60 can recognize the MPH image with reduced degradation in recognition performance compared to the recognition performance for a normal image. Note that the third control unit 60 is an example of a control unit, and the recognition result is an example of an inference result.
[0068] The output unit 70 outputs information based on the acquired recognition result. The output unit 70 may be, for example, a display device such as a liquid crystal display, and may output the information by display, or may be a communication circuit, and may transmit the data to an external device by communication.
[0069] The third storage unit 80 stores the object recognition model trained by the training unit 41. The trained object recognition model is acquired from the information processing system 1 via communication and stored in the third storage unit 80.
[0070] As described above, the information processing device 20 functions as an object recognition device that performs object recognition on the fourth image captured by the multi-pinhole camera 10 using the trained object recognition model.
[0071] The information processing system 1 does not necessarily have to include the second control unit 40.
[0072] [2. Operation of information processing system] Next, the operation of the information processing system 1 described above will be described with reference to Figs. 2 to 9. First, the operation of generating a training dataset in the information processing system 1 will be described with reference to Figs. 2 to 6. Fig. 2 is a flowchart showing the operation of generating a training dataset in the information processing system 1 according to this embodiment. Steps S101 to S103 shown in Fig. 2 show the operation of acquiring a PSF from a first image in the information processing system 1. Furthermore, steps S104 to S108 shown in Fig. 2 show the operation of generating a training dataset for an object recognition model in the information processing system 1.
[0073] 2, the first control unit 30 acquires a first image captured by the multi-pinhole camera 10 (S101). The first control unit 30 acquires the first image captured by the multi-pinhole camera 10 from the multi-pinhole camera 10. The first control unit 30 stores the first image acquired from the multi-pinhole camera 10 in the first storage unit 33, for example. The first control unit 30 functions as a first acquisition unit that acquires the first image.
[0074] Here, acquisition of the first image in the multi-pinhole camera 10 will be described with reference to Fig. 3. Fig. 3 is a diagram for explaining acquisition of the first image according to the present embodiment.
[0075] 3, for example, a camera system including a multi-pinhole camera 10 and a screen 90 captures an image to obtain a first image. Specifically, the screen 90 captures a single or multiple bright spots 91 (dot pattern). The multi-pinhole camera 10 is disposed so as to capture an image of an area including each of the multiple bright spots 91.
[0076] The multi-pinhole camera 10 captures an image of the dot pattern shown in Fig. 3 and obtains a first pattern image (pinhole image). Next, the screen 90 displays multiple or single bright spots 91 with each bright spot 91 shifted slightly in position. The multi-pinhole camera 10 captures the shifted dot pattern to obtain a second pattern image (pinhole image). The multi-pinhole camera 10 captures the dot pattern each time the position of the dot pattern changes, thereby obtaining multiple pattern images (multiple pinhole images).
[0077] As long as the PSF can be acquired, the intervals between the bright spots 91, the number of the bright spots 91, and the shape of the bright spots 91 (for example, dot-like, ring-like, etc.) are not limited to those shown in FIG.
[0078] Then, the multi-pinhole camera 10 superimposes the multiple pattern images to generate a first image P1 as shown in Fig. 4. Fig. 4 is a diagram showing an example of the first image P1 according to the present embodiment.
[0079] As shown in Fig. 4, the first image P1 has a plurality of bright areas like streaks. The direction in which the areas extend and the size and number of the areas vary depending on the location on the first image P1. In other words, the image captured by the multi-pinhole camera 10 has a different PSF for each location on the image. Therefore, in step S102 described below, the PSF extraction unit 31 divides the first image P1 into a plurality of regions and extracts a PSF for each of the plurality of regions. Note that the first image P1 is, for example, an image that is uniquely determined for the multi-pinhole camera 10.
[0080] 2 again, next, the PSF extraction unit 31 extracts a PSF in each of the multiple regions on the first image P1 (S102). Specifically, the PSF extraction unit 31 reads out the first image P1 from the first storage unit 33, divides the read out first image P1 into multiple regions, and extracts at least one PSF in each of the multiple divided regions.
[0081] Here, the extraction of the PSF will be described with reference to Fig. 5. Fig. 5 is a diagram for explaining the extraction of the PSF according to the present embodiment.
[0082] As shown in FIG. 5, the PSF extraction unit 31 divides the first image P1 into, for example, nine regions R1 to R9. Then, the PSF extraction unit 31 extracts one or more PSFs from each of the regions R1 to R9. The example of FIG. 5 shows an example in which the PSF extraction unit 31 extracts one PSF (specifically, PSF1 to PSF9) from each of the regions R1 to R9. PSF1 is a PSF corresponding to the region R1, and is a function indicating the distribution of brightness within the dashed frame. PSF1 indicates the degree of blurring (deterioration state). In the example of FIG. 5, PSF1 is a PSF in which the light of an incident point light source is blurred so that a bright part extending in the vertical direction and a bright part descending to the left appear. Note that PSF1 is expressed, for example, as a three-dimensional function of position information and brightness information.
[0083] Also, the PSF may be expressed as a function of light receiving intensity information for each wavelength, instead of luminance information. Lenses and image sensors have wavelength dependency. Therefore, for example, when red, green, and blue color information is acquired, the PSF may be expressed as a five-dimensional function of position information and light receiving intensity information indicating the red light receiving intensity, the green light receiving intensity, and the blue light receiving intensity. This is achieved by using a color image sensor (RGB sensor) in imaging, and the PSF extraction unit 31 acquiring the PSFs of red, green, and blue, respectively. Also, when an image sensor that captures a multispectral image is used instead of a color image sensor, the PSF extraction unit 31 may acquire the PSF for each wavelength.
[0084] In region R1, the position where the dashed frame is set, that is, which part of the brightness distribution in region R1 is to be extracted as the PSF, is not particularly limited and can be set arbitrarily.
[0085] For PSF2 to PSF9, at least one PSF is extracted for each region, similar to PSF1.
[0086] Information on the division conditions (number of divisions, size of the regions, etc.) of the first image P1 may be stored in advance in the first storage unit 33, for example. The PSF extraction unit 31 may divide the first image P1 into a plurality of regions based on the information, for example. For example, the number of divisions may be appropriately determined according to the storage capacity of the first storage unit 33 for storing the PSF, the processing capacity of the blurred image generation unit 32, etc. In addition, the size and shape of each of the regions divided by the PSF extraction unit 31 are not limited to the example shown in FIG. 5. For example, the size of the regions is not limited to the regions R4 to R6 near the center of the first image P1 being larger than the other regions, and for example, all the regions may be the same size. In addition, the shape of the regions is not limited to a rectangle as shown in FIG. 5, and may be a square, a polygon other than a quadrangle, or the like.
[0087] When extracting multiple PSFs from one region, the PSF extraction unit 31 changes the position of the dashed frame within the region. That is, the PSF extraction unit 31 extracts multiple PSFs from one region simply by changing the position of the dashed frame. The size of the dashed frame is determined according to the position on the first image P1 of the region in which the dashed frame exists. For example, the size of the dashed frame may be set larger for regions closer to the center of the first image P1.
[0088] 2 again, the PSF extraction unit 31 stores the PSF extracted in step S102 in the first storage unit 33 (S103). The PSF in question is a PSF that corresponds to the multi-pinhole camera 10. The PSF extraction unit 31 associates the area on the first image P1 with the PSF and stores them in the first storage unit 33. Note that the PSF extraction unit 31 may output the PSF extracted in step S102 to the blurred image generation unit 32.
[0089] Next, the first control unit 30 acquires the second image and the correct answer information for generating the data set (S104). The number of pairs of the second image and the correct answer information acquired by the first control unit 30 is not particularly limited, and may be one or more. In this embodiment, the first control unit 30 acquires a plurality of pairs of the second image and the correct answer information. For example, the first control unit 30 may acquire a publicly available data set for machine learning via the communication unit. Note that step S104 may be executed at a stage before step S106, and may be executed before step S101, for example. Then, the blurred image generating unit 32 acquires the second image by reading the second image from the first storage unit 33. Note that the first control unit 30 functions as a second acquisition unit that acquires the second image different from the first image and reference data in machine learning for the second image.
[0090] Next, the blurred image generation unit 32 acquires the PSF from the first storage unit 33 (S105). The blurred image generation unit 32 acquires the PSF by reading the PSF stored in step S103 from the first storage unit 33. The blurred image generation unit 32 acquires a PSF corresponding to each region into which the second image is divided.
[0091] Next, the blurred image generating unit 32 generates a third image by convolving the PSF corresponding to each of the multiple regions of the second image with each of the multiple regions (S106). The blurred image generating unit 32 divides the second image into multiple regions, for example, so that each region of the first image P1 corresponds to each region of the second image. The blurred image generating unit 32 may divide the second image into multiple regions, for example, so that the number of divisions of the first image P1 and the second image are the same. In addition, the blurred image generating unit 32 may divide the second image so that the positions of the divided regions of the first image P1 and the second image correspond to each other on the image. In this embodiment, since the first image P1 is divided into nine regions, the blurred image generating unit 32 may divide the second image into nine regions, for example, so that the positions of the divided regions of the first image P1 and the second image correspond to each other on the image. Note that the method of dividing the multiple regions in the blurred image generating unit 32 is not limited to the above, and it is sufficient that the second image is divided into two or more regions.
[0092] Here, the generation of the third image from the second image will be described with reference to Fig. 6. Fig. 6 is a diagram for explaining the generation of the third image P3 from the second image P2 according to the present embodiment.
[0093] FIG. 6(a) shows the second image P2 divided into nine regions (regions R11 to R19). The regions R11 to R19 of the second image P2 correspond to the regions R1 to R9 of the first image P1, respectively. For example, the size and position on the image of the region R11 of the second image P2 are the same as or similar to the size and position on the image of the region R1 of the first image P1. The blurred image generating unit 32 may, for example, read information on the image division conditions (number of divisions, size of regions, etc.) from the first storage unit 33, and divide the second image P2 into a plurality of regions based on the information.
[0094] FIG. 6B shows a third image P3 generated by convolving the PSF with the second image P2. The blurred image generating unit 32 generates the third image P3 by convolving each region of the second image P2 with the PSF corresponding to that region. For example, the blurred image generating unit 32 convolves the region R11 of the second image P2 with PSF1, which is the PSF of the region R1 on the first image P1 corresponding to the region R11. The blurred image generating unit 32 convolves each of the regions R12 to R19 of the second image P2 with PSF2 to PSF9. As a result, the third image P3, which is a blurred image as shown in FIG. 6B, is generated. The third image P3 is an image that is obtained by synthesizing a plurality of images having slightly different viewpoints. In other words, the third image P3 is an image that is obtained by capturing an image using the multi-pinhole camera 10.
[0095] When there are multiple second images P2 and multiple PSFs are extracted for each divided region in step S102, the blurred image generating unit 32 may select a different PSF to be convolved with each region of the second image P2 for each of the multiple second images P2. Also, the blurred image generating unit 32 may perform multiple convolution processes on one second image P2 by changing the PSF to be convolved with each region of the second image P2. In other words, the blurred image generating unit 32 may generate multiple third images P3 with different degrees of blur from one second image P2.
[0096] 2 again, the blurred image generating unit 32 stores in the first storage unit 33 a set of the third image P3 generated in step S106 and the correct answer information added to the second image P2 from which the third image P3 was generated (S107). The blurred image generating unit 32 stores the third image P3 and the correct answer information in the first storage unit 33 in association with each other.
[0097] As described above, the first control unit 30 generates the third image P3, which is a blurred image, from the second image P2, which is a normal image, using the PSF of each region based on the first image P1. It can also be said that the first control unit 30 generates an image as if it were captured by the multi-pinhole camera 10 from the second image P2, which is a normal image. By using the third image P3 as training data for an object recognition model, the information processing system 1 can acquire training data without capturing an image for training data using the multi-pinhole camera 10. The first control unit 30 can easily generate a dataset for training an object recognition model, for example, by simply acquiring an image (the second image P2) included in a publicly available dataset and the PSF of each region based on the first image P1.
[0098] Next, the first control unit 30 outputs a set of the third image P3 and the correct answer information added to the second image P2 to the second control unit 40 (S108). The first control unit 30 reads out the set of the third image P3 and the correct answer information from the first storage unit 33, and outputs the read set of the third image P3 and the correct answer information to the second control unit 40. For example, when the number of sets of the third image P3 and the correct answer information becomes a predetermined number or more, the first control unit 30 may output a data set including the predetermined number or more sets of the third image P3 and the correct answer information to the second control unit 40. The first control unit 30 functions as an output unit that outputs the set of the third image P3 and the correct answer information.
[0099] Next, an operation of training an object recognition model using a training data set in the information processing system 1 will be described with reference to Fig. 7 to Fig. 9. Fig. 7 is a flowchart showing an operation during training (learning) of the object recognition model according to this embodiment.
[0100] 7, the training unit 41 acquires a set of the third image P3 and the correct answer information added to the second image P2 (S201). The training unit 41 acquires, for example, the third image P3 and the correct answer information output from the first control unit 30. It can also be said that the training unit 41 reads out the third image P3 and the correct answer information from the first storage unit 33.
[0101] Next, the training unit 41 trains an object recognition model by machine learning using the answer information added to the second image P2 with the third image P3 as training data (input data) (S202), and stores the trained object recognition model in the second storage unit 42 (S203). The machine learning is performed by, for example, backpropagation in deep learning, but is not limited to this.
[0102] As a result, an object recognition model capable of performing object detection from an MPH image (blurred image) captured by the multi-pinhole camera 10 is generated.
[0103] Here, the recognition performance of the behavior recognition model as an example of the object recognition model trained by the operation shown in Fig. 7 will be described with reference to Fig. 8 and Fig. 9. Fig. 8 is a diagram showing the recognition performance for each machine learning algorithm of the behavior recognition model.
[0104] The targets of behavior identification are four types of behaviors, "eating and drinking," "lying down," "sitting," "standing," and "vacuuming," in images captured by a camera installed in a room, and FIG. 8 shows the results of the behavior recognition model identifying the four types of behaviors. As machine learning algorithms (Methods) for the behavior recognition model, "CenterNET-Res18," "CenterNET-DLA34," "RefineDet," "YOLOv3-tiny," and "MFFD" are used. In addition, the numerical values corresponding to the items of the normal camera (Normal) and the multi-pinhole camera 10 (Multi-pinhole) indicate the AP (Average Precision) and mAP, which are the accuracy rates of the recognition results. The accuracy rate for the normal camera images indicates the accuracy rate when a normal image is input to the behavior recognition model by each algorithm. The behavior recognition model may be a publicly available trained model. In addition, the accuracy rate for the images from the multi-pinhole camera 10 indicates the accuracy rate when a multi-pinhole image is input to the behavior recognition model by each machine learning algorithm and trained by the training unit 41. For reference, we also list the FPS (Frames Per Second), which indicates the recognition speed of each machine learning algorithm.
[0105] As shown in FIG. 8, the difference between the accuracy rate for the multi-pinhole image and the accuracy rate for the normal image is suppressed to 5 to 11%, which is considered to be at a level that can be used as an object recognition model. Note that when a blurred image from the multi-pinhole camera 10 is input to a publicly available trained model, it is often not possible to recognize behavior. In other words, the accuracy rate rarely reaches an expected value (or an acceptable value). From this, it can be said that the recognition performance for MPH images is significantly improved by training the behavior recognition model using the data set generated by the first control unit 30.
[0106] In addition, if the third image P3 included in the dataset is an image generated based on the second image P2 and one PSF, it is assumed that the accuracy rate of the object recognition model trained using the dataset is not as high as that shown in FIG. 8. This is considered to be due to the above-mentioned characteristics of the MPH image. Therefore, from the viewpoint of generating a high-performance object recognition model, it is preferable that the third image P3 included in the dataset is an image generated based on the second image P2 and PSFs corresponding to each of the multiple regions obtained by dividing the second image P2. For example, it is preferable that a PSF is extracted for each region in the first image P1.
[0107] Fig. 9 shows the recognition results when the machine learning algorithm of the behavior recognition model is RefineDet. Specifically, the recognition results for a normal image and a multi-pinhole image are shown. In Fig. 9, the behavior to be recognized is "lying down". Each bounding box indicates a candidate for "lying down" in the recognition result.
[0108] In this way, it can be seen that the data set generated by the first control unit 30 is a data set that can obtain the desired recognition performance in each of the behavior identification models using various algorithms. In other words, the first control unit 30 can generate an image (third image) that is effective for machine learning to train a model so that it can recognize MPH images. When an image actually captured by the multi-pinhole camera 10 is input to an object recognition model trained using such a data set, object recognition with the desired recognition performance can be performed.
[0109] (Other embodiments) Although the present disclosure has been described based on the embodiments, the present disclosure is not limited to the above-mentioned embodiments. As long as it does not deviate from the gist of the present disclosure, various modifications conceived by a person skilled in the art to the present embodiments and forms constructed by combining components in different embodiments may also be included within the scope of one or more aspects of the present disclosure.
[0110] For example, in the above embodiment, the second image is an image captured by a camera other than a multi-pinhole camera, but is not limited thereto. The second image may be an image captured by a multi-pinhole camera (e.g., a multi-pinhole camera with a different degree of blur) other than the multi-pinhole camera 10 shown in Fig. 1. In this case, since the image is a blurred image, the second image is acquired by performing a process to remove the blur from the image.
[0111] In the above embodiment, the second image is captured by a camera, but the present invention is not limited to this. The second image may be an image generated by computer graphics (CG). The second image may be an image that incorporates a painting or the like, or may be an animation (e.g., CG animation).
[0112] In addition, in the above embodiment, an example has been described in which the first control unit generates a training dataset for the object recognition model based on the PSF acquired from the first image, but it may also generate a confirmation dataset for confirming the recognition performance, etc., of the trained object recognition model based on the PSF.
[0113] In the above embodiment, the machine learning model is a machine learning model using a neural network, but other machine learning models may be used. For example, the machine learning model may be a machine learning model using Random Forest, Genetic Programming, or the like.
[0114] In the above embodiment, the recognition process using the trained object recognition model is performed by an information processing device, but the recognition process may be performed by an information processing system. The information processing device may be built in a multi-pinhole camera.
[0115] The order of the processes described in the above embodiment is merely an example. The order of the processes may be changed, the processes may be executed in parallel, or some of the processes may not be executed.
[0116] Moreover, each of the components described in the above embodiments may be realized as software, or may be realized as an LSI, which is typically an integrated circuit. These may be individually integrated into one chip, or may be integrated into one chip to include some or all of them. Here, LSI is used, but it may be called IC, system LSI, super LSI, or ultra LSI depending on the degree of integration. Furthermore, the method of integration is not limited to LSI, and may be realized by a dedicated circuit or a general-purpose processor. After LSI manufacture, a programmable FPGA (Field Programmable Gate Array) or a reconfigurable processor that can reconfigure the connection or settings of the circuit cells inside the LSI may be used. Furthermore, if an integrated circuit technology that replaces LSI appears due to the progress of semiconductor technology or a different derived technology, it is natural that the integration of the components may be performed using that technology.
[0117] In addition, the division of functional blocks in the block diagram is one example, and multiple functional blocks may be realized as one functional block, one functional block may be divided into multiple blocks, some functions may be transferred to other functional blocks, and the functions of multiple functional blocks having similar functions may be processed in parallel or in a time-sharing manner by a single piece of hardware or software.
[0118] In addition, the information processing device may be realized as a single device, or may be realized by multiple devices. For example, the first control unit, the second control unit, the acquisition unit, the third control unit, and the output unit may be realized by different devices. When the information processing device is realized by multiple devices, the components of the information processing device may be distributed in any way among the multiple devices. In addition, the communication method between the multiple devices is not particularly limited.
[0119] Furthermore, the technology of the present disclosure may be the above-mentioned program, or a non-transitory computer-readable recording medium on which the above-mentioned program is recorded. Needless to say, the above-mentioned program can be distributed via a transmission medium such as the Internet. For example, the above-mentioned program and a digital signal consisting of the above-mentioned program may be transmitted via a telecommunication line, a wireless or wired communication line, a network such as the Internet, data broadcasting, or the like. The above-mentioned program and a digital signal consisting of the above-mentioned program may be executed by another independent computer system by being recorded on a recording medium and transferred, or by being transferred via a network, or the like.
[0120] In each embodiment, each component may be implemented by dedicated hardware or by executing a software program suitable for each component. Each component may be implemented by a program execution unit such as a CPU or processor reading and executing a software program recorded on a recording medium such as a hard disk or semiconductor memory. [Industrial Applicability]
[0121] The present disclosure is widely applicable to devices that perform image recognition using images. [Explanation of symbols]
[0122] 1. Information Processing Systems 10 Multi-Pinhole Camera 20 Information processing device 30 First Control Section 31 PSF extraction part 32 Blurred image generation unit 33 1st memory section 40 Second Control Section 41 Training Department 42 2nd memory section 50 Acquisition Department 60 Third Control Section 70 Output section 80 Third memory section 90 Screens 91 bright spot P1 1st image P2 2nd image P3 3rd image R1~R9, R11~R19 area
Claims
1. 1. A computer-implemented information processing method, comprising: Obtaining a first image generated by a multi-pinhole camera; Extracting at least one point spread function (PSF) from each of a plurality of regions on the first image; Acquiring a second image captured by a camera different from the multi-pinhole camera that generated the first image, and reference data for machine learning on the second image; generating a third image by convolving the at least one PSF extracted in each of a plurality of regions in the first image with each of a plurality of regions in the second image; A set of the reference data and the third image is output. Information processing methods.
2. the at least one PSF is a plurality of PSFs; The PSF to be convoluted with each region of the second image is selected from the plurality of PSFs. The information processing method according to claim 1 .
3. acquiring a plurality of said second images; The PSF selected as the PSF to be convoluted with each region of the second image is different for each of the plurality of second images. The information processing method according to claim 2 .
4. Training an inference model by machine learning using the reference data and the third image as training data. The information processing method according to any one of claims 1 to 3.
5. Each region of the first image corresponds to each region of the second image. The information processing method according to any one of claims 1 to 4.
6. Each region of the first image and each region of the second image include a plurality of pixels. The information processing method according to any one of claims 1 to 5.
7. The second image is an image generated by a camera different from the multi-pinhole camera that obtained the first image. The information processing method according to any one of claims 1 to 6.
8. A first acquisition unit that acquires a first image generated by the multi-pinhole camera; a PSF extracting unit that extracts at least one PSF (Point Spread Function) in each of a plurality of regions on the first image; A second acquisition unit that acquires a second image captured by a camera different from the multi-pinhole camera that generated the first image, and reference data for machine learning on the second image; an image generating unit that generates a third image by convolving the at least one PSF extracted in each of a plurality of regions on the first image with each of a plurality of regions on the second image; an output unit that outputs a set of the reference data and the third image; Information processing system.
9. An acquisition unit that acquires a fourth image from the multi-pinhole camera; A control unit that inputs the fourth image into an inference model to obtain an inference result; and an output unit that outputs data based on the obtained inference result. The inference model is trained by machine learning using reference data in machine learning for the second image and a third image as training data; the third image is generated by convolving at least one point spread function (PSF) extracted in each of a plurality of regions on the first image with each of a plurality of regions on the second image different from the first image; The first image is generated by a multi-pinhole camera. Information processing device.
Citation Information
Patent Citations
Image processing device, image processing method, image processing program, and teacher data generating method
JP2018163554A
