Image processor using ai fish print
The image processing device uses machine learning to automate fish print creation, eliminating the need for special equipment and manual labor, resulting in efficient and high-value digital fish prints.
Patent Information
- Application Number
- JP2023201127
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-11-10
- Publication Date
- 2024-09-19
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing methods for creating fish prints require special photographic equipment, manual labor, and are time-consuming, costly, and do not allow anglers to immediately obtain a fish print without significant delays.
An image processing device utilizing machine learning and deep learning to automatically identify fish species, cut out fish body parts, correct orientation, and optimize placement, eliminating the need for special equipment and manual labor.
Enables the creation of high-value AI fish prints without special equipment, reducing manual labor and time, and allowing anglers to quickly obtain digital fish prints.
Smart Images

Figure 2024125996000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an image processing device that creates AI fish prints. [Background technology]
[0002] It is customary to create a fish print that is a copy of the image of a fish that has been caught. When creating a fish print using the traditional method, first, the angler takes the fish that he has caught to a fishing tackle shop and asks an appraiser to measure its length. The angler then sends the fish to a fish print technician through the fishing tackle shop or other such shop and asks them to create a fish print. However, with this traditional method, the angler cannot eat the fish that he has caught. Also, with the traditional method, it can take more than a month from the time of requesting the creation of the fish print to receiving the fish print. In addition, each process of the measurement by the appraiser, the delivery to the fish print technician, and the drawing by hand can be very costly. As a result, creating a fish print requires special photography equipment, which is a heavy burden in terms of manual labor and costs. Therefore, there is a need to solve these issues by digitizing the fish print and creating fish prints using AI (AI fish prints).
[0003] Regarding the creation of digital fish prints, Patent Document 1 discloses an imaging device with a fish print photographing function, characterized in that it comprises an imaging unit that images a fish to obtain a fish image, a black and white processing unit that converts the fish image to black and white, an extraction unit that extracts the fish body portion from the black and white fish image, a division unit that divides the extracted fish body portion to obtain a plurality of divided images, a fish print image generation unit that enlarges each divided image by increasing the magnification ratio of the divided image corresponding to the periphery of the fish body portion compared to the magnification ratio of the divided image corresponding to the center of the fish body portion, thereby generating a fish print image, and an output unit that outputs the generated fish print image.
[0004] The technology of Patent Document 1 takes into account the thickness of the fish body, making it possible to obtain fish print-like photographs that look closer to the actual fish print. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2011-182255 A Summary of the Invention [Problem to be solved by the invention]
[0006] However, the technique of Patent Document 1 requires a special imaging device equipped with components specific to the technique, and therefore there is room for further improvement in the technique of Patent Document 1 in terms of creating fish prints without requiring special photographic equipment.
[0007] In addition, generally, when creating a fish print, work to increase the value of the fish print, such as adjusting the orientation and position of the fish, may be required. When adjusting the orientation of the fish manually, the time and monetary costs of manually adjusting the orientation may be a burden on the angler. The technology of Patent Document 1 does not disclose automatically adjusting the orientation of the fish. The technology of Patent Document 1 has room for further improvement in work such as adjusting the orientation and position of the fish.
[0008] The object of the present invention is to provide a means for applying machine learning and deep learning to eliminate the need for special photographic equipment, reduce the burden of manual work, and increase the value of fish prints obtained by drawing them. [Means for solving the problem]
[0009] The inventors have made extensive research to solve the above problems, and have found that the above object can be achieved by automatically processing each of the following steps based on machine learning and deep learning: identifying fish species, cutting out fish body parts, determining and correcting the image orientation and optimizing the arrangement, measuring the size of the fish body, and drawing a fish print, using the weights of a neural network trained for each identified fish species. The inventors have then completed the present invention. In the following, a fish print obtained by identifying fish species, cutting out fish body parts, determining and correcting the orientation, optimizing the arrangement, measuring, and drawing using machine learning and deep learning is called an AI fish print. Specifically, the present invention consists of six components: 1. an invention relating to features, 2. an invention relating to measurements, 3. an invention relating to drawing, 4. an invention relating to the creation of a fish print by style conversion, 5. an invention relating to the font and background used in the fish print using style conversion, and 6. an invention relating to output. Each of the above items will be explained below.
[0010] The first aspect of the present invention provides an image processing device (FIG. 1, image processing device 1) for AI fish print, comprising the following (A) to (E). (A) an image acquisition unit capable of acquiring an image of a fish body; (B) a fish species discrimination unit capable of discriminating the type of the fish from the image based on a first machine learning; (C) a fish body part cutter that cuts out a fish body part image corresponding to a fish body using weights trained according to the type of fish based on a second machine learning; (D) a third machine learning based orientation correction and placement unit that determines and corrects the orientation of fish in an image and optimizes the placement; (E) an output unit capable of outputting the fish body partial image with the optimized arrangement and the type of fish.
[0011] The image acquisition unit of the invention according to the first feature is not limited to images of fish taken with special photographic equipment. Therefore, the invention according to the first feature can realize image processing related to the creation of AI fish prints without the need for special photographic equipment. In addition, the fish species discrimination unit of the invention according to the first feature can automatically discriminate fish species by the first machine learning. This allows even anglers who are not familiar with fish to instantly discriminate the type of fish they have caught, and further avoids the burden of subsequent manual work in cutting out parts of the fish body.
[0012] However, the outline of a fish body differs depending on the fish species. Therefore, if an attempt is made to cut out a partial image corresponding to a fish body by machine learning without identifying the fish species, there is a concern that the partial image will be cut out along an erroneously recognized outline. The fish body part cutout unit of the invention according to the first feature cuts out the fish body partial image based on the second machine learning and the identified fish species. Therefore, the invention according to the first feature can realize appropriate cutting out of a fish body partial image taking into account the difference in fish body outline depending on the fish species.
[0013] In addition, the elements that characterize the orientation of a fish body may differ depending on the fish species. Therefore, if an attempt is made to determine the orientation of a fish body by machine learning without identifying the fish species, there is a concern that the orientation may be misidentified. The orientation correction and arrangement unit of the invention according to the first feature corrects the orientation of the fish body partial image based on the third machine learning and the identified fish species. Therefore, the invention according to the first feature can realize appropriate orientation correction based on differences in the elements that characterize the orientation of a fish body depending on the fish species. By realizing optimization of the arrangement based on appropriate orientation correction, the invention according to the first feature can increase the value of the fish print.
[0014] The invention according to the first feature can automatically perform a series of image processing steps, including fish species identification, fish body part cutting, and orientation correction and arrangement, without the need for manual work by anglers, appraisers, engineers, etc. Therefore, the invention according to the first feature can significantly reduce the burden of manual work when creating AI fish prints, and can obtain optimal fish body arrangements. Effect of the Invention
[0015] The present invention can provide a means for creating AI fish prints that does not require special photography equipment, reduces the burden of manual work, and increases the value of the fish prints as art. [Brief description of the drawings]
[0016] [Figure 1] FIG. 1 is a block diagram showing an example of the hardware configuration and software configuration of an image processing system S of this embodiment. [Diagram 2] FIG. 2 is an example of the fish print table 121. [Diagram 3] FIG. 3 is a main flowchart showing an example of a preferable flow of image processing performed by the image processing device 1. [Figure 4] FIG. 4 is a continuation of FIG. [Diagram 5] FIG. 5 is a continuation of FIG. [Figure 6] FIG. 6 is an example of a fish image used as an input image. [Figure 7] FIG. 7 is an example of a fish part image cut out from the image of FIG. 6 based on the identified fish species. [Figure 8] FIG. 8 is an example of a monochrome image obtained by correcting the orientation of the fish body partial image. [Figure 9] FIG. 9 is an explanatory diagram regarding acquisition of a reference position from an image. [Figure 10] FIG. 10 is an example of an image in which the impact of the image in FIG. 8 is emphasized. [Figure 11] FIG. 11 is an example of a fish print image obtained by converting the style of the fish body part image in FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0017] Hereinafter, an example of an embodiment of the present invention will be described in detail with reference to the drawings.
[0018] <Image Processing System S> 1 is a block diagram showing an example of a hardware configuration and a software configuration of an image processing system S of this embodiment. Hereinafter, an example of a preferred embodiment of the image processing system S of this embodiment will be described with reference to FIG.
[0019] The image processing system S includes at least an image processing device 1. The image processing system S preferably includes a terminal T capable of communicating with the image processing device 1 via a network N. Hereinafter, the image processing system S may also be simply referred to as "system S."
[0020] [Image processing device 1] The image processing device 1 includes a control unit 11, a storage unit 12, and a communication unit 13. The type of the image processing device 1 is not particularly limited. The type of the image processing device 1 may be, for example, a server device, a cloud server, a terminal, etc. The terminal is, for example, a personal computer, a laptop computer, a smartphone, a tablet terminal, etc. When the type of the image processing device 1 is a terminal, it is preferable that the image processing device 1 further includes a photographing unit such as a camera, and a display unit capable of displaying an image.
[0021] [Control unit 11] The control unit 11 includes a central processing unit (CPU), a random access memory (RAM), and a read only memory (ROM).
[0022] The control unit 11 cooperates with the storage unit 12 and / or the communication unit 13 as necessary. The control unit 11 then realizes software components of the program of this embodiment executed by the image processing device 1, such as an image acquisition unit 111, a fish species discrimination unit 112, a fish body portion cutout unit 113, a direction correction / positioning unit 114, a reference position acquisition unit 115, a measurement unit 116, an image enhancement unit 117, a style conversion unit 118, and an output unit 119. The functions provided by each of the software components of the program of this embodiment will be described in the description of a preferred flow of image processing, which will be described later.
[0023] [Storage unit 12] The storage unit 12 is a device in which data and / or files are stored, and includes a data storage unit such as a hard disk, a semiconductor memory, a recording medium, and a memory card.
[0024] The storage unit 12 may have a mechanism that enables connection to a storage device or storage system such as a NAS, a SAN, a cloud storage CS, a file server, and / or a distributed file system via a network N. NAS is an abbreviation for Network Attached Storage. SAN is an abbreviation for Storage Area Network.
[0025] The memory unit 12 stores a program executed by the microcomputer, a fish print table 121, a first machine learning, a second machine learning, a third machine learning, a fourth machine learning, an image enhancement algorithm, a fifth machine learning, etc.
[0026] (Gyotaku Table 121) FIG. 2 is an example of the fish print table 121. The fish print table 121 stores images of fish, fish print images based on the images, etc. It is preferable that the fish print table 121 further stores a partial image (fish body partial image) corresponding to the fish body cut out from the fish image, and an image of the fish body (processed image) that has been subjected to contrast normalization and edge emphasis through the Color Dodge process. The Color Dodge process is a process in which a pattern is overlaid on an image, and the whiter the pattern, the brighter the color of the image. It is also preferable that the fish print table 121 further stores various information about the fish, exemplified by the type of fish, the size of the fish, and the date and time related to the fish.
[0027] It is preferable that a fish print ID that can identify the above-mentioned various information and corresponding user information are stored in association with each other in the fish print table 121. In this way, the image processing device 1 can manage the above-mentioned various information using the fish print ID.
[0028] In the example shown in Figure 2, the fish print ID "F0001", a fish image acquired from terminal T etc., a fish image (fish part image) in which the orientation of the fish part cut out from the image has been corrected and the position optimized, a fish image (processed image) in which the contrast has been standardized and the edges have been emphasized through a Color Dodge process based on the image, a fish print image created by AI style conversion, the fish type "red pine scabbard", the fish size "24cm", and the date and time related to the fish "April 1, 2022" are stored in association with each other. As a result, the image processing device 1 can perform image processing on the acquired red pine scabbard image and output the fish print image, the fish type "red pine scabbard", and the fish size "24cm".
[0029] (1st Machine Learning) The reference figure is referred to FIG. 1 again. The first machine learning is machine learning that has been trained for fish species discrimination from an image. The first machine learning includes, for example, machine learning similar to binary classification and / or multiclass classification. The method of the first machine learning is not particularly limited.
[0030] The first machine learning may be a machine learning integrated with a second machine learning described later. For example, the first machine learning integrated with the second machine learning may be a machine learning similar to object detection, which is capable of outputting the type of a detected object (fish body) and a partial image corresponding to the object.
[0031] (Second Machine Learning) The second machine learning is trained machine learning for cutting out a partial image (fish body partial image) corresponding to a fish body according to the type of fish. The second machine learning includes, for example, machine learning using a neural network similar to Semantic Segmentation, Instance Segmentation, Object Detection, and / or Principal Component Analysis.
[0032] The method of the second machine learning is not particularly limited. The method of the second machine learning may be, for example, various methods used for detecting features, such as Yolo (You Only Look Once) and Mask R-CNN. The second machine learning is preferably machine learning capable of outputting the type of fish. This allows the second machine learning to be configured as a machine learning integrated with the first machine learning.
[0033] (Third Machine Learning) The third machine learning is machine learning that has been trained to determine the orientation of a fish body captured in an image. The third machine learning is a combination of machine learning that detects the feature amount of a fish body, exemplified by eyes, pectoral fins, tail fins, etc., and machine learning that determines the main axis that is the orientation of the cut-out fish body. The third machine learning includes machine learning using a neural network similar to semantic segmentation, instance segmentation, object detection, and / or principal component analysis. The method of the third machine learning is not particularly limited.
[0034] (4th Machine Learning) The fourth machine learning is machine learning that has been trained to acquire a position (hereinafter referred to as a reference position) that serves as a size reference, such as a scale or a number marked on a ruler, a tape measure, or the like, from an image. The fourth machine learning includes machine learning that detects a feature amount of an object that serves as a reference for the size of an exemplified fish body, for example, by a scale on a ruler or a number written on a ruler. The fourth machine learning includes machine learning using a neural network similar to semantic segmentation, instance segmentation, object detection, and / or principal component analysis. The method of the fourth machine learning is not particularly limited.
[0035] (Image Enhancement Algorithm) The image enhancement algorithm is an algorithm that enhances images using the Color Dodge technique, contrast standardization, and edge enhancement. The Color Dodge technique creates an image effect in which the fish appears as if it were being spotlighted on a stage. As a result, in an image to which the Color Dodge technique has been applied, the bright parts of the fish appear sharp and the dark parts appear blurred. In addition, the combination of standardization by normalizing the light and dark contrast and image edge enhancement creates an image effect that prevents the disappearance of the outline even in the blurred parts of the fish. Details of the image enhancement process using the image enhancement algorithm will be described in more detail in the image enhancement step described later.
[0036] (5th Machine Learning) The fifth machine learning is machine learning that has been trained for style conversion. The fifth machine learning includes, for example, machine learning similar to AI style conversion (Neural Style Transfer, Stable Diffusion, etc.). The fifth machine learning is preferably machine learning that can output an image after AI style conversion based on information about the image and style to be converted. Furthermore, the fifth machine learning can also be used for AI style conversion of backgrounds and fonts used in fish prints according to user preferences. The method of the fifth machine learning is not particularly limited.
[0037] [Communications Section 13] The communication unit 13 is not particularly limited as long as it connects the image processing device 1 to the network N and enables communication with various terminals such as the terminal T. Examples of the communication unit 13 include a wireless device compatible with a mobile phone network, a device connectable to a wireless LAN, and a network card compatible with the Ethernet standard.
[0038] [Other components] The image processing device 1 may further include a photographing unit (not shown) capable of photographing images of fish, an input unit (not shown) capable of inputting various instructions to the control unit 11, a display unit (not shown) capable of displaying the created AI fish print, etc. Examples of the image processing device 1 equipped with these include various terminals such as smartphones and tablet terminals on which a program (app) capable of executing the image processing described below is installed.
[0039] [Network N] The type of the network N is not particularly limited as long as it enables communication between the image processing device 1 and the terminal T. The type of the network N is, for example, the Internet, a mobile phone network, a wireless LAN, and the like.
[0040] [Terminal T] The terminal T is not particularly limited as long as it can acquire images of fish. The terminal T may be configured integrally with the image processing device 1, or may be configured separately from the image processing device 1. It is preferable that the terminal T configured separately from the image processing device 1 can execute a process of providing the acquired images of fish to the image processing device 1, and a process of acquiring a fish print image output by the image processing device 1. An example of such a terminal T is a terminal with a camera installed with a predetermined program capable of executing these processes. The terminal with a camera is, for example, a smartphone, a tablet terminal, etc.
[0041] [Main flow chart of image processing performed by image processing device 1] Fig. 3 is a main flowchart showing an example of a preferred flow of image processing performed by the image processing device 1. Fig. 4 is a diagram following Fig. 3. Fig. 5 is a diagram following Fig. 4. Below, an example of a preferred flow of image processing will be explained using Figs. 3 to 5. Hereinafter, "performing processing based on machine learning" will be simply referred to as "performing machine learning".
[0042] First, the image processing device 1 executes acquisition steps from step S1 to step S2 to acquire an image of a fish.
[0043] [Step S1: Determine whether fish images can be acquired] The control unit 11 in Fig. 1 executes the image acquisition unit 111 in cooperation with the storage unit 12 and the communication unit 13. Then, the control unit 11 executes a process of determining whether or not a fish image can be acquired (step S1, fish image acquisition possibility determination step). If it is determined that an image can be acquired, the control unit 11 shifts the process to step S2. If it is not determined that an image can be acquired, the control unit 11 shifts the process to step S1.
[0044] The step of determining whether or not a fish image can be acquired is not particularly limited. For example, the step of determining whether or not a fish image can be acquired may include one or more of the following steps: determining that an image of a fish can be acquired when an image of a fish is received from the terminal T; determining that an image of a fish can be acquired when an image of a fish is photographed in the image processing device 1; determining that an image of a fish can be acquired when an image of a fish is specified in the image processing device 1; etc.
[0045] [Step S2: Acquire fish images] The control unit 11 executes a process of acquiring an image of a fish (step S2, acquisition execution step). Here, the acquisition execution step preferably includes a procedure of storing the acquired image of the fish in the fish print table 121. The image acquired in step S2 is used in a series of processes for cutting out a partial image of the fish body after going through a fish species discrimination process described later.
[0046] The image processing device 1 executes a fish species discrimination step from step S3 to step S4 to discriminate the fish species. Here, in the fish species discrimination step, the user may manually input the fish species. This allows the image processing device 1 to create a fish print that better reflects the user's wishes.
[0047] [Step S3: Determine whether the fish type was manually specified] The control unit 11 cooperates with the memory unit 12 to execute the fish species discrimination unit 112. Then, the control unit 11 executes a process to discriminate whether the type of fish has been manually designated (step S3, fish species manual designation discrimination step). If it is determined that the type of fish has been designated, the control unit 11 stores the designated type of fish in the fish print table 121 and moves the process to step S5. If it is determined that the type of fish has not been designated, the control unit 11 moves the process to step S4.
[0048] [Step S4: Identify the type of fish] Next, the control unit 11 cooperates with the storage unit 12 to execute the fish species discrimination unit 112. When the first machine learning used in the fish species discrimination unit 112 and the second machine learning used in the fish body part cutter unit 113 described below are integrated machine learning, the series of processes is preferably performed as an integrated process. Also, when the first machine learning and the second machine learning are separate machine learning, the series of processes is preferably performed as separate processes. The following is an explanation of the case where the series of processes is performed as separate processes, but the same applies to the case where the series of processes is performed as an integrated process.
[0049] The control unit 11 executes a process of identifying the type of fish from the image acquired in step S2 based on the first machine learning related to identifying the type of fish from the image (step S4, fish type identification step). The fish type identification step preferably includes a procedure of storing the identified type of fish in the fish print table 121. Thereafter, the control unit 11 shifts the process to step S5.
[0050] [Step S5: Cut out a partial image of the fish body] The control unit 11 executes the fish body part cutting unit 113 in cooperation with the storage unit 12. Then, the control unit 11 executes a second machine learning for cutting out a partial image corresponding to a fish body from the image acquired in step S2 based on the type of fish in step S3 or step S4 (step S5, fish body part cutting step). The fish body part cutting step preferably includes a procedure for storing the cut out partial image in the fish print table 121. After that, the control unit 11 moves the process to step S6.
[0051] Here, the image processing device 1 can cut out a partial image using weights trained in advance for each fish species by using the second machine learning related to cutting out a partial image corresponding to a fish body according to the type of fish. This allows the image processing device 1 to improve the accuracy of cutting out.
[0052] Next, the image processing device 1 determines the orientation of the partial images of the fish in step S6, and proceeds to step S7 for correcting the orientation and optimizing the arrangement.
[0053] [Step S6: Determine the direction of the fish] The control unit 11 executes the orientation correction and arrangement unit 114 in cooperation with the storage unit 12. Here, the control unit 11 executes a process of determining the orientation of the fish in the fish part image cut out in step S5 (step S6, orientation determination step). Here, determining the orientation of the fish refers to a step of determining whether the side of the fish photographed is the right side or the left side when the head is forward. The orientation determination step includes a series of procedures, for example, of acquiring the first and second axes of the fish, which are the principal axes in the principal component coordinate system, by principal component analysis using machine learning, detecting the feature amounts of the fish, exemplified by the eyes, pectoral fins, tail fins, etc., by deep learning, and then determining the orientation of the fish from the relative positional relationship between each feature amount and each principal axis. Thereafter, the control unit 11 moves the process to step S7.
[0054] [Step S7: Correcting fish orientation and optimizing placement] The control unit 11 executes the orientation correction and arrangement unit 114 in cooperation with the storage unit 12. Here, the control unit 11 corrects the orientation of the fish in the fish partial image cut out in step S5 based on the orientation determined in step S6, and executes an optimization process for the arrangement (step S7, orientation correction and arrangement optimization step). After that, the control unit 11 moves the process to step S8.
[0055] The step of optimizing the orientation and position includes, for example, a series of steps of rotating and flipping the image vertically and horizontally so that the fish body is in a predetermined orientation. As a representative example, when the fish body is to be oriented downward and left, the steps include a series of steps of rotating the image and flipping the image vertically and horizontally as necessary for each feature amount detected in step S5 so that the fish body's eyes are on the left side of the image after correction, the pectoral fin is on the bottom side of the image after correction, and the tail fin is on the right side of the image after correction. The same applies when the fish body is oriented in another direction. The step of optimizing the orientation and position may also include a step of rotating the image so that the principal axis obtained by the principal component analysis using the above-mentioned third machine learning forms a predetermined angle with the vertical direction and / or horizontal direction of the image.
[0056] The step of correcting the orientation and optimizing the arrangement may include a procedure for correcting the size and / or arrangement of the fish partial image based on the orientation determined in step S6. This makes it possible to further optimize the arrangement of the fish partial image in the AI fish print.
[0057] It is preferable that the image processing device 1 is capable of executing a measurement and determination step of step S8, reference position acquisition steps from step S9 to step S10, and a measurement step of step S11 in order to measure the size of the fish.
[0058] [Step S8: Determine whether the size of the fish has been measured externally] The control unit 11 executes the measurement unit 116 in cooperation with the memory unit 12. Then, the control unit 11 executes a process of determining whether the size of the fish has been measured externally (step S8, measurement determination step). If it is determined that the size has been measured, the control unit 11 shifts the process to step S12. If it is determined that the size has not been measured, the control unit 11 shifts the process to step S9.
[0059] [Step S9: Determine whether the reference position can be obtained] The control unit 11 executes the reference position acquisition unit 115 in cooperation with the storage unit 12. Then, the control unit 11 executes a process of determining whether a reference position serving as a size reference can be acquired from the image acquired in step S2 (step S9, reference position acquisition availability determination step). If it is determined that it can be acquired, the control unit 11 moves the process to step S10. If it is not determined that it can be acquired, the control unit 11 moves the process to step S12.
[0060] The method of the reference position acquisition possibility determination step is not particularly limited. The reference position acquisition possibility determination step includes, for example, a procedure of determining that the reference position can be acquired when an object (calibration target) such as a ruler serving as a size reference is detected by machine learning related to object detection in the image acquired in step S2. The object serving as the size reference is not particularly limited. The object serving as the size reference is generally, for example, a scale or numbers written on a ruler or tape measure, but may also be a 100 yen coin or a plastic bottle container.
[0061] [Step S10: Obtain reference position] The control unit 11 executes the reference position acquisition unit 115 in cooperation with the storage unit 12. Then, the control unit 11 executes a process of acquiring a plurality of reference positions from the image acquired in step S2 based on the fourth machine learning (step S10, reference position acquisition execution step). After that, the control unit 11 shifts the process to step S11.
[0062] [Step S11: Measuring the size of the fish] The control unit 11 executes the measurement unit 116 in cooperation with the memory unit 12. Then, the control unit 11 executes a process of measuring the size of the fish based on the image acquired in step S2 and the reference position acquired in step S10 (step S11, measurement step). After that, the control unit 11 moves the process to step S12. The measurement step preferably includes a procedure of storing the measured size of the fish in the fish print table 121.
[0063] The measuring step is not particularly limited and may include, for example, a procedure of performing a principal component analysis on the multiple reference positions acquired in step S10 to determine the orientation of the ruler, tape measure, etc., and then measuring the size of the fish from the relative relationship between the size of the ruler, tape measure, etc. on the principal component coordinate axis along the orientation and the size of the fish partial image cut out in step S5.
[0064] The measuring step may include a procedure for acquiring the size of the fish measured from the image of the fish by an external program, such as a program for measuring the distance between two points tapped by a user on an image captured by a smartphone camera.
[0065] [Step S12: Emphasize impact] The control unit 11 executes the image enhancement unit 117 in cooperation with the storage unit 12. First, the control unit 11 performs a Color Dodge process on the partial image of the fish body cut out in step S5 and subjected to the orientation correction and arrangement optimization in step S7. After that, the control unit 11 performs contrast optimization on the obtained image by standardizing the color and light-dark contrast. Furthermore, the control unit 11 performs an edge enhancement process on the image thus obtained (step S12, image enhancement step). Through this series of steps, the impact of the partial image of the fish body cut out in step S5 is enhanced, and a print image different from a simple grayscale conversion is obtained. This step preferably includes a procedure of storing the created print image in the print table 121. After that, the control unit 11 moves the process to step S13. The image enhancement step can be skipped according to the user's preference. In that case, the process moves to the following step S13.
[0066] Here, Color Dodge will be described in detail. The Color Dodge process is used to create an image effect in which the fish looks as if it were spotlighted on a stage. In other words, the bright parts of the fish look sharp and the dark parts look blurred. In addition, the color and light / dark contrast is standardized to prevent excessive coloring and brightness, optimizing the visuals. Furthermore, the edges of the fish's outline, scales, fins, eyes, mouth, lateral line, etc. are emphasized to prevent the outline from disappearing even in the parts of the fish that have been blurred by the Color Dodge process. These three composite image processing processes are drawing techniques that do not exist in what is commonly referred to as simple monochrome conversion, or in existing patents related to digital fish prints. Here, the contrast standardization process may include a series of processes that instruct the display of predetermined options regarding color intensity and brightness, and adjust the intensity based on the settings selected according to the user's preferences.
[0067] The image processing device 1 preferably includes an AI style conversion step from step S13 to step S14. This allows the image processing device 1 to generate a fish print image converted into a style that matches the user's preferences, thereby increasing the value of the AI fish print as art.
[0068] [Step S13: Determine whether AI style conversion has been instructed] The control unit 11 executes the style conversion unit 118 in cooperation with the storage unit 12 and the communication unit 13. Then, the control unit 11 executes a process of determining whether an AI style conversion has been instructed (step S13, AI style conversion instruction determination step). If it is determined that an instruction has been instructed, the control unit 11 shifts the process to step S14. If it is not determined that an instruction has been instructed, the control unit 11 shifts the process to step S15.
[0069] The AI style conversion instruction determination step is not particularly limited. For example, the AI style conversion instruction determination step may be a procedure for determining that an AI style conversion has been instructed when a style conversion is instructed by a user via a terminal T or the like.
[0070] [Step S14: Convert the style] The control unit 11 executes the style conversion unit 118 in cooperation with the storage unit 12. Based on the fifth machine learning, the control unit 11 executes a process of converting the style of the fish body part image cut out in step S4 or the image that has been subjected to contrast standardization and edge optimization after Color Dodge (step S14, AI style conversion execution step). This can further increase the value of the AI fish print as art. Here, the AI style conversion execution step may be used to modify the design of the font and background used in the fish print. The AI style conversion execution step preferably includes a procedure of storing the fish print image with the converted style in the fish print table 121. Thereafter, the control unit 11 moves the process to step S15.
[0071] Even if the size cannot be measured, the image processing device 1 executes the output step of step S17. When the reference position acquisition step and the measurement step are executed, the output step preferably includes the processes of steps S15 to S16 related to outputting the size of the fish.
[0072] [Step S15: Determine whether the size of the fish can be output] The control unit 11 executes the output unit 119 in cooperation with the memory unit 12. Then, the control unit 11 executes a process of determining whether the size of the fish can be output (step S15, size output feasibility determination step). If it is determined that the size can be output, the control unit 11 moves the process to step S16. If it is not determined that the size can be output, the control unit 11 moves the process to step S17. The size output feasibility determination step includes, for example, a procedure of determining that the size of the fish can be output if the size has been measured in the measurement step.
[0073] [Step S16: Output the size of the fish] The control unit 11 executes the output unit 119 in cooperation with the storage unit 12 and the communication unit 13. In step S16, a size-added output execution step, if the size of the fish is obtained in step S11, the information is passed to step S17. If not, this step is omitted.
[0074] [Step S17: Output the fish print] The control unit 11 executes the output unit 119 in cooperation with the memory unit 12 and the communication unit 13. The control unit 11 executes a process of outputting the AI fish print drawn with the orientation corrected in the processes from step S1 to step S14 and the type of fish determined in the processes from step S3 to step S4 (step S17, output execution step). If it is determined in step S15 that the size of the fish cannot be output, information regarding the size may not be attached.
[0075] [SNS output step] It is preferable that the output execution step further includes an SNS output step (not shown) capable of outputting the above-mentioned AI fish print, etc., to social media such as SNS in response to a user's instruction. As a result, when hosting an online fishing tournament using AI fish print, the tournament organizer and participants can advertise the AI fish print and original images created during the tournament through various social media. This allows the organizer to aim to attract more participants through such advertising. Furthermore, the operator of the image processing system S can expect an increase in the number of users of the image processing system S through such advertising.
[0076] [NFT output step] The output execution step preferably further includes an NFT output step (not shown) capable of outputting the above-mentioned AI fish print and the size of the fish, etc., as an NFT on the blockchain in response to a user's instruction. This allows the user to demonstrate that the created fish print is their own by using reliable evidence such as the AI fish print and the size of the fish output as an NFT on the blockchain that is difficult to tamper with.
[0077] <Example of using the image processing system S> An example of how the image processing system S of this embodiment is used will be described below.
[0078] [AI Fish Print Generation] First, a use case will be explained in which a user who catches a fish generates an AI fish print.
[0079] [Getting fish images] A user who has caught a fish provides an image of the fish they have caught to the image processing device 1 by taking a picture of the fish with a smartphone or the like. The image processing device 1 acquires the image of the fish. FIG. 6 is an example of a fish image. The image of the fish shown in FIG. 6 includes other fishes and the like captured in the background, and therefore cannot be used as an AI fish print as is, and therefore processing such as cutting out and selecting the fish body to be used in creating the fish print must be performed.
[0080] [Identifying fish species and cutting out images of fish parts] The image processing device 1 determines that the fish species is a red spotted porgy from the image in Fig. 6, and cuts out the fish body partial image based on the determination. Fig. 7 is an example of the fish body partial image cut out from the image in Fig. 6 based on the determined fish species.
[0081] [Orientation correction] The image processing device 1 determines the orientation of the fish. Then, the image processing device 1 corrects the orientation of the fish based on the determined orientation, and performs optimal placement. In the example shown in FIG. 7, the first main axis X1, the second main axis Y1, the fish's eyes E, the pectoral fin P, and the tail fin C are detected by the third machine learning, making it possible to determine the orientation of the fish. FIG. 8 is an example of a monochrome image obtained by correcting the orientation of the fish partial image. In the example shown in FIG. 8, the image processing device 1 automatically corrects the placement of the fish so that it faces in the lower left direction based on the determined orientation.
[0082] [Size measurement] The image processing device 1 acquires a plurality of reference positions and measures the size of the fish based on the reference positions. FIG. 9 is an explanatory diagram regarding acquisition of reference positions from an image. In the example shown in FIG. 9, numbers 1 to 5, which are numbers written on a tape measure, are acquired as the first reference position L1 to the fifth reference position L5. In the example shown in FIG. 9, the main axis X2 of the tape measure is acquired by principal component analysis of the first reference position L1 to the fifth reference position L5. The image processing device 1 measures the size of the fish based on the first reference position L1 to the fifth reference position L5 and their orientations.
[0083] [Image Enhancement] The image processing device 1 emphasizes the impact of the image of the fish body part by Color Dodge, contrast standardization, and edge emphasis. Fig. 10 is an example of an image in which the impact of the image in Fig. 8 has been emphasized. By emphasizing the impact, an AI fish print image with a powerful impact different from a simple monochrome image can be obtained.
[0084] [Conversion of painting style] In response to an instruction from a user, the image processing device 1 changes the style of the image. Fig. 11 is an example of a fish print image in which the style of the fish body part image in Fig. 10 has been changed. In the example shown in Fig. 11, the AI fish print with the changed style gives the impression of being a fish print as a work of art, rather than just a digital fish print.
[0085] [Using AI fish prints for fishing tournaments, etc.] The following describes an example of using the AI fish print to hold a fishing tournament, etc. As described above, the image processing system S of this embodiment is capable of rapid and accurate measurement using AI technology (machine learning and deep learning), and of creating an AI fish print based on the measurement.
[0086] It is believed that the locations of fishing competitions that use traditional methods to measure fish size and create fish prints will be limited to locations where appraisers, fish print technicians, etc. are available. In addition, it is believed that the locations of fishing competitions that use traditional methods of creating digital fish prints using special photographic equipment will be limited to locations where the photographic equipment can be arranged.
[0087] On the other hand, when the image processing system S of this embodiment is used, the organizer of a fishing tournament or the like can hold the tournament regardless of the location where the size of the fish can be measured and the location where photography equipment can be arranged. This allows the organizer to hold a fishing tournament over a wider area than, for example, an online fishing tournament.
[0088] [Commercialization of AI fish prints] The following describes an example of how to commercialize AI fish prints. As described above, the image processing system S of this embodiment is capable of rapid and accurate measurement using AI technology (machine learning and deep learning), and of creating AI fish prints based on an elegant style.
[0089] This allows operators of the image processing system S to provide a service to sell various products with designs using the output AI fish print. Examples of such products include T-shirts, mugs, calendars, and New Year's cards decorated with AI fish prints.
[0090] An example of a preferred embodiment of the present invention has been described above. However, within the scope of the concept of the present invention, a person skilled in the art may come up with various modifications and alterations. Therefore, it is understood that such modifications and alterations are within the scope of the present invention, as is the case with the above-mentioned example. For example, if a person skilled in the art appropriately adds, deletes, or modifies the design of the above-mentioned embodiment, or adds, omits, or modifies the conditions of a process, these modifications and alterations are included in the scope of the present invention, as is the case with the above-mentioned example, as long as they include the gist of the present invention. [Explanation of symbols]
[0091] S Image Processing System 1 Image processing device 11 Control section 111 Image acquisition unit 112 Fish species identification section 113 Fish body part cut-out part 114 Orientation and placement correction section 115 Reference position acquisition section 116 Measuring section 117 Image Enhancement Unit 118 Style Conversion Department 119 Output section 12 Storage section 121 Fish Print Table 13. Communications Department C. Tail fin E eyes L1-L5 1st-5th reference position N Network P Pectoral fin T-Terminal X1 1st spindle Y1 2nd spindle X2 Tape measure orientation
Claims
1. An image processing device for AI fish print, comprising the following (A) to (D). (A) a fish body part cutter that cuts out a fish body part image corresponding to a fish body using trained weights based on a second machine learning; (B) a direction correction and arrangement unit that determines and corrects the direction of a fish body in an image based on a third machine learning, and then optimizes the arrangement; (C) a measurement unit that measures the size of a fish based on a plurality of reference positions that serve as size standards in the image obtained by the fourth machine learning; (D) an output unit capable of outputting the fish body partial image and the type of fish whose arrangement has been optimized.
2. The image processing device according to claim 1 , further comprising: (E) A fish species identification unit capable of identifying the type of fish from an image of the fish based on the first machine learning.
3. The image processing device according to claim 1 , wherein the output unit (D) is capable of outputting the orientation-corrected and optimally positioned fish part image together with information on fish species and size to social media.
4. The image processing device according to claim 1 , further comprising: (F) An image enhancement unit that performs impact enhancement processing on the fish body part image based on an image enhancement algorithm, by combining Color Dodge technique, contrast standardization, and edge enhancement.
5. The image processing device according to claim 1 , further comprising: (G) a signal processing unit that outputs a signal to the image processing device; (G) A style conversion unit capable of converting the style of the fish body partial image based on fifth machine learning.
6. The image processing device according to claim 5 , wherein the style conversion unit is capable of creating and / or modifying the background and font used in the fish print to a style that corresponds to the user's preferences based on the fifth machine learning.
Citation Information
Patent Citations
Imaging apparatus with fish print photographing function
JP2011182255A
