Three-dimensional measurement equipment, control method of shooting device and related device
By introducing software trigger mode and hardware trigger mode into the 3D measurement equipment, and adding software simulation of hardware trigger mode, the problems of users having difficulty obtaining captured images and low maintenance efficiency are solved, and the flexibility of the equipment and the ease of troubleshooting are realized.
Patent Information
- Application Number
- CN202411194104.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2044-08-28
AI Technical Summary
In hardware mode, existing 3D measurement equipment makes it difficult for users to easily acquire captured images, and troubleshooting requires checking components in multiple modes, resulting in low maintenance efficiency.
A shooting control component for a 3D measurement device was designed, featuring both software and hardware trigger modes. In the hardware trigger mode, a software-simulated hardware trigger function was added, enabling the image capturing component to respond to various trigger signals for shooting. A user interface was also provided for easy mode switching and troubleshooting.
In hardware-triggered mode, users can easily acquire captured images, improving device flexibility and maintenance efficiency while reducing the complexity of troubleshooting.
Smart Images

Figure CN119289890A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of three-dimensional measurement technology, and in particular to a three-dimensional measurement device, a control method for a shooting device and related devices. Background Art
[0002] With the rapid development of mold design, precision machining, product testing, industrial measurement and other fields, two-dimensional image sensor technology can no longer meet the needs of production scenarios. Compared with two-dimensional image sensors, three-dimensional measurement sensors have one more dimension of depth information, and depth itself is not very sensitive to factors such as posture and lighting, so three-dimensional measurement has greater advantages for object recognition and measurement tasks. Therefore, the demand for three-dimensional measurement technology is growing rapidly.
[0003] At present, three-dimensional measurement sensors are mainly divided into contact type and non-contact type. Among them, non-contact type often uses the pre-known geometric relationship between multiple sensors for coordinate measurement, and is more popular due to its advantages such as non-destructive deformation. In addition, the surface structured light technology of three-dimensional measurement equipment has gradually shown its potential for use. The surface structured light technology uses a combination of camera and projector in three-dimensional measurement equipment. The projector projects a stripe pattern with a fixed coding mode onto the object to be measured. After being reflected by the object to be measured, it is captured by the camera to obtain a captured image. The captured image is decoded according to the corresponding decoding algorithm to obtain a phase image, and then the true three-dimensional coordinates of the object are restored according to the phase value of the pre-calibrated position parameters.
[0004] Among them, how to make the three-dimensional measurement equipment more flexible in photographing the object to be inspected, and how to enable the user to obtain the photographed images more easily has become an urgent problem to be solved. Summary of the invention
[0005] The main technical problem solved by the present invention is that when the image capturing component in the three-dimensional measurement device is in hardware mode, as long as the software simulation hardware trigger function is turned on, the image capturing component can also respond to the trigger signal generated by the host computer to take pictures. The technical solution is as follows:
[0006] One or more projection components, wherein the projection components are used to project a preset pattern;
[0007] An image capturing component, which captures images in response to a trigger signal;
[0008] An image processing unit, used for acquiring a measurement image, wherein the measurement image is an image obtained by the image capturing unit after the projection unit projects the preset pattern onto the object to be detected; the image processing unit processes the measurement image to obtain three-dimensional information of the object to be detected;
[0009] A shooting control component, the shooting control component includes a first signal generating unit, a first signal transmission line, a second signal generating unit, a second signal transmission line, an external signal port, a third signal transmission line, a switching unit and a controller; the first signal generating unit is connected to the image shooting component through the first signal transmission line, and is used to generate the trigger signal and transmit it to the image shooting component through the first signal transmission line; the second signal generating unit is connected to the image shooting component through the second signal transmission line, and is used to generate the trigger signal and transmit it to the image shooting component through the second signal transmission line; the external signal port is used to connect an external contact source capable of generating the trigger signal, and the external signal port is connected to the image shooting component through the third signal transmission line; the switching unit is used to switch the first signal transmission line, the second signal transmission line and the third signal transmission line on and off; wherein:
[0010] The shooting control component has a software trigger mode and a hardware trigger mode, and the hardware trigger mode has a software simulation hardware trigger function;
[0011] In the software trigger mode: the switching unit turns on the first signal transmission line and turns off the third signal transmission line; upon receiving a shooting instruction, the controller controls the first signal generating unit to generate the trigger signal to be transmitted to the image capturing component through the turned-on first signal transmission line;
[0012] In the hardware trigger mode: the switching unit turns on the third signal transmission line, the external signal port can receive the trigger signal generated by the external contact source and transmit it to the image capturing component through the turned-on third signal transmission line; if the software simulated hardware trigger function is in the enabled state, the switching unit also turns on the second signal transmission line, and when receiving the shooting instruction, the controller can control the second signal generating unit to generate the trigger signal to transmit it to the image capturing component through the turned-on second signal transmission line; if the software simulated hardware trigger function is in the turned-off state, the switching unit also disconnects the first signal transmission line.
[0013] Optionally, in the software trigger mode: the switching unit also disconnects the second signal transmission line; in the hardware trigger mode: if the software simulation hardware trigger function is in the off state, the switching unit also disconnects the second signal transmission line.
[0014] Optionally, the first signal transmission line and the second signal transmission line are the same signal transmission line;
[0015] In the software trigger mode: the switching unit turns on the same signal transmission line and disconnects the third signal transmission line;
[0016] In the hardware trigger mode: if the software simulated hardware trigger function is in the enabled state, the switching unit turns on the third signal transmission line and the same signal transmission line; if the software simulated hardware trigger function is in the disabled state, the switching unit turns on the third signal transmission line and disconnects the same signal transmission line.
[0017] Optionally, the second signal transmission line and the third signal transmission line are the same signal transmission line;
[0018] In the hardware trigger mode: if the software simulated hardware trigger function is in a closed state, upon receiving a shooting instruction, the controller does not respond to the shooting instruction.
[0019] Optionally, the first signal generating unit and the second signal generating unit are the same signal generating unit; the shooting control component further includes a first port and a second port;
[0020] A trigger signal for the first signal generating unit is outputted through the first port, and a trigger signal for the second signal generating unit is outputted through the second port.
[0021] Optionally, the first port and the second port are the same port.
[0022] The three-dimensional measurement device provided by the present application can at least bring the following beneficial effects: since the shooting control component in the three-dimensional measurement device not only has a software trigger mode and a hardware trigger mode, and the hardware trigger mode also has a software simulation hardware trigger function, therefore, in the hardware trigger mode and when the software simulation hardware trigger function is enabled, the switching unit can not only conduct the third signal transmission line, but also conduct the second signal transmission line, so that even in the hardware trigger mode, the image shooting component can not only respond to the trigger signal generated by the external contact source to shoot, but also respond to the trigger signal generated by the second signal generating unit to shoot, so that no matter in the software trigger mode or in the hardware trigger mode, the user can easily obtain the shot image. In addition, because the software trigger mode corresponds to the first signal transmission line, the software simulation hardware trigger function in the hardware trigger mode corresponds to the second signal transmission line when it is enabled, and the software simulation hardware trigger function in the hardware trigger mode corresponds to the third signal transmission line when it is disabled, so when the three-dimensional measurement device fails, it is only necessary to troubleshoot the components corresponding to the current mode, without troubleshooting the components corresponding to other modes, thereby improving the efficiency of technicians in repairing the three-dimensional measurement device.
[0023] On the other hand, a control method for a camera device is provided, wherein the camera device comprises an external signal port and a communication component, wherein the external signal port is used to connect an external contact source capable of generating a trigger signal, wherein the trigger signal enables the camera device to take a photo; wherein the control method comprises:
[0024] Generate and display a user interface, the user interface including a first shooting button and a second shooting button; the first shooting button can generate a shooting instruction when operated by a user, and the second shooting button can generate a shooting instruction when operated by a user; the user interface also includes a trigger mode setting control and a switch control of a software simulation hardware trigger function; the trigger mode setting control is used for the user to operate to select one of the software trigger mode and the hardware trigger mode to set the shooting mode of the shooting device; the switch control is used for the user to operate to turn on or off the software simulation hardware trigger function;
[0025] In response to a user's operation on the trigger mode setting control, determining a current trigger mode, and sending a corresponding trigger mode setting instruction to the communication component of the photographing device to set the trigger mode of the photographing device to a corresponding trigger mode;
[0026] When the current trigger mode is the software trigger mode:
[0027] Setting the trigger mode of the camera to the software trigger mode so that the camera does not respond to the trigger signal transmitted from the external signal port;
[0028] and generating the shooting instruction in response to the operation of the first shooting button, sending the shooting instruction to the communication component of the shooting device to trigger the shooting device to shoot;
[0029] When the current trigger mode is the hardware trigger mode:
[0030] Setting the trigger mode of the photographing device to the hardware trigger mode enables the photographing device to respond to the trigger signal transmitted from the external signal port to take photos;
[0031] If the software simulation hardware trigger function is turned on, the shooting instruction can also be generated in response to the operation of the second shooting button, and the shooting instruction is sent to the communication component of the shooting device to trigger the shooting device to shoot.
[0032] The technical solution provided by the present application can at least bring the following beneficial effects: by including the first shooting button and the second shooting button in the user interface displayed by the host computer, in the software trigger mode, the shooting device can take a photo after the user clicks the first shooting button, and in the hardware trigger mode and the software simulation hardware trigger function is turned on, the shooting device can take a photo after the user clicks the second shooting button. In this way, even in the hardware mode, the user can easily obtain the captured image, so that in the hardware mode, debugging can be performed according to the captured image, thereby improving the debugging efficiency. Moreover, the trigger mode control can be a drop-down box control, and the switch control can be a check box control located to the right or below the trigger mode setting control or a first selection control and a second selection control. In this way, after the user selects the corresponding mode, the user can also be prompted whether the software simulation hardware trigger function needs to be turned on, thereby making the user interface more practical. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A schematic diagram of the structure of a three-dimensional measurement device provided in an embodiment of the present application;
[0034] Figure 2 is a structural schematic diagram of another three-dimensional measurement device provided in an embodiment of the present application;
[0035] Figure 3 is a structural schematic diagram of another three-dimensional measurement device provided in an embodiment of the present application;
[0036] Figure 4is a structural schematic diagram of another three-dimensional measurement device provided in an embodiment of the present application;
[0037] Figure 5 is a structural schematic diagram of another three-dimensional measurement device provided in an embodiment of the present application;
[0038] Figure 6 A flowchart of a control method for a photographing device provided in an embodiment of the present application;
[0039] Figure 7 A schematic diagram of a user interface provided in an embodiment of the present application;
[0040] Figure 8 A schematic diagram of another user interface provided in an embodiment of the present application;
[0041] Fig. 9 A schematic diagram of another user interface provided in an embodiment of the present application;
[0042] Fig.10 A schematic diagram of another user interface provided in an embodiment of the present application;
[0043] Fig.11 A schematic diagram of another user interface provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.
[0045] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0046] The serial numbers of the components in this document, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings).
[0047] The camera's photo-taking trigger mode mainly includes a software trigger mode and a hardware trigger mode. When the three-dimensional measuring device is in the software trigger mode, the user can issue a shooting command through the host computer to make the three-dimensional measuring device take a photo; when the three-dimensional measuring device is in the software trigger mode, the user cannot make the three-dimensional measuring device take a photo through the host computer, which cannot meet the user's need to easily obtain the captured image. Based on this, an embodiment of the present application provides a three-dimensional measuring device, in which the shooting control component of the three-dimensional measuring device has a software trigger mode and a hardware trigger mode, and the hardware trigger mode also has a software simulation hardware trigger function, thereby, in the hardware trigger mode and when the software simulation hardware trigger function is enabled, the user can also control the three-dimensional measuring device to shoot through the host computer, thereby easily obtaining the captured image.
[0048] Please refer to Figure 1 , Figure 1 1 is a schematic diagram of the structure of a three-dimensional measurement device provided by an embodiment of the present application, wherein the three-dimensional device comprises one or more projection components 1, the projection component 1 is used to project a preset pattern; an image shooting component 2, which shoots in response to a trigger signal; an image processing unit 3, which is used to obtain a measurement image, the measurement image is an image obtained by the image shooting component 2 after the projection component 1 projects the preset pattern on the object to be detected; the image processing unit 3 processes the measurement image to obtain three-dimensional information of the object to be detected; a shooting control component 4, the shooting control component 4 comprises a first signal generating unit 41, a first signal transmission line 42, a second signal generating unit 43, a second signal transmission line 44, an external signal port 45, a third signal transmission line 46, a cut The switching unit 47 and the controller 48; the first signal generating unit 41 is connected to the image capturing component 2 through the first signal transmission line 42, and is used for generating a trigger signal and transmitting it to the image capturing component 2 through the first signal transmission line 42; the second signal generating unit 43 is connected to the image capturing component 2 through the second signal transmission line 44, and is used for generating a trigger signal and transmitting it to the image capturing component 2 through the second signal transmission line 44; the external signal port 45 is used for connecting an external contact source capable of generating a trigger signal, and the external signal port 45 is connected to the image capturing component through a third signal transmission line 46; the switching unit 47 is used for switching the conduction and disconnection of the first signal transmission line 42, the second signal transmission line 44 and the third signal transmission line 46.
[0049] That is to say, the projection component can project a preset pattern onto the object to be detected, so that in the subsequent process, the image processing unit can obtain the three-dimensional information of the object to be detected according to the change of the preset pattern on the object to be detected; the image shooting component can respond to the trigger signal from the shooting control component to shoot the object to be detected, and since the preset pattern is projected on the object to be detected, the image processing unit can obtain the corresponding measurement image; then, the image processing unit can process the measurement image to obtain the three-dimensional information of the object to be detected, thereby, the three-dimensional measurement device completes the three-dimensional measurement of the object to be detected.
[0050] Moreover, since the shooting control component includes a switching unit, and the switching unit is used to switch the conduction and disconnection of the first signal transmission line, the second signal transmission line and the third signal transmission line, therefore, when the switching unit switches the first signal transmission line on, since the first signal generating unit is connected to the image capturing component through the first signal transmission line, after the first signal generating unit generates a trigger signal, the trigger signal can be transmitted to the image capturing component through the first signal transmission line, so that the image capturing component responds to the trigger signal generated by the first signal generating unit to shoot.
[0051] When the switching unit switches the second signal transmission line to be turned on, since the second signal generating unit is connected to the image capturing component through the second signal transmission line, after the second signal generating unit generates a trigger signal, the trigger signal can be transmitted to the image capturing component through the second signal transmission line, so that the image capturing component responds to the trigger signal generated by the second signal generating unit to perform shooting.
[0052] When the switching unit switches the third signal transmission line to be turned on, since the external signal port is connected to the image capturing component through the third signal transmission line, and the external signal port is also connected to the external contact source, after the external contact source generates a trigger signal, the trigger signal can be transmitted to the image capturing component through the third signal transmission line, so that the image capturing component responds to the trigger signal generated by the external contact source to take pictures.
[0053] In some embodiments, the structure of the three-dimensional measurement device can be similar to Figure 2 The structures of the three-dimensional measuring devices shown are the same.
[0054] Among them: the shooting control component 4 has a software trigger mode and a hardware trigger mode, and the hardware trigger mode has a software simulation hardware trigger function; in the software trigger mode: the switching unit 47 conducts the first signal transmission line 42 and disconnects the third signal transmission line 46; when receiving the shooting instruction, the controller 48 controls the first signal generating unit 41 to generate a trigger signal to be transmitted to the image shooting component through the conducted first signal transmission line 42. That is to say, in the software trigger mode, the trigger signal that enables the shooting component to shoot is a signal transmitted through the first signal transmission line.
[0055] In some embodiments, the shooting instruction may be a shooting instruction sent by a host computer. For example, a user interface may be displayed on the host computer, and the user interface includes a shooting button. The user can click the shooting button to enable the host computer to send a shooting instruction to the controller in the shooting control component. After the controller receives the shooting instruction, it can control the first signal generating unit to generate a trigger signal to transmit the trigger signal to the image capturing component through the conductive first signal transmission line.
[0056] It should be noted that the above description is based on the user clicking the shooting button in the user interface displayed on the host computer so that the controller receives the shooting instruction. Alternatively, in the application, the controller can also receive the shooting instruction in other ways, which is not limited to the embodiments of the present application.
[0057] In the hardware trigger mode: the switching unit 47 turns on the third signal transmission line 46, and the external signal port 45 can receive the trigger signal generated by the external contact source and transmit it to the image capturing component 2 through the turned-on third signal transmission line 46; if the software simulation hardware trigger function is in the enabled state, the switching unit 47 also turns on the second signal transmission line 44, and when receiving the shooting instruction, the controller 48 can control the second signal generating unit 43 to generate a trigger signal to transmit it to the image capturing component through the turned-on second signal transmission line 44; if the software simulation hardware trigger function is in the turned-off state, the switching unit 47 also disconnects the first signal transmission line 42.
[0058] It can be seen that in the hardware trigger mode, the trigger signal that enables the shooting component to shoot can be a signal transmitted through the third signal transmission line, that is, the trigger signal is a trigger signal generated by an external contact source. For example, it is assumed that the external contact source is a mechanical arm that can place the object to be detected at a designated position for the three-dimensional measurement device to shoot, and the mechanical arm is connected to the external signal port. In this way, after the mechanical arm puts the object to be detected at the designated position, a trigger signal will be generated, and because the external signal port is connected to the image shooting component through the third signal transmission line, the trigger signal generated by the mechanical arm can transmit the trigger signal generated by itself to the image shooting component, so that the image shooting component shoots the object to be detected that has been placed at the designated position.
[0059] As another example, a technician may configure the external robotic arm so that the robotic arm generates a trigger signal at a certain period, thereby enabling the image capturing component to periodically capture the object to be detected.
[0060] It should be noted that the above description is based on the external contact source being a robotic arm, or, in application, the external contact source may also be other devices or components, and the embodiments of the present application do not limit this.
[0061] Based on the above description, it can be known that the hardware trigger mode has a software simulated hardware trigger function, and in the hardware trigger mode, if the software simulated hardware trigger function is enabled, at this time, in addition to turning on the third signal transmission line, the switching unit can also turn on the second signal transmission line. Thus, the trigger signal transmitted through the second signal transmission line can also enable the image capture component to shoot.
[0062] That is, in the hardware trigger mode, when the software simulation hardware trigger function is turned on, the image capturing component can respond not only to the trigger signal generated by the external contact source, but also to the trigger signal generated by the second signal generating unit.
[0063] In some embodiments, when the software simulation hardware trigger function is turned on, the shooting instruction received by the controller may be a shooting instruction sent by a host computer. For example, a user interface may be displayed on the host computer, and the user interface includes a shooting button. The user clicks the shooting button to enable the host computer to send a shooting instruction to the controller in the shooting control component. After the controller receives the shooting instruction, it may control the second signal generating unit to generate a trigger signal to transmit the trigger signal to the image capturing component through the conductive second signal transmission line.
[0064] Therefore, in the hardware trigger mode, as long as the software simulated hardware trigger mode is enabled, the three-dimensional measurement device can not only receive the trigger signal generated by the external contact source to shoot, but also receive the trigger signal generated by the user clicking the shooting button on the user interface to shoot. Therefore, in the hardware trigger mode, the user can also easily obtain the captured image without switching the trigger mode, and it will not affect the normal operation of the three-dimensional measurement device, which greatly improves the flexibility of the three-dimensional measurement device.
[0065] Continuing with the above description, in the hardware trigger mode, if the software simulated hardware trigger function is in the off state, indicating that the user cannot take pictures by clicking the shooting button on the user interface, then the switching unit also needs to disconnect the first signal transmission line. In other words, at this time, even if the first signal generating unit generates a trigger signal, the trigger signal cannot be transmitted to the image capturing component.
[0066] In some embodiments, in software trigger mode: the switching unit 47 also disconnects the second signal transmission line 44 ; in hardware trigger mode: if the software simulation hardware trigger function is in the off state, the switching unit 47 also disconnects the second signal transmission line 42 .
[0067] That is to say, the first signal transmission line, the second signal transmission line and the third signal transmission line are three different signal transmission lines, and in the software trigger mode, since the image capturing component only needs to respond to the trigger signal generated by the first signal generating unit to perform capturing, the switching unit needs to disconnect the second signal transmission line in addition to turning on the first signal transmission line and disconnecting the third signal transmission line.
[0068] In the hardware trigger mode, since the software simulated hardware trigger function is in the off state, it means that the image capture component only needs to respond to the trigger signal generated by the external contact source to shoot. Therefore, in addition to turning on the third signal transmission line and disconnecting the first signal transmission line, the switching unit also needs to disconnect the second signal transmission line.
[0069] In some embodiments, please refer to Figure 3 , the first signal transmission line 42 and the second signal transmission line 44 are the same signal transmission line; in the software trigger mode: the switching unit 47 turns on this signal transmission line and disconnects the third signal transmission line 46; in the hardware trigger mode: if the software simulation hardware trigger function is enabled, the switching unit 47 turns on the third signal transmission line and turns on this signal transmission line; if the software simulation hardware trigger function is turned off, the switching unit 47 turns on the third signal transmission line and disconnects this signal transmission line.
[0070] If the first signal transmission line and the second signal transmission line are the same signal transmission line, that is, the signal transmission line connecting the first signal generating unit and the image capturing component and the signal transmission line connecting the second signal generating unit and the image capturing component are the same signal transmission line, therefore, in the software trigger mode, the switching unit needs to turn on this signal transmission line, and also disconnect the third signal transmission line that transmits the trigger signal generated by the external contact source, so that the image capturing component can respond to the trigger signal generated by the first signal unit to shoot.
[0071] Continuing with the above description, in the hardware trigger mode, if the software simulated hardware trigger function is enabled, then the signal switching unit needs to turn on this signal transmission line in addition to the third signal transmission line, so that the trigger signal generated by the second signal generating unit can be transmitted to the image capturing component through the signal transmission line, so that the image capturing component can not only shoot in response to the trigger signal generated by the external contact source, but also shoot in response to the trigger signal generated by the second signal generating unit.
[0072] In the hardware trigger mode, if the software simulated hardware trigger function is in the off state, then the signal switching unit only needs to turn on the third signal transmission line without turning on this signal transmission line. At this time, the image component can only shoot in response to the trigger signal generated by the external contact source, but cannot shoot in response to the trigger signal generated by the first signal generating unit or the second signal generating unit.
[0073] In addition, in some embodiments, please refer to Figure 4 , the second signal transmission line 44 and the third signal transmission line 46 are the same signal transmission line; in the hardware trigger mode: if the software simulation hardware trigger function is in the off state, when receiving a shooting instruction, the controller 48 does not respond to the shooting instruction.
[0074] If the second signal transmission line and the third signal transmission line are the same transmission line, that is, the signal transmission line connecting the external signal port and the image capturing component and the signal transmission line connecting the second signal generating unit and the image capturing component are the same signal transmission line, therefore, in the hardware trigger mode, no matter the trigger signal is generated by an external contact or by the second signal generating unit, it can only be transmitted to the image capturing component through one signal transmission line.
[0075] Therefore, when the second signal transmission line and the third signal transmission line are the same signal transmission, and in the hardware trigger mode, if the software simulation hardware trigger function is in the off state, it means that the user cannot make the three-dimensional measurement device take pictures by clicking the shooting button on the user interface displayed by the host computer. Therefore, when receiving the shooting instruction, the controller will not respond to the shooting instruction, and thus cannot control the second signal generating unit to generate a trigger signal. At this time, the signal transmitted on the signal transmission line is only the trigger signal generated by the external contact source.
[0076] Continuing with the above description, in the hardware trigger mode, if the software simulated hardware trigger function is enabled, it means that the user can enable the three-dimensional measurement device to take pictures by clicking the shooting button on the user interface displayed by the host computer. Therefore, when receiving the shooting instruction, the controller can respond to the shooting instruction, and then control the second signal generating unit to generate a trigger signal. At this time, the signal transmitted in the signal transmission line includes not only the trigger signal generated by the external contact source, but also the trigger signal generated by the second signal generating unit.
[0077] In addition, in some embodiments, since the trigger signal generated by the second signal generating unit and the trigger signal generated by the external contact source are transmitted through the same signal transmission line, in order to enable the image capturing component to distinguish whether the currently received trigger signal is generated by the second signal generating unit or by the external contact source, generation information can be carried in the trigger signal, and the generation information is used to indicate the generation source of the trigger signal.
[0078] For example, when the second signal generating unit generates a trigger signal, the generated trigger signal can carry the generation information, so that after the trigger signal is transmitted to the image capturing component through the signal transmission line, the image capturing component can also know that the trigger signal is generated by the second signal generating unit; similarly, when an external contact generates a trigger signal, the generated trigger signal can also carry the generation information, so that after the trigger signal is transmitted to the image capturing component through the signal transmission line, the image capturing component can know that the trigger signal is generated by the external contact.
[0079] It should be noted that the above description is based on the fact that when the second signal generating unit or the external contact source generates a trigger signal, the generated trigger signal carries the generation information, so that the image capturing component can distinguish whether the current trigger signal is generated by the second signal generating unit or the external contact source. Alternatively, in the application, the source of the trigger signal can also be distinguished by other methods, and the embodiments of the present application do not limit this.
[0080] In some embodiments, please refer to Figure 5, the first signal generating unit 41 and the second signal generating unit 43 are the same signal generating unit; the shooting control component 4 also includes a first port 491 and a second port 492; the trigger signal used as the first signal generating unit 41 is output through the first port 491, and the trigger signal used as the second signal generating unit 43 is output through the second port 492.
[0081] Since the first signal generating unit and the second signal generating unit are the same signal generating unit, that is, in the software trigger mode and in the hardware trigger mode and when the software simulation hardware trigger function is enabled, the trigger signal is generated by the same signal generating unit. However, in order to distinguish the trigger signals in different modes, the shooting control component may also include a first port and a second port. The signal generating unit may output a trigger signal used as the first signal generating unit through the first port, that is, the signal generating unit may output a trigger signal corresponding to the software trigger mode through the first port; the signal generating unit may output a trigger signal used as the second signal generating unit through the second port, that is, the signal generating unit may output a trigger signal corresponding to the hardware trigger mode and the software simulation hardware trigger function is enabled through the second port.
[0082] In addition, in some embodiments, the first port 491 and the second port 492 are the same port. That is, the trigger signal corresponding to the software trigger mode and the trigger signal corresponding to the hardware trigger mode with the software simulating hardware trigger function enabled can be output by the same port.
[0083] In an embodiment of the present application, a three-dimensional measuring device is provided, in which a shooting control component has not only a software trigger mode and a hardware trigger mode, but also a software simulated hardware trigger function in the hardware trigger mode, so that in the hardware trigger mode and when the software simulated hardware trigger function is enabled, the switching unit can not only conduct the third signal transmission line, but also conduct the second signal transmission line, so that even in the hardware trigger mode, the image shooting component can not only shoot in response to the trigger signal generated by the external contact source, but also shoot in response to the trigger signal generated by the second signal generating unit, so that the user can easily obtain the shot image in both the software trigger mode and the hardware trigger mode. In addition, because the software trigger mode corresponds to the first signal transmission line, the software simulated hardware trigger function in the hardware trigger mode corresponds to the second signal transmission line when the hardware trigger mode is enabled, and the software simulated hardware trigger function in the hardware trigger mode corresponds to the third signal transmission line when the hardware trigger mode is disabled, when the three-dimensional measuring device fails, it is only necessary to troubleshoot the components corresponding to the current mode, without troubleshooting the components corresponding to other modes, thereby improving the efficiency of technicians in repairing the three-dimensional measuring device.
[0084] Next, the control method of the shooting device provided in the embodiment of the present application is explained in detail.
[0085] Figure 6 This is a flow chart of a control method for a camera provided by an embodiment of the present application. The camera includes an external signal port and a communication component. The external signal port is used to connect to an external contact source that can generate a trigger signal. The trigger signal can enable the camera to shoot. The method is applied to a host computer. Please refer to Figure 6 , the method comprises the following steps.
[0086] Step 601: Generate and display a user interface, which includes a first shooting button and a second shooting button; the first shooting button can generate a shooting instruction when operated by the user, and the second shooting button can generate a shooting instruction when operated by the user; the user interface also includes a trigger mode setting control and a switch control for software simulation of hardware trigger function; the trigger mode setting control is used for the user to operate to select one of the software trigger mode and the hardware trigger mode to set the shooting mode of the shooting device; the switch control is used for the user to operate to turn on or off the software simulation of hardware trigger function.
[0087] Please refer to Figure 7 , Figure 7 is a schematic diagram of a user interface provided in an embodiment of the present application, from Figure 7 It can be seen that the user interface includes a first shooting button and a second shooting button. The first shooting button can generate a shooting instruction when the user clicks it, and similarly, the second shooting button can also generate a shooting instruction when the user clicks it. The shooting instructions generated by the first shooting button and the second shooting button can both enable the camera to shoot.
[0088] Moreover, from Figure 7 It can also be seen that the user interface also includes a trigger mode setting control and a switch control for a software simulated hard trigger function, wherein the user can operate the trigger mode setting control to set the shooting mode of the shooting device to a software trigger mode or a hardware trigger mode. Since the hardware trigger mode also has a software simulated hardware trigger function, in the hardware trigger mode, the user can also turn on or off the software simulated hardware trigger function by clicking on the switch control.
[0089] In addition, in some embodiments, please refer to Figure 7 The user interface may further include a captured image display panel, so that in a subsequent process, after the device is used to shoot, the captured image may be displayed on the captured image display panel.
[0090] Step 602: In response to the user's operation on the trigger mode setting control, determine the current trigger mode, and send the corresponding trigger mode setting instruction to the communication component of the shooting device to set the trigger mode of the shooting device to the corresponding trigger mode.
[0091] In some embodiments, after the user operates the trigger mode setting control on the user interface, the host computer may also determine the current trigger mode in response to the user's operation on the trigger mode setting control. That is, if the user operates the trigger mode setting control, and the operation is to select the software trigger mode as the shooting mode of the shooting device, then the current trigger mode is determined to be the software trigger mode; if the user operates the trigger mode setting control, and the operation is to select the hardware trigger mode as the shooting mode of the shooting device, then the current trigger mode is determined to be the hardware trigger mode.
[0092] After determining the current trigger mode, the corresponding trigger mode setting instruction is also sent to the communication component of the shooting device to set the trigger mode of the shooting device to the corresponding trigger mode. For example, after determining that the current trigger mode is the software trigger mode, the host computer can also send a first trigger mode setting instruction to the communication component of the shooting device, and since the first trigger mode setting instruction is used to instruct the user to select the software trigger mode as the shooting mode of the shooting device, the shooting device will set its own trigger mode to the software trigger mode according to the first trigger mode setting instruction. For another example, after determining that the current trigger mode is the hardware trigger mode, the host computer can also send a second trigger mode setting instruction to the communication component of the shooting device, and since the second trigger mode setting instruction is used to instruct the user to select the hardware trigger mode as the shooting mode of the shooting device, the shooting device will set its own trigger mode to the hardware trigger mode according to the second trigger mode setting instruction.
[0093] In some embodiments, when the current trigger mode is a software trigger mode: the trigger mode of the shooting device is set to a software trigger mode so that the shooting device does not respond to a trigger signal transmitted from an external signal port; and in response to an operation on a first shooting button, a shooting instruction is generated, and the shooting instruction is sent to a communication component of the shooting device to trigger the shooting device to shoot.
[0094] That is to say, in the software trigger mode, the camera will not respond to the trigger signal transmitted from the external signal port, that is, even if the camera receives the trigger signal transmitted from the external signal port, it will not shoot. However, in the software trigger mode, the host computer will generate a shooting instruction in response to the user's click operation on the first shooting button, and send the shooting instruction to the communication component of the camera, and the camera will shoot after receiving the shooting instruction. It can be seen that in the software trigger mode, the user can click the first shooting button in the user interface displayed by the host computer to make the camera shoot.
[0095] In some embodiments, when the current trigger mode is the hardware trigger mode: the trigger mode of the shooting device is set to the hardware trigger mode so that the shooting device can shoot in response to the trigger signal transmitted from the external signal port; if the software simulation hardware trigger function is turned on, it can also generate a shooting instruction in response to the operation of the second shooting button, and send the shooting instruction to the communication component of the shooting device to trigger the shooting device to shoot.
[0096] That is to say, in the hardware trigger mode, the camera will shoot in response to the trigger signal transmitted from the external signal port, and the external signal port is used to transmit the trigger signal generated by the external contact source (such as a robotic arm). However, in the hardware trigger mode, even if the camera receives a shooting instruction generated based on the first shooting button, it will not trigger the camera to shoot. It can be seen that in the hardware trigger mode, the user cannot click the first shooting button in the user interface displayed by the host computer to make the camera shoot.
[0097] In the hardware trigger mode, if the software simulation hardware trigger function is turned on, the host computer can generate a shooting instruction in response to the user's click operation on the second shooting button, and send the shooting instruction to the communication component of the shooting device. After the shooting device receives this shooting instruction, it will shoot. In other words, even in the hardware trigger mode, as long as the software simulation hardware trigger function is turned on, the user can click the second shooting button in the user interface displayed by the host computer to make the shooting device shoot, thereby easily acquiring the captured image without switching the hardware trigger mode to the software trigger mode.
[0098] In addition, in some embodiments, when the current trigger mode is the hardware trigger mode, it is also possible to determine whether the current software simulation hardware trigger function is turned on in response to the user's operation on the switch control; if the current software simulation hardware trigger function is turned on, a first switch instruction is sent to the communication component of the shooting device to turn on the software simulation hardware trigger function of the shooting device; if the current software simulation hardware trigger function is turned off, a second switch instruction is sent to the communication component of the shooting device to turn off the software simulation hardware trigger function of the shooting device.
[0099] It should be noted that the above is explained by sending a first switch instruction when the software simulation hardware trigger function is turned on, and sending a second switch instruction when the software simulation hardware trigger function is turned off, so as to turn on or off the software simulation hardware trigger function of the shooting device. Alternatively, in actual applications, it is also possible to send a function-on instruction when the software simulation hardware trigger function is turned on, and send a function-off instruction when the software simulation hardware trigger function is turned off, so that the shooting device turns on or off the software simulation hardware trigger function, or it can be done in other ways, and the embodiments of the present application are not limited to this.
[0100] In some embodiments, in the hardware trigger mode, the first shooting button of the user interface is in an invalid state, and the first shooting button in the invalid state cannot generate a shooting instruction when operated by the user; the method also includes: in the hardware trigger mode, no response is given to the operation of the first shooting button.
[0101] That is to say, in the hardware trigger mode, since the first shooting button of the user interface is in an invalid state, after the user clicks the first shooting button, the host computer will not respond to the click operation, and thus cannot generate a shooting instruction. That is, the user cannot make the shooting device take pictures by clicking the first shooting button.
[0102] In some embodiments, in hardware trigger mode and when the software simulation hardware trigger function is turned off, the second shooting button of the user interface is in an invalid state, and the second shooting button in the invalid state cannot generate a shooting instruction when operated by the user; the method also includes: in hardware trigger mode and when the software simulation hardware trigger function is turned off, no response is given to the operation of the second shooting button.
[0103] Similar to the above-mentioned situation where the first shooting button is in an invalid state, in the hardware trigger mode and the software simulation hardware trigger function is turned off, since the second shooting button is in an invalid state, after the user clicks the second shooting button, the host computer will not respond to the click operation, and thus cannot generate a shooting instruction. In other words, the user cannot make the shooting device take a picture by clicking the first shooting button.
[0104] In some embodiments, the first shooting button and the second shooting button are the same shooting button, and the method further includes: when the current trigger mode is the software trigger mode, in response to the operation of the shooting button, generating a shooting instruction used as the first shooting button; when the current trigger mode is the hardware trigger mode and the software simulation hardware trigger function is turned on, in response to the operation of the shooting button, generating a shooting instruction used as the second shooting button.
[0105] like Figure 8 As shown, Figure 8 is a schematic diagram of another user interface provided in an embodiment of the present application, from Figure 8 It can be seen that in the user interface, there is only one shooting button, that is, the first shooting button and the second shooting button are the same shooting button. Based on the above description, it can be seen that the first shooting button is the shooting button corresponding to the software trigger, and the second shooting button is the button corresponding to the hardware trigger mode and the software simulates the hardware trigger function when it is turned on.
[0106] Therefore, when the current trigger mode is the software trigger mode, the host computer can also respond to the user's click operation on the shooting button and generate a shooting instruction used as the first shooting button, that is, in the software trigger mode, the shooting button is equivalent to the first shooting button, and the shooting instruction generated after the user clicks the shooting button is the same as the shooting instruction generated after clicking the first shooting button; when the current trigger mode is the hardware trigger mode and the software simulation hardware trigger function is turned on, the host computer can also respond to the user's click operation on the shooting button and generate a shooting instruction used as the second shooting button, that is, in the current mode, the shooting button is equivalent to the second shooting button, and the shooting instruction generated after the user clicks the shooting button is the same as the shooting instruction generated after clicking the second shooting button.
[0107] In some embodiments, the trigger mode setting control is Fig. 9 The controls, from Fig. 9 It can be seen that the trigger mode setting control is a drop-down box control, so the specific implementation process of determining the current trigger mode is: in response to the user's click operation on the drop-down box control, a drop-down menu is displayed, and the drop-down menu includes a software trigger mode option and a hardware trigger mode option; in response to the user's click operation on the software trigger mode option, the current trigger mode is determined to be the software trigger mode; or in response to the user's click operation on the hardware trigger mode option, the current trigger mode is determined to be the hardware trigger mode.
[0108] It should be noted that the above description is based on the trigger mode setting control being a drop-down box control, or, in an application, the trigger mode setting control may also include a selection box for a software trigger mode and a selection box for a hardware trigger mode, so that a user can select a software trigger mode or a hardware trigger mode as the shooting mode of the shooting device. In other words, the embodiment of the present application does not limit the form of the trigger mode setting control.
[0109] In some embodiments, the switch control may be as follows: Fig.10 The controls shown, from Fig.10 It can be seen that the switch control is a check box control located to the right or below the trigger mode setting control (the lower part is taken as an example in the figure). Then, the implementation process of determining whether the current software simulation hardware trigger function is turned on is: in response to the user's check operation on the check box control, it is determined that the current software simulation hardware trigger function is turned on; otherwise, it is determined that the software simulation hardware trigger function is turned off.
[0110] That is to say, when the switch control is a check box control located to the right or below the trigger mode setting control, if the user checks the check box control, it is determined that the current software simulation hardware trigger function is turned on; if the user does not check the check box control, it is determined that the current software simulation hardware trigger function is not turned on.
[0111] In addition, in some embodiments, the switch control can be as follows: Fig.11 The controls shown, from Fig.11 It can be seen that the switch control is the first selection control and the second selection control (the lower part is taken as an example in the figure) located on the right side or below the trigger mode setting control, and the two selection controls are associated so that when one is selected, the other is not selected. Then, the implementation process of determining whether the current software simulation hardware trigger function is turned on is: in response to the user's click operation on the first selection control, determining that the current software simulation hardware trigger function is turned on; or in response to the user's click operation on the second selection control, determining that the current software simulation hardware trigger function is turned off.
[0112] from Fig.11 It can be seen that the first selection control indicates that the software simulation hardware trigger function is turned on, and the second selection control indicates that the software simulation hardware trigger function is turned off. Since the above two selection controls are associated, when one is selected, the other is not selected. Therefore, after the user selects the first selection control, the second selection control will not be selected; after the user selects the second selection control, the first selection control will not be selected. In this way, whether the current software simulation hardware trigger function is turned on can be determined by the user clicking the first selection control or the second selection control.
[0113] It should be noted that the above description is based on the switch control being a check box control or a first selection control and a second selection control located to the right or below the trigger mode setting control. Alternatively, in actual applications, the switch control can also be configured on the user interface in other forms, and the embodiments of the present application are not limited to this.
[0114] The embodiment of the present application includes a first shooting button and a second shooting button in the user interface displayed by the host computer. In the software trigger mode, the shooting device can take a photo after the user clicks the first shooting button. In the hardware trigger mode and when the software simulation hardware trigger function is turned on, the shooting device can take a photo after the user clicks the second shooting button. In this way, even in the hardware mode, the user can easily obtain the captured image, so that in the hardware mode, debugging can be performed based on the captured image, thereby improving the debugging efficiency. Moreover, the trigger mode control can be a drop-down box control, and the switch control can be a check box control located to the right or below the trigger mode setting control or a first selection control and a second selection control. In this way, after the user selects the corresponding mode, the user can also be prompted whether the software simulation hardware trigger function needs to be turned on, thereby making the user interface more practical.
[0115] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.
[0116] The above specific examples are used to illustrate the present invention, which are only used to help understand the present invention and are not used to limit the present invention. For those skilled in the art to which the present invention belongs, some simple deductions, modifications or substitutions can be made according to the idea of the present invention.
Claims
1. A three-dimensional measuring device, characterized in that: include: One or more projection components, wherein the projection components are used to project a preset pattern; An image capturing component, which captures images in response to a trigger signal; An image processing unit, used for acquiring a measurement image, wherein the measurement image is an image obtained by the image capturing unit after the projection unit projects the preset pattern onto the object to be detected; the image processing unit processes the measurement image to obtain three-dimensional information of the object to be detected; A shooting control component, the shooting control component includes a first signal generating unit, a first signal transmission line, a second signal generating unit, a second signal transmission line, an external signal port, a third signal transmission line, a switching unit and a controller; the first signal generating unit is connected to the image shooting component through the first signal transmission line, and is used to generate the trigger signal and transmit it to the image shooting component through the first signal transmission line; The second signal generating unit is connected to the image capturing component through the second signal transmission line, and is used to generate the trigger signal and transmit it to the image capturing component through the second signal transmission line; the external signal port is used to connect an external contact source capable of generating the trigger signal, and the external signal port is connected to the image capturing component through the third signal transmission line; the switching unit is used to switch the first signal transmission line, the second signal transmission line and the third signal transmission line on and off; wherein: The shooting control component has a software trigger mode and a hardware trigger mode, and the hardware trigger mode has a software simulation hardware trigger function; In the software trigger mode: the switching unit turns on the first signal transmission line and turns off the third signal transmission line; upon receiving a shooting instruction, the controller controls the first signal generating unit to generate the trigger signal to be transmitted to the image capturing component through the turned-on first signal transmission line; In the hardware trigger mode: the switching unit turns on the third signal transmission line, the external signal port can receive the trigger signal generated by the external contact source and transmit it to the image capturing component through the turned-on third signal transmission line; if the software simulated hardware trigger function is in the enabled state, the switching unit also turns on the second signal transmission line, and when receiving the shooting instruction, the controller can control the second signal generating unit to generate the trigger signal to transmit it to the image capturing component through the turned-on second signal transmission line; if the software simulated hardware trigger function is in the turned-off state, the switching unit also disconnects the first signal transmission line.
2. The three-dimensional measuring device according to claim 1, characterized in that: In the software trigger mode: the switching unit also disconnects the second signal transmission line; in the hardware trigger mode: if the software simulation hardware trigger function is in the off state, the switching unit also disconnects the second signal transmission line.
3. The three-dimensional measuring device according to claim 1, characterized in that: The first signal transmission line and the second signal transmission line are the same signal transmission line; In the software trigger mode: the switching unit turns on the same signal transmission line and disconnects the third signal transmission line; In the hardware trigger mode: if the software simulated hardware trigger function is in the enabled state, the switching unit turns on the third signal transmission line and the same signal transmission line; if the software simulated hardware trigger function is in the disabled state, the switching unit turns on the third signal transmission line and disconnects the same signal transmission line.
4. The three-dimensional measuring device according to claim 1, characterized in that: The second signal transmission line and the third signal transmission line are the same signal transmission line; In the hardware trigger mode: if the software simulated hardware trigger function is in a closed state, upon receiving a shooting instruction, the controller does not respond to the shooting instruction.
5. The three-dimensional measuring device according to claim 1, characterized in that: The first signal generating unit and the second signal generating unit are the same signal generating unit; the shooting control component further includes a first port and a second port; A trigger signal for the first signal generating unit is outputted through the first port, and a trigger signal for the second signal generating unit is outputted through the second port.
6. The three-dimensional measuring device according to claim 5, characterized in that: The first port and the second port are the same port.
7. A control method for a photographing device, the photographing device comprising an external signal port and a communication component, the external signal port being used to connect to an external contact source capable of generating a trigger signal, the trigger signal enabling the photographing device to take a photograph; characterized in that: The control method comprises: Generate and display a user interface, the user interface including a first shooting button and a second shooting button; the first shooting button can generate a shooting instruction when operated by a user, and the second shooting button can generate a shooting instruction when operated by a user; the user interface also includes a trigger mode setting control and a switch control of a software simulation hardware trigger function; the trigger mode setting control is used for the user to operate to select one of the software trigger mode and the hardware trigger mode to set the shooting mode of the shooting device; the switch control is used for the user to operate to turn on or off the software simulation hardware trigger function; In response to a user's operation on the trigger mode setting control, determining a current trigger mode, and sending a corresponding trigger mode setting instruction to the communication component of the photographing device to set the trigger mode of the photographing device to a corresponding trigger mode; When the current trigger mode is the software trigger mode: Setting the trigger mode of the camera to the software trigger mode so that the camera does not respond to the trigger signal transmitted from the external signal port; In the current trigger mode, in response to the operation of the first shooting button, the shooting instruction is generated, and the shooting instruction is sent to the communication component of the shooting device to trigger the shooting device to shoot; When the current trigger mode is the hardware trigger mode: Setting the trigger mode of the photographing device to the hardware trigger mode enables the photographing device to respond to the trigger signal transmitted from the external signal port to take photos; If the software simulation hardware trigger function is turned on, the shooting instruction can also be generated in response to the operation of the second shooting button, and the shooting instruction is sent to the communication component of the shooting device to trigger the shooting device to shoot.
8. The method according to claim 7, characterized in that When the current trigger mode is the hardware trigger mode, the method further includes: In response to a user's operation on the switch control, determining whether the software simulation hardware trigger function is currently turned on; If the software simulation hardware trigger function is currently turned on, sending a first switch instruction to the communication component of the shooting device to turn on the software simulation hardware trigger function of the shooting device; If the software simulation hardware trigger function is currently turned off, a second switch instruction is sent to the communication component of the shooting device to turn off the software simulation hardware trigger function of the shooting device.
9. The method according to claim 7, characterized in that In the hardware trigger mode, the first shooting button of the user interface is in an invalid state, and the first shooting button in the invalid state cannot generate the shooting instruction when operated by the user; The method further comprises: In the hardware trigger mode, no response is given to the operation of the first shooting button.
10. The method according to claim 7, characterized in that In the hardware trigger mode, when the software simulated hardware trigger function is turned off, the second shooting button of the user interface is in an invalid state, and the second shooting button in the invalid state cannot generate the shooting instruction when operated by the user; The method further comprises: In the hardware trigger mode, when the software simulation hardware trigger function is disabled, no response is made to the operation of the second shooting button.
11. The method according to claim 7, characterized in that The first shooting button and the second shooting button are the same shooting button, and the method further includes: When the current trigger mode is the software trigger mode, in response to the operation of the shooting button, generating a shooting instruction used as the first shooting button; When the current trigger mode is the hardware trigger mode and the software simulation hardware trigger function is turned on, a shooting instruction used as the second shooting button is generated in response to the operation of the shooting button.
12. The method according to claim 7, characterized in that The trigger mode setting control is a drop-down box control, and the determining of the current trigger mode in response to the user's operation on the trigger mode setting control includes: In response to a user clicking operation on the drop-down box control, a drop-down menu is displayed, wherein the drop-down menu includes a software trigger mode option and the hardware trigger mode option; In response to a user clicking operation on the software trigger mode option, determining that the current trigger mode is the software trigger mode; or In response to a user clicking operation on the hardware trigger mode option, a current trigger mode is determined to be the hardware trigger mode.
13. The method according to claim 8, characterized in that The switch control is a check box control located on the right or below the trigger mode setting control, and the determining whether the software simulation hardware trigger function is currently turned on in response to the user's operation on the switch control includes: In response to the user's checking operation on the checkbox control, it is determined that the current software simulation hardware trigger function is turned on; otherwise, it is determined that the software simulation hardware trigger function is turned off.
14. The method according to claim 8, characterized in that The switch control is a first selection control and a second selection control located to the right or below the trigger mode setting control, and the two selection controls are associated so that when one is selected, the other is not selected, and in response to the user's operation on the switch control, determining whether the current software simulation hardware trigger function is turned on includes: In response to a user clicking operation on the first selection control, determining that the current software simulation hardware trigger function is enabled; or In response to a user clicking operation on the second selection control, it is determined that the current software simulation hardware trigger function is turned off.
15. A photographing device, characterized in that: The photographing device comprises: Memory for storing computer programs; A processor, configured to implement the method according to any one of claims 7 to 14 by executing the computer program stored in the memory.
16. A computer-readable storage medium, characterized in that: A computer program is stored on the medium, and the computer program can be executed by a processor to implement the method according to any one of claims 7 to 14.
17. A computer program product comprising a computer program and / or instructions, characterized in that: When the computer program and / or the instructions are executed by a processor, the method according to any one of claims 7 to 14 is implemented.
Citation Information
Patent Citations
Product detection method and device, detection equipment and storage medium
CN115494068A
Multi-camera synchronous image acquisition card and application method thereof in image acquisition
CN117939031A
Information processing apparatus, information processing method, and program
JP2015203597A