Projection control device, projection system, projection control method, and program

The projection control device adjusts content layout based on the projection area's shape, addressing visibility issues by optimizing content display for optimal readability.

JP2024147191APending Publication Date: 2024-10-16CASIO COMPUTER CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
JP2023060049
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-03
Publication Date
2024-10-16

AI Technical Summary

Technical Problem

Existing image processing devices project work support information without considering the shape and size of the projection area, leading to difficulty in viewing due to the relative positional relationship with the document.

Method used

A projection control device determines the layout of projected content based on the shape of the projection area, using a 3D camera to detect the plane area and a projector to adjust the content layout for optimal visibility.

Benefits of technology

The projected content is displayed in an easy-to-see manner by adapting to the shape and size of the projection area, ensuring readability and usability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024147191000001_ABST
    Figure 2024147191000001_ABST
Patent Text Reader

Abstract

To project projection content in an easily viewable manner by determining a layout of the projection content to be projected according to the shape of a projection area.SOLUTION: A projection control device 200 disclosed herein comprises a control unit 110 configured to determine a projection area according to image information of a projection surface, and determine a layout of projection content to be projected onto the projection area according to the shape of the determined projection area at least.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a projection control device, a projection system, a projection control method, and a program. [Background technology]

[0002] Systems have been developed that not only project images using a projector, but also project information to assist the user in his or her work, thereby improving the efficiency of the user's work. For example, Patent Document 1 discloses an image processing device that projects work assistance information to assist the user in filling out information using a document, based on the position of the document on an imaging area. [Prior art documents] [Patent documents]

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

[0004] The image processing device disclosed in Patent Document 1 projects work support information while maintaining a relative positional relationship with the document on the imaging area based on position information of the document on the imaging area acquired by a camera, thereby improving the work efficiency of the user. However, since only the relative positional relationship with the document is taken into consideration when projecting the work support information, there is a problem that the work support information may be difficult to see depending on the shape and size of the area where the work support information is projected.

[0005] The present invention has been made in consideration of the above-mentioned situation, and aims to provide a projection control device, projection system, projection control method, and program that can project projection content in an easy-to-view manner by determining the layout of the projection content to be projected in accordance with the shape of the projection area. [Means for solving the problem]

[0006] In order to achieve the above object, one aspect of the projection control device according to the present invention comprises: determining a projection area based on image information of the projection surface; determining a layout of projection contents to be projected onto the projection area in accordance with at least the determined shape of the projection area; It has a control unit. Effect of the Invention

[0007] According to the present invention, the layout of the projection content to be projected is determined in accordance with the shape of the projection area, so that the projection content can be projected in an easily viewable manner. [Brief description of the drawings]

[0008] [Figure 1] 1 is a diagram showing an example of installation of a projection system according to an embodiment; [Diagram 2] FIG. 2 is a diagram showing an example of connections between devices constituting a projection system according to an embodiment; [Diagram 3] FIG. 2 is a diagram illustrating an example of a functional configuration of a projection system according to an embodiment. [Figure 4] FIG. 13 is a diagram showing an example of horizontally elongated projection content. [Diagram 5] FIG. 13 is a diagram showing an example of a vertically elongated projection content. [Figure 6] FIG. 13 is a diagram showing an example of smaller projection content. [Figure 7] FIG. 2 is a diagram for explaining the relationship between a work table, a workpiece, a planar area, and a projection area. [Figure 8] FIG. 13 is a diagram showing an example in which a horizontally elongated projection content is projected onto a vertically elongated projection area. [Figure 9] FIG. 13 is a diagram showing an example in which a vertically elongated projection content is projected onto a vertically elongated projection area. [Figure 10] 4 is a diagram showing an example of a data structure of a projection content in the first embodiment. FIG. [Figure 11] 4 is an example of a flowchart of a projection control process according to the first embodiment. [Figure 12] 4 is an example of a flowchart of a layout extraction process according to the first embodiment. [Figure 13] 4 is an example of a flowchart of a layout determination process according to the first embodiment. [Figure 14] FIG. 11 is a diagram showing an example of a data structure of a projection content according to the second embodiment. [Figure 15] 13 is an example of a flowchart of a projection control process according to the second embodiment. [Figure 16] 13 is an example of a flowchart of a gesture recognition process according to the second embodiment. [Figure 17] 13 is an example of a flowchart of a projection control process according to the third embodiment. [Figure 18] FIG. 13 is a diagram showing an example in which a projection content of text data is projected in a reflow format onto a vertically long projection area. [Figure 19] FIG. 13 is a diagram showing an example in which a projection content of text data is projected in a reflow format onto a horizontally long projection area. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] A projection system and the like according to an embodiment will be described with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals.

[0010] (Embodiment 1) 1, the projection system 100 according to the first embodiment is configured by installing a 3D (Dimensional) camera 240 and a projector 250 on a workbench 300, and a PC (Personal Computer) 210 and a foot switch 131 under the workbench 300. The projection system 100 is a system controlled by the PC 210, which detects a plane on the workbench 300 (an area where no workpiece or user's hands are present) using the 3D camera 240, and projects projection content onto the plane using the projector 250. Therefore, the PC 210 is also called a projection control device.

[0011] As shown in FIG. 2, the projection system 100 is configured by connecting a 3D camera 240 to a PC 210 via a Universal Serial Bus (USB), and connecting a projector 250 to the PC 210 via a High-Definition Multimedia Interface (HDMI) (registered trademark) and a serial cable.

[0012] As shown in Fig. 3, the projection system 100 and the projection control device 200 are functionally configured such that the projection control device 200 includes a control unit 110, a storage unit 120, an operation input unit 130, and an output unit 140, while the projection system 100 includes a detection unit 150 and a projection unit 160 in addition to the above. For example, the PC 210 that constitutes the projection control device 200 corresponds to the control unit 110, the storage unit 120, the operation input unit 130, and the output unit 140, the 3D camera 240 corresponds to the detection unit 150, and the projector 250 corresponds to the projection unit 160. However, which of the devices included in the projection system 100 corresponds to each of these functional components is arbitrary. For example, the projection control device 200 may not correspond to the operation input unit 130 and the output unit 140, and the projector 250 may correspond to the operation input unit 130, the output unit 140, and the projection unit 160.

[0013] The control unit 110 is composed of a processor such as a CPU (Central Processing Unit). The control unit 110 executes processes for realizing various functions of the projection system 100 and projection control processes (described later) using programs stored in the storage unit 120. The control unit 110 also has a timer function and can measure time. The control unit 110 also supports multi-threading and can execute multiple processes in parallel.

[0014] The storage unit 120 stores programs executed by the control unit 110 and necessary data. The storage unit 120 may include, but is not limited to, a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, etc. Note that the storage unit 120 may be provided inside the control unit 110.

[0015] Furthermore, the storage unit 120 stores image data of operation guides as shown in Figures 4, 5, and 6 as projection content information. All of these are examples of operation guides for supporting the operation of connecting a cable (wire) to a terminal, and although the content is the same, multiple layouts are prepared according to the shape of the projection area. For example, Figure 4 shows an example of projection content 351 with a horizontal layout, Figure 5 shows projection content 352 with a vertical layout, and Figure 6 shows projection content 353 with a smaller layout.

[0016] The operation input unit 130 includes a user interface such as a keyboard, a mouse, and the foot switch 131 shown in FIG. 1, and receives operation input from the user.

[0017] The output unit 140 is a device that outputs information such as sound, light, and text, and includes output devices such as a speaker, an LED (Light Emitting Diode), and a display. The output unit 140 is used to output a warning to a user when a problem occurs, such as when the projection unit 160 cannot project the projection content. Since it is sufficient for the output unit 140 to be able to output a warning to a user, it is not necessary for the output unit 140 to include all of the above-mentioned output devices, and it is sufficient for the output unit 140 to include at least one of, for example, a speaker, an LED, and a display.

[0018] The detection unit 150 includes a distance measuring sensor and acquires the state of the top surface of the worktable 300 (information on the three-dimensional positions of multiple points on the top surface). The control unit 110 acquires the information acquired by the detection unit 150 (position information on multiple points on the top surface of the worktable 300) from the detection unit 150, and can detect which parts of the top surface are flat and which parts are not flat (are there unevenness) based on the information acquired from the detection unit 150. Note that in the example shown in FIG. 1, the projection system 100 uses the 3D camera 240 as the detection unit 150, but the detection unit 150 does not have to use the 3D camera 240 as a distance measuring sensor. The detection unit 150 can use any sensor as long as it can acquire information for detecting a flat area.

[0019] The projection unit 160 is a projector 250 (projection device), and includes a light source, a projection device, a lens unit, etc. The type of the light source, projection device, etc. may be arbitrary, but in this embodiment, a DMD (Digital Mirror Device) is used as the projection device. The shape and aspect ratio of the projected image may also be arbitrary, but in this embodiment, it is assumed to be a horizontally long rectangle with an aspect ratio of 16:10.

[0020] After the projection system 100 is installed on the workbench 300 or the like, a calibration process is performed to establish correspondence between the coordinates of the projection unit 160 (DMD coordinates) and the coordinates of the detection unit 150 (camera coordinates).

[0021] The calibration process may be performed in any manner. For example, a checkerboard pattern image is first projected onto the top surface of the workbench 300 by the projection unit 160 (projector 250), and the projected image is captured by the detection unit 150 (3D camera 240). The control unit 110 then obtains a correspondence between the coordinates (camera coordinates) of each intersection in the captured image and the coordinates (DMD coordinates) of each intersection in the original check image. By using this correspondence, the projection system 100 knows what kind of image (image represented by DMD coordinates) should be projected onto a certain area (area represented by camera coordinates) on the workbench 300.

[0022] In this embodiment, the user performs the above-mentioned calibration process after installing the projection system 100, and then places the workpiece 310 on the worktable 300 to start working. During work, as shown in FIG. 7, a planar area 320 where the workpiece 310 does not exist is generated on the worktable 300. The control unit 110 detects the planar area 320 using the detection unit 150, for example, by a detection method described in JP 2014-85940 A. Then, the projection system 100 determines an area obtained by excluding a margin of a specified margin width from the end of the maximum rectangular area inscribed in the planar area 320 (in the example shown in FIG. 7, this rectangular area is the same as the planar area 320) as the projection area 330, and projects the projection content onto this projection area 330.

[0023] Note that the specified margin width can be set in any way, but Fig. 7 shows a case where the horizontal margin width is set to a length h and the vertical margin width is set to a length v. h and v may be set to a constant length (e.g., 5 mm) or may be set to a length according to the size of the planar area (e.g., h is set to 5% of the horizontal length of the planar area, and v is set to 5% of the vertical length, etc.).

[0024] In the present embodiment, the projection content is information (task guide) that supports the user's work, as shown in FIG. 4, for example. Since there is a task guide for each task performed by the user, there are multiple types of task guides (projection content). Even for the same task, it may be better to change the layout to be projected depending on the shape of the area to which the task guide is projected, so multiple layouts are prepared for each task guide (as shown in FIG. 4, FIG. 5, and FIG. 6, for example). Since the shape and position of the planar area 320 change depending on the shape and location of the work object 310 used by the user in the task, the shape (shape and size) of the projection area 330 also changes accordingly. Therefore, the control unit 110 selects and projects the projection content of a layout that matches the shape of the projection area 330 as much as possible.

[0025] For example, as shown in Fig. 8, if a workpiece 310 is present in an area of ​​the left half or more of the workbench 300, the projection area 330 will be a vertically long rectangle, and the control unit 110 will project the projection content into this vertically long projection area 330. If projection content 351 with a horizontal layout is projected, the control unit 110 needs to reduce projection content 351 to fit the width of projection area 330, which results in small characters that are hard to read, as shown in Fig. 8. On the other hand, in the case of projection content 352 with a vertical layout, as shown in Fig. 9, projection content 352 is hardly reduced even when it is adjusted to fit the width of projection area 330, so the characters are not small and are projected in an easy-to-read manner.

[0026] Therefore, the control unit 110 selects a layout of the projection content according to the shape (shape and size) of the projection area 330, and projects it onto the projection area 330. To enable the control unit 110 to select the projection content with a layout that matches the projection area 330, the storage unit 120 stores information on the projection content in a data structure as shown in Fig. 10. That is, as shown in Fig. 10, the projection content information stores a content number (C-No.) indicating the type of projection content (type of work guide), a layout number (L-No.) indicating the type of layout, numerical data such as the size of the layout (numerical data), and image data of each page of the projection content of the layout (image data).

[0027] FIG. 10 shows an example in which the following numerical data is stored: the vertical length (standard vertical length) and horizontal length (standard horizontal length); the upper limit (upper aspect ratio limit) and lower limit (lower aspect ratio limit) of the aspect ratio (vertical magnification ratio ÷ horizontal magnification ratio) when the vertical and horizontal magnification ratios of the image data are changed, respectively; the reduction ratio (minimum reduction ratio) when the image data is reduced the most without changing the aspect ratio, and the magnification ratio (maximum magnification ratio) when the image data is enlarged the most; and the number of pages of the image data (number of pages).

[0028] As shown in Fig. 10, each layout of the projection content is distinguished not only by the amount of information (number of characters, etc.) per page, but also by the shape when projected. Fig. 10 shows an example of the projection content of content number 1 and an example of the projection content of content number 2. Of these, for the projection content of content number 1, examples of the projection content 351 of the horizontal layout number 1 with a large amount of information per page (each page is 13 characters / line x 5 lines, consisting of information for a total of 5 pages), the projection content 352 of the vertical layout number 2 with a large amount of information per page (each page is 7 characters / line x 8 lines, consisting of information for a total of 5 pages), and the projection content 353 of the smaller layout number 3 with a small amount of information per page (each page is 7 characters x 3 lines, consisting of information for a total of 10 pages). In addition, for the projection content of content number 2, an example of projection content 354 is shown for the smaller layout of layout number 1, which has less information per page (each page is 7 characters x 3 lines, for a total of 10 pages of information).

[0029] The process (projection control process) in which the control unit 110 selects and projects the projection content with the optimal layout using such numerical data will be described with reference to Fig. 11. This projection control process is started when the projection unit 160 is ready to project the projection content after the projection system 100 completes the above-mentioned calibration process, or when the user issues an instruction to execute the projection control process from the operation input unit 130.

[0030] First, the control unit 110 sets parameters (content number, layout number, page position, etc. of the projection content) when projecting the projection content (step S101). In this step, the control unit 110 sets the parameters by, for example, having the user input a content number indicating the type of work guide the user wants to project, and initializing the layout number and page position to 1. Also, for example, by setting the content number, layout number, and page position of the projection content that was previously projected, the control unit 110 can project the projection content that was previously projected, allowing the user to easily refer to its continuation.

[0031] Next, control unit 110 acquires image information (three-dimensional information) of the projection surface by detection unit 150, and detects a planar area on the projection surface as a planar area based on the acquired image information (step S102).

[0032] Then, the control unit 110 determines the projection area based on the detected planar area (step S103). The control unit 110 determines the projection area as an area obtained by subtracting a margin of a specified margin width from the edge of the largest rectangular area inscribed in the planar area, for example. Note that the image information acquired in step S102 may include two-dimensional information as long as the control unit 110 can determine the projection area. However, if the image information is three-dimensional information, the control unit 110 can more accurately detect the planar area on the projection surface.

[0033] Next, the control unit 110 executes a layout extraction process to extract a layout that can be projected onto the projection area determined in step S103 from the projection content set in step S101 (step S104). The layout extraction process will be described in detail later.

[0034] Then, the control unit 110 determines whether or not one or more layouts that can be projected onto the projection area have been extracted in the layout extraction process (step S105).

[0035] If no projectable layout is extracted (step S105; No), the control unit 110 notifies the user through the output unit 140 that there is no projection content with a projectable layout in the projection area (step S106), and ends the projection control process. This notification to the user may be performed, for example, by outputting sound from a speaker, by emitting light such as an LED, or by displaying on a display.

[0036] If one or more projectable layouts have been extracted (step S105; Yes), the control unit 110 executes a layout determination process and determines the layout of the projection content according to the projection area from among the layouts extracted in the layout extraction process (step S107). The details of the layout determination process will be described later, but in this process, the projection content of the layout that best fits (is most suitable for) the projection area is determined.

[0037] Next, the control unit 110 projects the projection content of the layout determined in the layout determination process onto the projection area (step S108). At this time, the control unit 110 projects with the magnification and aspect ratio (the vertical length MY and horizontal length MX finally saved in a variable CC described later) used when the layout was determined in the layout determination process. In addition, at the first projection after it is determined in step S110 described later that the planar area has changed and the process returns to step S103, the control unit 110 also performs a process of correcting the page position of the projection content to be projected as necessary.

[0038] Then, the control unit 110 performs the same process as in step S102 to detect a planar area (step S109). Then, the control unit 110 determines whether the planar area detected this time has changed by a predetermined threshold or more from the planar area when the current projection area was set (step S110). If the planar area has changed (step S110; Yes), the process returns to step S103, and the control unit 110 determines the projection area based on the planar area detected in step S109. Note that a change in the planar area refers to a change in the shape, size, position, etc. of the planar area, and in the process of determining whether the planar area has changed by a predetermined threshold or more, it may be determined whether the size of the planar area has changed by a predetermined threshold or more, or it may be determined whether the shape of the planar area (for example, the aspect ratio) has changed by a predetermined threshold or more.

[0039] If the planar area has not changed (step S110; No), the control unit 110 determines whether or not to end the projection (step S111). For example, when the control unit 110 acquires an instruction to end the projection control process via the operation input unit 130, the control unit 110 determines to end the projection.

[0040] If the projection is to be ended (step S111; Yes), the control unit 110 ends the projection control process. If the projection is not to be ended (step S111; No), the control unit 110 determines whether or not to switch the page of the projection content (step S112). For example, when the foot switch 131 is pressed, the control unit 110 switches the page.

[0041] If the page is not to be switched (step S112; No), the process returns to step S109. If the page is to be switched (step S112; Yes), the control unit 110 switches the page of the projection content being projected (step S113) and returns to step S109. Note that the manner in which the input for switching pages is accepted is arbitrary, but the control unit 110, for example, advances the page when it detects that the foot switch 131 has been pressed. Alternatively, the page may be switched by accepting input of, for example, a cursor key from the keyboard of the operation input unit 130, and using the right cursor key to advance the page forward, or using the left cursor key to advance the page backward, etc.

[0042] Next, the layout extraction process executed in step S104 of the projection control process will be described with reference to Fig. 12. Note that in the layout extraction process, an array variable (variable capable of storing multiple values) called an extracted layout list EL is used as a variable for storing the layout number of the extracted layout.

[0043] First, the control unit 110 initializes (empties) the extracted layout list EL in the storage unit 120 (step S201). Next, the control unit 110 initializes a variable i indicating a layout number to 1 (step S202), and initializes a variable j indicating an element number of the EL to 1 (step S203).

[0044] Then, the control unit 110 selects a layout with the layout number indicated by the variable i from among the layouts stored in the storage unit 120 as the projection content with the content number set in step S101 (step S204), and calculates the maximum and minimum sizes of the selected layout (step S205). For example, in the case of the image data shown in C-No.1 and L-No.1 in Fig. 10, the standard length and width are 60x120, the maximum enlargement rate is 200%, and the minimum reduction rate is 50%, so that if the aspect ratio is not changed, the maximum size is 120x240 and the minimum size is 30x60.

[0045] Then, if the upper aspect ratio limit of 1.2 is used to further expand the vertical direction at the maximum size, the result will be 144 x 240. If the lower aspect ratio limit of 0.8 is used to further expand the horizontal direction at the maximum size, the result will be 120 x 300. Conversely, if the lower aspect ratio limit of 0.8 is used to further reduce the vertical direction at the minimum size, the result will be 24 x 60. If the upper aspect ratio limit of 1.2 is used to further reduce the horizontal direction at the minimum size, the result will be 30 x 50. Therefore, the maximum sizes calculated are 144 x 240 and 120 x 300, and the minimum sizes calculated are 24 x 60 and 30 x 50.

[0046] Then, the control unit 110 compares these calculated sizes with the size of the projection area, and determines whether the layout selected in step S204 will fit both vertically and horizontally within the size of the projection area if the layout is adjusted (step S206).

[0047] If the layout selected in step S204 does not fit within the size of the projection area even after resizing (step S206; No), proceed to step S209. On the other hand, if the layout can fit within the size of the projection area after resizing (step S206; Yes), the control unit 110 stores the variable i (the layout number of the layout selected in step S204) in EL[j], which is the j-th element of the extracted layout list EL (step S207), and increments the value of the variable j by 1 (step S208).

[0048] Then, the control unit 110 increments the value of the variable i by 1 (step S209), and determines whether or not the value of the variable i exceeds the number of layouts stored in the storage unit 120 as layouts of the projection content having the content number set in step S101 (step S210). If the value of the variable i does not exceed the number of layouts (step S210; No), the control unit 110 returns to step S204, selects the layout having the next layout number, and repeats the above-mentioned process.

[0049] If the value of the variable i exceeds the number of layouts (step S210; Yes), the control unit 110 determines the layout stored in the extracted layout list EL as the extracted layout (step S211), and ends the layout extraction process.

[0050] Next, the layout determination process executed in step S107 of the projection control process will be described with reference to Fig. 13. In the layout determination process, variables ha and CC are used as variables used to determine the layout. The variable ha is a variable that stores the maximum value of "area of ​​layout ÷ area of ​​projection area" among the layouts selected up to that point in order to determine a layout whose area is as close as possible to the area of ​​the projection area. The variable CC is a variable that stores the layout number and transformation parameters (vertical length MY, horizontal length MX, area MA) of the determined candidate layout. In addition, an extracted layout list EL, which is an array variable that stores the layout numbers of the layouts extracted by the layout extraction process, and a variable i that indicates the element number of the extracted layout list EL are also used.

[0051] First, the control unit 110 initializes a variable ha to 0, initializes a variable CC to UNDEF (undefined), and initializes a variable i indicating an element number of the extraction layout list EL to 1 (step S301).

[0052] Then, the control unit 110 selects the layout having the layout number indicated by the i-th element EL[i] of the extracted layout list EL (step S302).

[0053] Then, the control unit 110 calculates the vertical length, horizontal length and area of ​​the selected layout when it is transformed to fit the vertical length of the projection area or when it is transformed to fit the horizontal length, whichever results in a larger area without going beyond the projection area, and assigns the vertical length to variable MY, the horizontal length to variable MX and the area to variable MA (step S303).

[0054] For example, a case will be described in which the size of the selected layout is 60 vertical x 120 horizontal, the upper and lower aspect ratio limits are both 1.0, the maximum enlargement ratio is 200%, and the size of the projection area is 120 vertical x 180 horizontal. In this case, the layout expanded to 200% in length to match the vertical length of the projection area (so that the vertical length of the expanded layout is the same as the vertical length of the projection area) will be 120 vertical x 240 horizontal, but since the horizontal length exceeds 180 of the projection area, it can only be expanded to a maximum of 150%, and in this case the expanded layout will be 90 vertical x 180 horizontal. Also, the layout expanded to 150% in length to match the horizontal length of the projection area (so that the horizontal length of the expanded layout is the same as the horizontal length of the projection area) will be 90 vertical x 180 horizontal. Therefore, in this example, the maximum size when the layout is transformed will be 90 vertical x 180 horizontal, and 90 is assigned to the variable MY, 180 to the variable MX, and 90 x 180 = 16200 is assigned to the variable MA.

[0055] Next, the control unit 110 assigns a value obtained by dividing the variable MA by the area of ​​the projection region to the variable a (step S304), and determines whether the value of the variable a is greater than the value of the variable ha (step S305). If the value of the variable a is equal to or less than the value of the variable ha (step S305; No), the process proceeds to step S308.

[0056] If the value of the variable a is greater than the value of the variable ha (step S305; Yes), the value of the variable a is substituted for the variable ha (step S306).Then, the variable CC is overwritten and updated by the layout number of the layout currently selected in step S302 and the transformation parameters (vertical length MY, horizontal length MX, area MA) calculated in step S303 (step S307).

[0057] Then, the control unit 110 increments the value of the variable i by 1 (step S308), and determines whether the value of the variable i exceeds the number of layouts extracted in the layout extraction process (the number of elements in the extracted layout list EL) (step S309). If the value of the variable i does not exceed the number of extracted layouts (step S309; ​​No), the control unit 110 returns to step S302, selects the next layout stored in the extracted layout list EL, and repeats the above-mentioned process.

[0058] If the value of variable i exceeds the number of extracted layouts (step S309; ​​Yes), control unit 110 determines the layout stored in variable CC (last overwritten and updated) as the determined layout (step S310), and terminates the layout determination process.

[0059] In the above-described layout determination process, when determining the layout of the projection content to be projected onto the projection area, the control unit 110 determines a layout that can be projected as large as possible within the projection area by modifying the layout of the projection content, but the criteria for determining the layout of the projection content are not limited to this. For example, the layout of the projection content to be projected onto the projection area may be determined to be a layout that fits within the projection area in a standard size state without modifying the layout of the projection content as much as possible, and further has an area that is closest to the area of ​​the projection area among such layouts of the projection content.

[0060] Through the projection control process, layout extraction process, and layout determination process described above, the control unit 110 determines the projection area based on image information of the projection surface, and determines the layout of the projection content according to the shape of the determined projection area, so that the projection content can be projected into the projection area in an easy-to-view manner.

[0061] Furthermore, when the planar area of ​​the projection surface changes, the control unit 110 determines the projection area based on the changed planar area, and changes the layout of the projection content to be projected onto the projection area based on the change in the shape of the projection area. Therefore, even if the shape of the projection area changes, the projection content can be projected onto the projection area in an easy-to-view manner.

[0062] Furthermore, if the image information acquired by the detection unit 150 is three-dimensional information, the control unit 110 can detect planar areas more accurately and determine the projection area based on the more accurate planar area, thereby enabling the projection content to be projected onto the projection area in an easily viewable manner.

[0063] In addition, the control unit 110 determines the layout of the projection content to be projected onto the projection area according to the shape and size of the projection area. That is, the control unit 110 determines the amount of information per page of the projection content according to the size of the projection area. Therefore, if the projection area is small, projection content with a small amount of information per page is selected, so the projected characters and the like do not become small, and can be projected in an easy-to-read manner.

[0064] Furthermore, the control unit 110 determines the projection area as an area obtained by subtracting a margin of a specified margin width from the edge of the largest rectangular area inscribed in the detected planar area. Since the shape of the area projected by the projector 250 is rectangular, by determining the projection area in this manner, the projection content can be projected as large as possible, and an appropriate margin is maintained between the area where the work object or the like is present, so that the projection content can be projected in an easy-to-view manner. Note that the control unit 110 may set the specified margin width to 0 and determine the detected planar area as the projection area. By determining the projection area in this manner, the control unit 110 can project the projection content as large as possible.

[0065] Furthermore, when there is no layout that can be projected in the projection area, the control unit 110 notifies the user of that fact (that there is no projection content of a layout that can be projected in the projection area) via the output unit 140. This allows the user to know that when the projection content is not projected, the flat area is too small to project the projection content.

[0066] Furthermore, since control unit 110 determines the layout of the projection content according to the shape of the projection area, it becomes unnecessary to enlarge / reduce or deform the projection content more than necessary, and the projection content can be projected in an easy-to-view manner.

[0067] (Embodiment 2) In the above-mentioned first embodiment, the projection content is simply projected onto the projection area, and control unit 110 needs to acquire user operations through operation input unit 130. However, since projection system 100 includes detection unit 150, it is also possible for detection unit 150 to acquire user gestures. A second embodiment will be described in which an element (an operation target such as a button) that can input user operations is added to the projection content, and the user can operate the projection area onto which the projection content is projected with a gesture (for example, a gesture of pressing a button).

[0068] In the second embodiment, the projection content includes an operation target. For example, in the example shown in Fig. 14, among the projection content with content number 1, the projection content 361 of the layout with layout number 1 includes, in the image data, a button 371 for going back to the previous page and a button 372 for going forward to the next page, as operation targets. Similarly, the projection content 362 of the layout with layout number 2 also includes, in the image data, a button 371 for going back to the previous page and a button 372 for going forward to the next page, as operation targets. As shown in Fig. 14, the storage unit 120 stores a content number (C-No.) indicating the type of the projection content, a layout number (L-No.) indicating the type of the layout, information such as the size of the layout and the positions of the buttons (numerical function data), and image data (image data) depicting the operation targets in the projection content of the layout.

[0069] 14 shows an example in which the number of buttons, the position of each button, the size of the button, and the function of the button (processing assigned to the button) are stored as the numerical function data in addition to the numerical data similar to that in the embodiment 1. This enables the control unit 110 to execute the process assigned to the gesture (e.g., proceeding to the next page) when the user makes a gesture (e.g., a gesture of pressing a button) on an operation target (e.g., a button) included in the projected projection content.

[0070] In order to have such a gesture recognition function, the projection control process according to the second embodiment is a process in which a gesture recognition process (step S121) is added between steps S110 and S111 of the projection control process (FIG. 11) according to the first embodiment, as shown in Fig. 15. Note that the layout extraction process and layout determination process according to the second embodiment are similar to those of the first embodiment, as shown in Figs. 12 and 13, respectively, and therefore description thereof will be omitted.

[0071] The gesture recognition process executed in step S121 of the projection control process (FIG. 15) according to the second embodiment will be described with reference to FIG.

[0072] First, the control unit 110 photographs the projection area with the detection unit 150 (step S401), and judges whether or not an obstacle is present at the position of the button of the projection content projected on the projection area (step S402). That is, the control unit 110 obtains the X and Y coordinates of the button from the "button position" and "button size" of the numerical function data as shown in Fig. 14, obtains the depth (distance to the obstacle or projection surface in the depth direction) at the X and Y coordinates, and judges whether or not an obstacle is present based on the magnitude of the obtained depth. If no obstacle is present at the button position (step S402; No), the control unit 110 ends the gesture recognition process.

[0073] If an obstacle is present at the position of the button (step S402; Yes), control unit 110 judges whether the button has been pressed (step S403). For example, control unit 110 judges that the button has been pressed when it detects that an obstacle is present on the projected button for a certain period of time (1 second). Control unit 110 may also calculate the distance from detection unit 150 to the obstacle based on the three-dimensional information acquired by detection unit 150, and judge that the button has been pressed if the difference between the calculated distance and the distance from detection unit 150 to the button is less than a predetermined value (for example, 1 cm).

[0074] If no button is pressed (step S403; No), the control unit 110 ends the gesture recognition process. If a button is pressed (step S403; Yes), the control unit 110 executes the process assigned to the pressed button (step S404), and ends the gesture recognition process.

[0075] In the above-mentioned gesture recognition process, the control unit 110 acquires information on the type of the pressed button and the process assigned to the pressed button from the projection content information as shown in Fig. 14 stored in the storage unit 120. Note that if a transformation process such as enlargement / reduction or a change in aspect ratio is performed when projecting the projection content onto the projection area, the position and size of the button will also be changed according to the transformation process. In this case, the control unit 110 determines whether or not the button has been pressed based on information on the position and size of the button after the change.

[0076] In the second embodiment, the information of the projection content stored in the storage unit 120 includes information for recognizing a gesture (gesture recognition information), and the control unit 110 performs gesture recognition processing using this gesture recognition information and the information acquired by the detection unit 150, and can perform processing according to the recognized gesture. Therefore, the projection system according to the second embodiment can not only simply project the projection content onto the projection area, but also improve the operability at that time.

[0077] (Embodiment 3) In the above-mentioned embodiment, the data of the projection content projected in the projection area is image data. Therefore, once the layout of the projection content is determined, it can be slightly modified by enlarging or reducing it or changing the aspect ratio, but it cannot be significantly modified, for example, by changing a vertical layout to a horizontal layout, and it is not possible to change the amount of information displayed on each page. However, if the projection content is text data, it becomes possible to project the text by pouring it into the projection area regardless of the shape of the projection area. A third embodiment in which the projection content is stored as text data rather than image data will be described. Note that an image in which text data is poured into a given area is referred to as a reflow image, and projecting such a reflow image is referred to as "projecting in reflow format."

[0078] In the third embodiment, the projection content is text data, and includes "line break" and "page break" information as necessary. In the third embodiment, the layout of the projection content is determined by being poured into the projection area (i.e., the layout of the projection content is determined by generating a reflow image), so there is no need to prepare multiple layouts for the same projection content as in the first embodiment. In other words, only one piece of text data with layout number 1 may be prepared for each projection content.

[0079] The projection control process according to the third embodiment will be described with reference to Fig. 17. First, the control unit 110 sets parameters (content number of the projection content, text position to be filled into the projection area, etc.) when projecting the projection content (step S501). This step is the same as step S101 in the projection control process (Fig. 11) according to the first embodiment, but since the projection data in the third embodiment is not image data but text data, there is basically no concept of pages. Therefore, in the parameter setting here, a "text position" is set instead of the "page position" in the first embodiment. The text position indicates the position in the text data from which to fill the projection area, and the initial value is 0.

[0080] For example, if the text data is "Connect the blue wire to the blue terminal" and the text position is 0, and the text data of the projection content is poured into the projection area, 10 characters of text data ("Connect the blue wire to the blue terminal") will be poured in. Then, when proceeding to the next page, the text position will be 10 (as the number of characters poured in before is added).

[0081] The processes in the next steps S502 and S503 are similar to those in steps S102 and S103 in the projection control process (FIG. 11) in the first embodiment, and therefore will not be described here. In step S504, the control unit 110 determines whether or not a predetermined number of characters (e.g., 10 characters) or more of text data can be inserted into the projection area determined in step S503. Regarding this determination method, assuming that the size of one character is CX (horizontal) x CY (vertical), the size of the projection area is RX (horizontal) x RY (vertical), and the function that truncates the decimal point of the argument V is INT(V), INT(RX÷CX)×INT(RY÷CY)≧number of characters …(1) If so, it is possible to fit at least a predetermined number of characters of text data into the projection area. Therefore, in step S504, control unit 110 makes a determination based on, for example, the above formula (1).

[0082] If less than the predetermined number of characters can be inserted into the projection area (step S504; No), the control unit 110 notifies the user through the output unit 140 that the projection content cannot be projected because there is no projection area available for projecting the content (step S505), and ends the projection control process. This is because if less than the predetermined number of characters can be inserted into the projection area, there is a high possibility that content that can be understood as meaningful text by the user cannot be projected.

[0083] If the projection area can accommodate a predetermined number of characters or more (step S504; Yes), the control unit 110 generates a reflow image in which the text data is flowed from the current text position into the projection area (area corresponding to the shape and size of the projection area) (step S506). Then, the control unit 110 projects the generated reflow image into the projection area (step S507). The processes from the next steps S508 to S511 are similar to the processes from steps S109 to S112 in the projection control process (FIG. 11) of the first embodiment, and therefore will not be described here. However, if the determination in step S509 is Yes, the process returns to step S503, and if the determination in step S511 is No, the process returns to step S508.

[0084] In step S512, the control unit 110 changes the text position in response to the page switching, and returns to step S506. In changing the text position in step S512, when switching to the next page, the control unit 110 increases the text position by the number of characters (e.g., 10) that were inserted when the currently projected reflow image was generated (e.g., the text position is changed from 0 to 10). In addition, the control unit 110 may store the change history in the storage unit 120 every time the text position is changed forward (to the next page). In this way, when switching to the previous page, the control unit 110 can trace the change history of the text position in the reverse direction.

[0085] By performing such processing, the control unit 110 projects a reflow image in which the text data of the projection content is poured into the projection area, so that the projection content can be projected in an easy-to-view manner according to the shape of the projection area. For example, when a workpiece 310 is present in a form that occupies more than the left half of the workbench 300 as shown in Fig. 18, a vertically long projection area 330 is obtained, but the control unit 110 generates a reflow image in which the text data of the projection content 381 is poured into this projection area and projects it, thereby projecting the reflow format into the projection area 330 as shown in Fig. 18.

[0086] Also, for example, when a workpiece 310 is present on the workbench 300 as shown in FIG. 19, a horizontally elongated projection area 330 is obtained, and the control unit 110 generates a reflow image into which the text data of the projection content 381 is inserted and projects it into the projection area 330 in a reflow format as shown in FIG. 19.

[0087] As can be seen by comparing FIG. 18 and FIG. 19, the projection content 381 to be projected is the same in both cases as text data, "Connect a blue line to the blue terminal [Line break] [Line break] Connect a red line to the red terminal", but since it is projected in a reflow format, the way in which the projection content 381 is projected changes according to the shape of the projection area 330. That is, in the third embodiment, compared to the first and second embodiments, it is not necessary to prepare a type of layout of the projection content in a form that matches the shape of the projection area. Also, in the third embodiment, the control unit 110 generates a reflow image by pouring text data as the projection content into an area corresponding to the shape and size of the projection area, and determines the layout of the projection content by generating the reflow image. Therefore, the projection content can be stored in the storage unit 120 more efficiently. Also, by projecting in a reflow format, the projection content can be flexibly projected according to the area to be projected, so that the projection content can be projected in a more easily viewable manner regardless of the shape of the projection area.

[0088] In addition, when the information on the projection content stored includes not only text data but also information such as character font type, character size, upper and lower character size limits, lower and upper character spacing limits, and lower and upper line spacing limits, the control unit 110 may determine the optimal text data, optimal character size, optimal character spacing, and optimal line spacing taking into account the size of the projection area and this information.

[0089] In the third embodiment, the control unit 110 can project the text data onto the projection area in a reflow format by storing the projection content of text data in the storage unit 120. This allows the characters included in the projection content to be appropriately arranged according to the shape of the projection area, so that the projection system according to the third embodiment can project the projection content in an easy-to-read manner.

[0090] (Modification) In the above embodiment, the projection area is an area obtained by removing a margin of a specified margin width from the edge of the largest rectangular area inscribed in the detected planar area, but the projection area is not limited to such a rectangle and may be set to any shape. For example, depending on the type of work, the planar area may not be close to a rectangle, and the area of ​​the largest rectangular area inscribed in the planar area may become very small. In that case, the control unit 110 may set the projection area to a shape close to the shape of the planar area. The projection area may also be set to a shape with a recess such as a "concave" or a shape with a protrusion such as a "convex".

[0091] (Other variations) The projection system 100 is not limited to a system including the PC 210, the 3D camera 240, and the projector 250, but may be realized as a system including only the projector 250 with a distance measuring function, or as a system including the 3D camera 240 and the projector 250. In the above embodiment, the control unit 110 is described as being included in the PC 210, but for example, the projector 250 may also include the control unit 110, the storage unit 120, the operation input unit 130, and the output unit 140, and the projection system 100 may be entirely controlled by the control unit 110 included in the projector 250. In this case, the control unit 110, the storage unit 120, the operation input unit 130, and the output unit 140 of the projector 250 constitute the projection control device 200, and the light source, the projection device, and the lens unit of the projector 250 constitute the projection unit 160.

[0092] Furthermore, the PC 210 as the projection control device 200 is not limited to a normal PC, but may be any computer that includes a control unit 110, a storage unit 120, an operation input unit 130, and an output unit 140. The projection control device 200 may be, for example, a one-board microcomputer.

[0093] In the above embodiment, the program for the projection control process and the like executed by the control unit 110 has been described as being stored in advance in the storage unit 120. However, the program may be stored in a non-transitory computer-readable recording medium such as a flexible disk, a CD-ROM (Compact Disc Read Only Memory), a DVD (Digital Versatile Disc), an MO (Magneto-Optical disc), a memory card, a USB memory, or the like, and distributed, and the program may be read and installed in a computer to configure a computer capable of executing each of the above-mentioned processes.

[0094] Furthermore, the program may be superimposed on a carrier wave and applied via a communication medium such as the Internet. For example, the program may be distributed by posting it on a bulletin board system (BBS) on a communication network. The program may then be started and executed under the control of an OS (Operating System) in the same manner as other application programs, thereby enabling the above-mentioned processes to be performed.

[0095] In addition, the control unit 110 may be configured by any processor alone, such as a single processor, a multiprocessor, or a multi-core processor, or may be configured by combining any of these processors with a processing circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array).

[0096] Although the above describes a preferred embodiment of the present invention, the present invention is not limited to such a specific embodiment, and the present invention includes the invention described in the claims and its equivalents. [Explanation of symbols]

[0097] 100...projection system, 110...control unit, 120...storage unit, 130...operation input unit, 131...foot switch, 140...output unit, 150...detection unit, 160...projection unit, 200...projection control device, 210...PC, 240...3D camera, 250...projector, 300...workbench, 310...workpiece, 320...planar area, 330...projection area, 351, 352, 353, 354, 361, 362, 381...projection content, 371, 372...button

Claims

1. determining a projection area based on image information of the projection surface; determining a layout of projection contents to be projected onto the projection area in accordance with at least the determined shape of the projection area; A control unit is provided. Projection control device.

2. The control unit changes a layout of the projection content based on the change in the shape of the projection area. The projection control device according to claim 1 .

3. The image information is three-dimensional information, The control unit is Detecting a planar area on the projection plane as a planar area based on the three-dimensional information; determining the projection area based on the detected planar area; The projection control device according to claim 1 .

4. The control unit is determining a layout of the projection content according to a shape and a size of the projection area; determining an amount of information per page of the projection content according to the size of the projection area; The projection control device according to claim 1 .

5. The control unit is The projection area is determined as an area obtained by subtracting a margin of a specified margin width from the edge of the largest rectangular area inscribed in the planar area. The projection control device according to claim 3 .

6. The control unit is If there is no layout that can be projected in the projection area, notify the user of that fact. The projection control device according to claim 1 .

7. the projection content includes information of an object to be operated; The control unit is determining whether an operation has been performed on the operation target; When an operation is performed on the operation target, a process corresponding to the operation on the operation target is executed. The projection control device according to claim 1 .

8. The control unit is generating a reflow image by filling a region corresponding to the shape and size of the projection region with text data as the projection content; determining a layout of the projection content by generating the reflow image; The projection control device according to claim 1 .

9. A projection control device according to any one of claims 1 to 8, A detection unit that detects the image information of the projection surface; a projection unit that projects the projection content on the projection surface in a layout determined by the control unit of the projection control device; Equipped with Projection system.

10. The control unit: determining a projection area based on image information of the projection surface; determining a layout of projection contents to be projected onto the projection area in accordance with at least the determined shape of the projection area; Projection control method.

11. In the control section, determining a projection area based on image information of the projection surface; determining a layout of projection contents to be projected onto the projection area in accordance with at least the determined shape of the projection area; A program that executes a process.

Citation Information

Patent Citations

  • Display device

    JP2004302124A

  • Information presenting apparatus, information presenting method and program

    JP2006189712A

  • Image output device and program

    JP2013165323A

  • Information processing program, information processing method, and information processing apparatus

    JP2014179708A

  • Projection apparatus and program

    JP2014192808A