Information processing device, display processing method and program
The information processing device simplifies the label creation process by allowing users to select areas, input sizes, and calculate display sizes for accurate label image previews, addressing the complexity and user burden of existing applications.
Patent Information
- Application Number
- JP2023150877
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-09-19
- Publication Date
- 2025-04-01
AI Technical Summary
Existing label creation support applications require complex operations and high user burden to effectively preview and adjust label images in relation to the size and position of objects they will be pasted on.
An information processing device with an image creation unit, area selecting unit, size input unit, calculation unit, and display control unit, which simplifies the process of creating and previewing label images by allowing users to select areas, input actual sizes, and calculate display sizes for accurate previewing on an object image.
The solution enables users to preview label images in a simple and intuitive manner, ensuring accurate size and position adjustments before printing, thereby reducing user burden and preventing errors related to incorrect label sizes.
Smart Images

Figure 2025043539000001_ABST
Abstract
Description
[Technical field]
[0001] The disclosure of this specification relates to an information processing device, a display processing method, and a program. [Background technology]
[0002] Printing devices that create labels by printing characters, images, etc. on tape, which is a long, narrow strip-shaped printing medium, are known. To promote the use of this type of printing device, an application program that supports label creation (hereinafter, referred to as a label creation support application) that runs on an information processing device such as a smartphone is provided.
[0003] Some label creation support applications have a preview function that displays a created label image superimposed on an image of an object to which the label is to be affixed. Technology related to the preview function is described in, for example, Patent Document 1. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2017-97587 A Summary of the Invention [Problem to be solved by the invention]
[0005] Patent Document 1 describes a technology for enlarging or reducing a label image based on the actual dimensions of the object to be affixed and the dimensions of the object to be affixed on the image, and displaying the image in a captured image. By using the technology described in Patent Document 1, it is possible to grasp in advance the balance between the size of the object to be affixed and the size of the label when the label is actually affixed to the object to be affixed. There is a demand for a technology that more easily realizes the effects obtained by the technology described in Patent Document 1 while reducing the burden on the user.
[0006] In light of the above-described circumstances, an object of one aspect of the present invention is to provide a technique for appropriately previewing a print image, such as a label image, on a photographed image of an object to which the label is to be affixed, with a simple operation. [Means for solving the problem]
[0007] An information processing device according to one embodiment of the present invention comprises an image creation unit that creates a print image to be printed on a printing medium, an area selection unit that accepts a selection of an area on an image of an object to be pasted on the printing medium, a size input unit that accepts input of an actual-size size of the area selected by the area selection unit, a calculation unit that calculates a display size of the print image based on information on the size of the printing medium, the number of pixels of the area in the image, and information on the actual-size size of the area accepted by the size input unit, and a display control unit that displays the print image superimposed on the image at the display size calculated by the calculation unit.
[0008] A display processing method according to one aspect of the present invention is a display processing method performed by an information processing device, which creates a print image to be printed on a printing medium, accepts selection of an area on an image of an object to be attached to the printing medium, accepts input of the actual size of the selected area, calculates a display size of the print image based on information on the size of the printing medium, the number of pixels of the area in the image, and information on the actual size of the area, and displays the print image superimposed on the image at the calculated display size.
[0009] A program according to one aspect of the present invention causes an information processing device to create a print image to be printed on a printing medium, accept selection of an area on an image of an object to be affixed to the printing medium, accept input of the actual size of the selected area, calculate a display size of the print image based on information on the size of the printing medium, the number of pixels of the area in the image, and information on the actual size of the area, and execute a process to display the print image superimposed on the image at the calculated display size. Effect of the Invention
[0010] According to the above aspect, a technique is provided for appropriately previewing a print image, such as a label image, on a captured image of an object to which the label is to be attached, with a simple operation. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a diagram illustrating a configuration of a system according to an embodiment. [Diagram 2] FIG. 2 is a partial plan view of a printing device according to an embodiment with its cover open. [Diagram 3] FIG. 2 is a diagram illustrating an example of a transport path for a print medium. [Figure 4] FIG. 2 is a block diagram illustrating an example of a hardware configuration of an information processing device according to an embodiment. [Diagram 5] 1 is a block diagram illustrating an example of a configuration related to a display processing method performed by an information processing device. [Figure 6] 10 is an example of a flowchart illustrating a display processing method performed by an information processing device. [Figure 7] 13 is an example of an editing screen displayed by the information processing device. [Figure 8] 1 is an example of a preview screen displayed by the information processing device. [Figure 9] 13 is another example of a preview screen displayed by the information processing device. [Figure 10] 13 is yet another example of a preview screen displayed by the information processing device. [Figure 11] 13 is yet another example of a preview screen displayed by the information processing device. [Figure 12] 13 is yet another example of a preview screen displayed by the information processing device. [Figure 13] 13 is yet another example of a preview screen displayed by the information processing device. [Figure 14] 13 is yet another example of a preview screen displayed by the information processing device. [Figure 15]13 is yet another example of a preview screen displayed by the information processing device. [Figure 16] 13 is yet another example of a preview screen displayed by the information processing device. [Figure 17] 13 is yet another example of a preview screen displayed by the information processing device. [Figure 18] 13 is yet another example of a preview screen displayed by the information processing device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] An embodiment of the present invention will be described with reference to the drawings. In the following, an embodiment of the present invention will be described by taking as an example a system including a printing device capable of printing characters, images, etc. on a tape as a printing medium, cutting the printed tape (label), and discharging it to the outside of the device, and an information processing device on which an application (label creation support application) that supports the creation of the label runs.
[0013] In this specification, a tape is a long, thin, strip-shaped print medium made of plastic, paper, or any other material. The tape typically has an adhesive layer and is attachable. However, the tape does not have to have an adhesive layer. A label is a piece of tape that uses tape as a print medium and has some information printed on it.
[0014] The printing method of the printing device according to the embodiment is not particularly limited. The printing device is, for example, a thermal printer that performs printing using a thermal transfer method or a thermal method. However, the printing device is not limited to a thermal printer, and may be an inkjet printer, a laser printer, or the like.
[0015] Fig. 1 is a diagram illustrating a system configuration according to an embodiment of the present invention, Fig. 2 is a partial plan view of a printing device 1 according to an embodiment of the present invention with its cover open.
[0016] The system shown in Fig. 1 includes a printing device 1 and an information processing device 100. In the system shown in Fig. 1, the information processing device 100 sends a print instruction for a label image to the printing device 1, which causes the printing device 1 to print the label image on a tape 13 and create a label on which the label image is printed. The label image is a print image that is printed on a print medium (here, the tape 13) to create a label.
[0017] The information processing device 100 is a device that creates a label image to be printed on the tape 13 by the printing device 1, and a label creation support application runs on it. As shown in Fig. 1, the information processing device 100 is a portable tablet-type terminal, and includes a touch panel display 101 and a camera 102. Note that the information processing device 100 is not limited to a tablet-type terminal, and may be any mobile terminal such as a smartphone or a notebook-type terminal, or may be a desktop-type (stationary) terminal.
[0018] As shown in FIG. 1, the printing device 1 and the information processing device 100 exchange data, for example, by wireless communication. The standard of the wireless communication performed between the printing device 1 and the information processing device 100 is not particularly limited. For example, a wireless LAN standard such as Wi-Fi (registered trademark) may be adopted. The information processing device 100 may communicate with the printing device 1 in an ad-hoc mode, or may communicate with the printing device 1 in an infrastructure mode via an access point (not shown). In addition, a short-range wireless communication standard such as Bluetooth (registered trademark) Low Energy (hereinafter referred to as BLE) may be adopted for the wireless communication performed between the printing device 1 and the information processing device 100. In addition, the communication between the printing device 1 and the information processing device 100 is not limited to wireless communication, and may be communication using a wired cable.
[0019] The printing device 1 illustrated in FIGS. 1 and 2 has a device housing 2 and a lid 4 attached to the device housing 2. The device housing 2 is provided with a concave adapter mounting section 21 for mounting a tape adapter 11. The tape adapter 11 is a container that stores a roll of tape 13 (hereinafter referred to as a "tape roll 12") and supplies the tape 13 to the printing device 1. The underlined number "9" in FIGS. 1 and 2 indicates that the width of the tape 13 stored in the tape adapter 11 is 9 mm. Note that the tape 13 is not limited to a width of 9 mm, and various widths such as 3.5 mm, 6 mm, 12 mm, 18 mm, 24 mm, and 36 mm can be used.
[0020] The adapter mounting section 21 of the device housing 2 communicates with an outlet 22 provided on a side surface of the device housing 2. The printing device 1 transports the tape 13 pulled out from the tape adapter 11 mounted in the adapter mounting section 21 along a transport path provided in the device housing 2, and discharges the tape 13 from the outlet 22. In the device housing 2, a platen roller (transport roller) 6 that transports the tape 13 pulled out from the tape adapter 11, a printing unit 7 that prints on the tape 13, and a cutting unit 8 that cuts the tape 13 are arranged.
[0021] The lid 4 is attached to the device housing 2 so that the adapter mounting section 21 in the device housing 2 can be opened and closed. In the printing device 1, a keyboard 3 is provided in an area of the device housing 2 that does not interfere with the lid 4 in the closed position, and a display 5 is provided on the surface of the lid 4. The keyboard 3 is an input device having a number of keys for inputting and selecting various pieces of information related to the operation of the printing device 1. The display 5 is a display device that displays various pieces of information input or selected using the keyboard 3.
[0022] 1 and 2 show an example in which the printing device 1 is equipped with the keyboard 3 and the display 5, but the printing device 1 does not have to be equipped with the keyboard 3 and the display 5. The printing device 1 only needs to have at least a configuration for executing a printing process in response to a printing instruction from the information processing device 100.
[0023] 3 is a diagram illustrating an example of a transport path of a print medium, in which the transport path of the tape 13 in the printing device 1 is shown as a straight path.
[0024] The tape 13 that is unwound from the tape roll 12 and supplied to the printing device 1 passes between the platen roller 6 and the thermal head 71 of the printing unit 7, and is transported along a transport path that leads to the discharge outlet 22 of the device housing 2. For example, when the lid 4 moves to the closed position, the tape 13 is sandwiched between the circumferential surface of the platen roller 6 and the thermal head 71, and is transported along the transport path as the platen roller 6 rotates.
[0025] The platen roller 6 in the printing device 1 of this embodiment sends out the tape 13 toward the discharge opening 22 by the power of a motor (not shown). The thermal head 71 prints on the tape 13 by applying heat to the tape 13 being transported. The tape 13 transported along the transport path is cut by a first cutter 81 at a full cut position between a printing position on the transport path where the tape 13 and the thermal head 71 come into contact with each other, and a discharge position corresponding to the discharge opening 22 of the device housing 2. The tape 13 transported along the transport path is cut by a second cutter 82 at a half cut position between the full cut position and the discharge position.
[0026] The first cutter 81 is a full cutter that cuts the entire tape 13 at a cut line of the tape 13 at the full cut position to separate it into two pieces. For example, if the tape 13 is a print medium including a substrate that is an adhesive tape layer and a separator that is a protective layer that protects the adhesive tape layer, the first cutter 81 cuts both the substrate and the separator to separate each of the substrate and the separator into two pieces.
[0027] The second cutter 82 is a half cutter that cuts the tape 13 so that when the tape 13 is cut at a cut line of the tape 13 at the half-cut position, both sides of the cut line remain integral due to the uncut portions. For example, if the tape 13 is a print medium including a substrate that is an adhesive tape layer and a separator that is a protective layer that protects the adhesive tape layer, the second cutter 82 cuts, for example, only the substrate and does not cut the separator. Note that the second cutter 82 may be a cutter that cuts the tape 13 so that a perforation is formed in the tape 13.
[0028] 3, the printing device 1 may be provided with a pair of discharge rollers 91 and 92 that sandwich the tape 13 between the half-cut position and the discharge position on the conveying path and assist in conveying the tape 13. For example, when the tape 13 is cut by the first cutter 81, the discharge rollers 91 and 92 operate so that the tape 13 located downstream of the full-cut position is conveyed.
[0029] For example, when the printing device 1 configured as above receives a print instruction including a label image from the information processing device 100, it performs a process (operation) of printing the label image on the tape 13 to create a label.
[0030] 4 is a block diagram illustrating an example of a hardware configuration of an information processing device 100 according to an embodiment. Although not particularly limited, the information processing device 100 includes, for example, a processor 110, a storage device 120, an input / output device 130, a communication device 140, and an image capture device 150, as shown in FIG.
[0031] The processor 110 is an example of a control unit of the information processing device 100. The processor 110 includes, for example, a CPU (Central Processing Unit) and executes a program 121 stored in the storage device 120. The processor 110 may include any electric circuit such as a GPU (Graphics processing unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a DSP (Digital Signal Processor).
[0032] The storage device 120 is a non-transitory computer-readable medium, such as any semiconductor memory. The one or more storage devices 120 include volatile memory, such as Random Access Memory (RAM), Read Only Memory (ROM), non-volatile memory, such as flash memory, etc. The storage devices 120 may also include magnetic storage devices, optical storage devices, and other types of storage devices.
[0033] The storage device 120 stores a program 121 and data 122. The program 121 is, for example, an application (label creation support application) that supports label creation using a display processing method described later. The data 122 includes, for example, still images described later.
[0034] The input / output device 130 includes a touch panel display 101 shown in Fig. 1. The communication device 140 is, for example, a unit that supports wireless communication such as WiFi or BLE. The photographing device 150 includes a camera 102 shown in Fig. 1 that is equipped with an image sensor. The image sensor is, for example, a CCD (Charge Coupled Device) image sensor or a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor.
[0035] In the system configured as above, a user can have the information processing device 100 create a label image by inputting necessary information into a label creation assistance application executed by the processor 110. Furthermore, the user can have the printing device 1 create a label on which the label image is printed by instructing the printing device 1 to print the label image created by the information processing device 100.
[0036] Labels created with the system shown in Figure 1 are often used by sticking them on objects such as files and notebooks. For this reason, it is desirable to be able to check the balance in size between the label and the object when the label is attached to the object at the time of creating the label image (before creating the label). By checking the balance in size before actually creating the label, it is possible to prevent situations in which the work has to be redone after the label has been printed because the size balance between the label and the object is not good.
[0037] For this reason, the label creation assistance application is provided with a preview function that allows the user to check the size balance before creating a label by displaying a label image superimposed on an image of the object to which the label is to be attached. The following describes in detail the preview function of the information processing device 100 and a display processing method performed by the information processing device 100 to realize the preview function.
[0038] 5 is a block diagram illustrating an example of a configuration related to a display processing method performed by the information processing device 100. The processor 110 includes an image creation unit 111, an area selection unit 112, a size input unit 113, a calculation unit 114, and a display control unit 115, which are realized by the processor 110 executing a program 121.
[0039] The image creation unit 111 creates a label image to be printed on a print medium. The image creation unit 111 creates the label image based on a user's operation input via the touch panel display 101, for example.
[0040] Area selection unit 112 accepts the selection of an area on an image of a pasting object. The pasting object is an object to which a label is to be pasted, such as a note or a file. For example, when a user's operation of designating an area on touch panel display 101 on which an image of the pasting object photographed by camera 102 is displayed is detected, area selection unit 112 accepts the selection of an area based on the operation. More specifically, the area selection unit 112 accepts the selection of the area designated by the area. Area selection unit 112 further acquires the size of the selected area on the image, specifically, the number of pixels.
[0041] The user's operation for specifying the range is not particularly limited, but may be, for example, an operation of tapping two points to select the area between the two points, or an operation of tapping four points to select a rectangular area formed by the four points. In addition, the operation may be a combination of various operations that can be distinguished on a touch panel display, such as dragging or flicking.
[0042] Size input unit 113 accepts an input of the actual size of the area selected by area selection unit 112. For example, when an input operation into an input area displayed in touch panel display 101 after area selection is detected, size input unit 113 accepts an input of the actual size of the area selected on the image based on the input operation into the input area.
[0043] The input operation into the input area is not particularly limited, but may be, for example, a character input operation (including a number input) using a software keyboard, a handwritten input operation, a selection operation in a list box, or the like.
[0044] The calculation unit 114 calculates the display size of the label image created by the image creation unit 111 based on the information on the size of the print medium, the number of pixels of the selected area in the image acquired by the area selection unit 112, and the information on the actual size of the area received by the size input unit 113. In order to reproduce the balance between the size of the label and the object to be pasted when the label is pasted on the object to be pasted on the image, it is desirable that the object to be pasted and the label are displayed at the same magnification on the image. Therefore, the calculation unit 114 first estimates the shooting magnification of the object to be pasted on the basis of the number of pixels of the selected area and the information on the actual size of the selected area. Specifically, the calculation unit 114 assumes that the shooting magnification of the object to be pasted and the shooting magnification of the selected area are approximately equal, calculates the shooting magnification of the selected area, and estimates the shooting magnification of the object to be pasted by regarding the calculated shooting magnification as the shooting magnification of the object to be pasted. The calculation unit 114 further calculates the display size of the label image based on the estimated shooting magnification (=calculated projection magnification) and the information on the size of the print medium.
[0045] The size of the print medium may be, for example, the size (e.g., width and length) of the print medium specified by the user when creating a label image with the image creation unit 111, or it may be a combination of the width of the print medium specified by the user and the length determined by the content in the label image (such as a character string or a photo).The size of the print medium may be the size of the print medium specified by the user after creating the label image, or it may be a combination of the width (9 mm in this example) of the tape 13 attached to the printer 1 acquired by the information processing device 100 by communicating with the printer 1 and the length determined by the content in the label image.
[0046] The display control unit 115 displays the label image in the display size calculated by the calculation unit 114, superimposed on the image of the object to be affixed.
[0047] 5, the information processing device 100 can display the label image to be printed on the print medium superimposed on the photographed image of the object to be affixed at the same magnification as the object to be affixed. This allows the user to check the balance between the size of the object to be affixed and the size of the label before actually affixing the created label to the object to be affixed. This makes it possible to adjust the size of the label image, etc., as necessary before printing, thereby reducing the need for rework.
[0048] Furthermore, the information processing device 100 includes an area selection unit 112, and is configured to estimate the magnification of the object to be pasted from the magnification of the area selected by the user on the image, and to calculate the display size of the label image using the estimated projection magnification. In other words, since there is no need to calculate the magnification of the object to be pasted, there is no need for the entire object to be pasted on the image. Therefore, the information processing device 100 can display the label image at an appropriate size even on an image in which the entire object to be pasted is not shown, and can ease restrictions on the background image when using the preview function compared to the conventional technology.
[0049] Furthermore, by including the area selection unit 112, the information processing device 100 can allow the user to freely select the area for calculating the shooting magnification without limiting it to the pasting object. When the pasting object is specified using an image recognition model, the pasting object that can be specified with high accuracy may be limited depending on the image recognition model used, but according to the information processing device 100, it is not necessary to use an image recognition model for specifying the pasting object, and the preview function can be used for any pasting object.
[0050] Furthermore, by having the area selection unit 112 and the size input unit 113, the information processing device 100 does not need to include a subject of a predetermined known size in the image in order to estimate the shooting magnification of the pasting target, as used in, for example, Patent Document 1. In this respect, the information processing device 100 can ease the restrictions on the background image when using the preview function, compared to the conventional technology.
[0051] Furthermore, the information processing device 100 includes a touch panel display 101, which allows the user to perform operations such as area selection and input more intuitively and simply. In particular, when displaying a preview of a label image on an image captured by a camera 102 provided in the information processing device 100, the operation is performed while carrying the information processing device 100 in order to capture an image of an object to be affixed, so that operation using a touch panel is preferable.
[0052] Fig. 6 is an example of a flowchart illustrating a display processing method performed by the information processing device 100. Fig. 7 is an example of an edit screen displayed by the information processing device 100. Each of Figs. 8 to 14 is an example of a preview screen displayed by the information processing device 100. Below, a specific example of the display processing method performed by the information processing device 100 will be described with reference to Figs. 6 to 14.
[0053] The process shown in Fig. 6 is started by processor 110 executing program 121. After program 121 is started, a user operates the editing screen shown in Fig. 7, causing image creation unit 111 to create a label image (step S1). The editing screen is one of the application screens displayed on touch panel display 101, and includes display area R1, display area R2, display area R3, and display area R4.
[0054] Display area R1 contains buttons (button B1, button B2) for switching between the editing screen and a preview screen (described later). Display area R2 is an area that displays the label image, and allows the label image to be edited and its size to be changed. The editing screen shown in FIG. 7 shows an example in which a label image L1 has been created with a print medium size of 18 mm width. Display area R3 is an area for changing the settings of the label image, and allows the user to set vertical or horizontal writing, the frame design, and the margins and character string arrangement. Display area R4 is an area for other settings and printing instructions.
[0055] Thereafter, when button B2 in display area R1 is pressed, processor 110 detects that preview display has been selected (YES in step S2), and causes touch panel display 101 to display a preview screen (step S3). The preview screen is one of the application screens displayed on touch panel display 101, and includes display areas R1, R5, and R4, as shown in Fig. 8. By switching from the editing screen to the preview screen, display area R5 is displayed on touch panel display 101 in place of display areas R2 and R3 used for editing the label image.
[0056] Display area R5 is an area where the label image is displayed, and the label image created on the editing screen is displayed. The preview screen shown in FIG. 8 shows an example where a label image L1 with a print medium size of 18 mm width is displayed. Unlike display areas R2 and R3, the label image cannot be edited in display area R5. However, it is possible to change the size. The size of the label image can be changed by selecting an option related to the print medium size displayed at the top of display area R5 (6 mm, 9 mm, 12 mm, 18 mm, 24 mm in this example).
[0057] Display region R5 includes button B3 indicated by a camera mark. When processor 110 detects that button B3 has been pressed, processor 110 activates image capturing device 150 of information processing device 100 (YES in step S4).
[0058] After starting up the photographing device 150, when the user presses the photographing button while viewing the live image displayed in the display area R5, the processor 110 causes the photographing device 150 to photograph a still image (step S5) and displays the photographed still image in the display area R5 as a background image of the label image L1, thereby superimposing the still image and the label image L1 (step S6).
[0059] 9 shows a state in which a still image and a label image L1 are superimposed on a display area R5. Note that by pressing a button B4 in the display area R5, the display of the background image is stopped, and as a result, the superimposed display is also stopped.
[0060] It is desirable to capture a still image so that the object to which the label is to be affixed (a notebook in this example) is captured, as shown in Fig. 9. The still image may also be captured so that a reference object (a ruler in this example) that serves as a size standard is also captured together with the object to be affixed.
[0061] Next, processor 110 monitors the label size change operation and the area selection operation (steps S7 and S8). For example, when a drag operation of sliding finger F from one position to another position on touch panel display 101 as shown in Fig. 10 is detected, processor 110 determines that an area has been selected (step S8 YES), and displays input area R11 in display area R5 in association with the selected area as shown in Fig. 11 (step S9).
[0062] Thereafter, when the actual size of the area selected in step S8 is entered into input field R11 as shown in FIG. 12 (50 mm in this example), processor 110 detects the input into input field R11 (step S10 YES) and further obtains the size of the printing medium on which the label image will be printed (label size) (step S11).
[0063] Then, the processor 110 performs a magnification calculation to estimate the projection magnification of the pasting target object (step S12). Here, for example, the processor 110 calculates the shooting magnification of the selected area (e.g., 2 pixels / mm) based on the size (number of pixels, e.g., 100 pixels) of the area selected in step S8 on the image and the actual size (e.g., 50 mm) of the area acquired in step S9, and regards the calculated magnification as the projection magnification of the pasting target object.
[0064] Furthermore, processor 110 calculates the display size of the label image (e.g., 36 pixels x 160 pixels) based on the magnification calculated in step S12 (e.g., 2 pixels / mm) and the label size acquired in step S11 (e.g., 18 mm x 80 mm) (step S13), and displays label image L2 at the calculated display size (e.g., 36 pixels x 160 pixels) superimposed on the image (step S14), as shown in Fig. 13. This causes the label image and the object to which it is to be affixed (a notebook in this example) to be displayed enlarged or reduced at the same magnification on the image, making it possible to check the balance between the label image and the object to which it is to be affixed.
[0065] When the superimposed display is performed, processor 110 determines whether or not an end instruction has been input, and if an end instruction has not been input (step S15 NO), repeats the processes from step S7 onwards.
[0066] For example, when a selection of an option related to the size of the print medium displayed at the top of display area R5 (in this example, button B5 for 24 mm) is detected, processor 110 determines that the label size has been changed (YES in step S7) and repeats the processes of steps S11 to S14. As a result, as shown in Fig. 14, label image L3 is displayed in a display size corresponding to the changed label size in display area R5, superimposed on the image.
[0067] Each of Fig. 15 to Fig. 18 is an example of a preview screen displayed by information processing device 100. Modifications of area selection and size input will be described with reference to Fig. 15 to Fig. 18.
[0068] Although the above-mentioned example shows an example in which the user selects an area by specifying two points, the area may be selected by the user by specifying four points. For example, the processor 110 may detect the operation of specifying four points in step S8, determine that an area within a rectangle connecting the four points has been selected, and accept the selection of the area. Note that the operation of specifying the four points may be an operation of first sliding the finger F between the first and second points, then sliding the finger F between the second and third points, and further sliding the finger F between the third and fourth points, as shown in FIG. 15. Alternatively, the operation may be an operation of tapping the four points in order.
[0069] In the above example, the user inputs the size in the input area R11 as a numerical value, but the size input is not limited to this example. For example, the processor 110 may display a list box as the input area R12 as shown in Fig. 16, and detect an input operation in which the user selects one option from two or more options included in the list box. Also, as shown in Fig. 17, the options are not limited to numerical values, but may be standardized size names (in this example, A3, B4, A4, B5, A5, etc.). That is, the size input unit 113 may receive the name of the size standardized as the actual size of the selected area.
[0070] When the size input unit 113 receives the name of a standardized size, the calculation unit 114 may convert the received size name (B5 in this example) into a size in the same unit as the information on the size of the print medium (18 mm in this example, for example) (for example, 182 mm x 257 mm), and calculate the display size of the label image based on the converted information, the number of pixels of the selected area, and the information on the size of the print medium. More specifically, the magnification may be calculated based on the converted information and the number of pixels of the selected area, and the display size of the label image may be calculated based on the calculated magnification and the information on the size of the print medium. In this way, even if the numerical size is unknown and only the name of the standardized size is known, by inputting the name of the standardized size, the label image L4 can be displayed at the same magnification as the object to which it is affixed, as shown in FIG. 18.
[0071] The above-mentioned embodiment shows a specific example to facilitate understanding of the invention, and the present invention is not limited to the above-mentioned embodiment, and should be understood as including various modified forms and alternative forms of the above-mentioned embodiment. For example, it will be understood that the above-mentioned embodiment can be embodied by modifying the components within the scope of the gist. It will also be understood that various embodiments can be implemented by appropriately combining multiple components disclosed in the above-mentioned embodiment. Furthermore, it will be understood by those skilled in the art that various embodiments can be implemented by deleting some components from all the components shown in the embodiment, or by adding some components to the components shown in the embodiment. That is, the above-mentioned information processing device, display processing method, and program can be variously modified and changed within the scope of the claims.
[0072] For example, in the above embodiment, an example was shown in which a rectangular area was selected by specifying four points, but a rectangular area with a diagonal line between the two points may be specified as the selected area by specifying two points. Also, in the above embodiment, an example was shown in which the name of the standardized size was selected from options in a list box, but the name of the standardized size may be input by inputting characters into a text box or the like.
[0073] In addition, in the above-described embodiment, an example was shown in which the information processing device 100 has a camera 102 (imaging device 150), but the information processing device 100 does not need to have a camera 102 (imaging device 150), and a label image may be superimposed on an image captured by a device other than the information processing device 100.
[0074] In addition, in the above-described embodiment, an example was shown in which the information processing device 100 has a touch panel display 101, but the information processing device 100 does not have to have a touch panel display 101, and may be provided with an input device and an output device (display device) separately.
[0075] In addition, in the above-described embodiment, an example was shown in which a label image was superimposed on a still image to prevent fluctuations in shooting magnification and fix the magnification of the image on which the label image is superimposed, but the label image may also be superimposed on a moving image (live image).
[0076] In the above embodiment, the information processing device 100 receives the selection of an area by a user and the input of the actual size of the area in order to estimate the shooting magnification of the pasting target object. However, the information processing device 100 may automatically select the area based on the image. Specifically, the information processing device 100 may identify an object in an image by image recognition processing and select the range of the identified object as the area. The image recognition processing is not particularly limited, but may be performed using, for example, a machine learning model. In addition to selecting the area, the information processing device 100 may automatically obtain the actual size of the selected area. Specifically, the information processing device 100 may obtain the size of an object identified by image recognition processing as the actual size of the area based on a database in which the relationship between the object and the actual size of the object is registered in advance, and may obtain the actual size of the area using a machine learning model that has been trained to output the actual size of the object identified in advance. [Explanation of symbols]
[0077] 1:Printing device 13: Tape 100: Information processing device 101: Touch panel display 102: Camera 110: Processor 111: Image Creation Department 112: Area selection section 113: Size input section 114: Adjustment section 115: Display control unit 120: Storage device 121: Program 122: Data 130: Input / Output device 140:Communication equipment 150: Imaging device L1~L4: Label image R11, R12: Input area
Claims
1. an image creation unit that creates a print image to be printed on a print medium; an area selection unit that accepts a selection of an area on an image of an object to which the print medium is to be pasted; a size input unit that receives an input of an actual size of the area selected by the area selection unit; a calculation unit that calculates a display size of the print image based on information on the size of the print medium, the number of pixels of the area in the image, and information on the actual size of the area received by the size input unit; a display control unit that displays the print image superimposed on the image at the display size calculated by the calculation unit; The information processing device according to the present invention is characterized in that
2. 2. The information processing device according to claim 1, the calculation unit calculates a magnification based on the number of pixels of the region in the image and information on the actual size of the region received by the size input unit, and calculates the display size based on the magnification and information on the size of the printing medium. The information processing device according to the present invention is characterized in that
3. 3. The information processing device according to claim 1, the area selection unit accepts a selection of the area based on an operation of designating a range on a touch panel display on which the image is displayed; The size input unit accepts an input of an actual size of the area based on an input operation into an input area displayed on the touch panel display after the area is selected. The information processing device according to the present invention is characterized in that
4. 3. The information processing device according to claim 1, the size input unit receives a name of a size standardized as an actual size of the area, The calculation unit calculates the display size of the print image based on information on the size of the print medium, the number of pixels of the area in the image, and information obtained by converting the name received by the size input unit into a size in the same unit as the size of the print medium. The information processing device according to the present invention is characterized in that
5. 3. The information processing device according to claim 1, further comprising: a photographing device for photographing the object to be affixed, The image is a still image of the object to be pasted, photographed by the photographing device. The information processing device according to the present invention is characterized in that
6. A display processing method performed by an information processing device, comprising: Creating a print image to be printed on a print medium; Accepting a selection of an area on an image in which an object to which the printing medium is to be attached is photographed; Accepting an input of the actual size of the selected area; Calculating a display size of the print image based on information on the size of the print medium, the number of pixels of the area in the image, and information on the actual size of the area; The print image is displayed superimposed on the image in the calculated display size. A display processing method comprising the steps of:
7. In the information processing device, Creating a print image to be printed on a print medium; Accepting a selection of an area on an image in which an object to which the printing medium is to be attached is photographed; Accepting an input of the actual size of the selected area; Calculating a display size of the print image based on information on the size of the print medium, the number of pixels of the area in the image, and information on the actual size of the area; The print image is displayed superimposed on the image in the calculated display size. A program characterized by executing a process.
Citation Information
Patent Citations
Preview display method and preview display device
JP2017097587A