disclosure of Invention
The invention aims to provide an image processing method and device based on a greenhouse, so that tourists can take pictures or make video shots more conveniently when picking up in the greenhouse.
in order to achieve the above purpose, the embodiment of the present invention provides the following technical solutions:
an image processing method based on a greenhouse comprises the following steps:
Receiving identity information and a shooting instruction input by a user;
controlling a corresponding camera in the greenhouse to acquire image information of the user according to the position information of the user;
Acquiring the image information, and performing association processing on the image information and the identity information;
And receiving the identity information and the image processing instruction input by the user, and executing corresponding processing operation on the image associated with the identity information according to the image processing instruction.
Wherein, according to user's positional information, control the camera that corresponds in the warmhouse booth and gather user's image information, include:
identifying first position information of the user according to current image information of the user, which is acquired by a movable camera arranged in the greenhouse;
Determining a target position with a preset distance from the first position information according to the first position information, and determining a target moving camera closest to the target position;
and sending a moving instruction and a first shooting instruction to the target mobile camera so as to enable the target mobile camera to move to the target position to acquire the image information of the user.
wherein, still include:
Detecting whether a low-power camera with residual power lower than a preset threshold exists or not; if the low-power camera shooting head exists, a charging instruction is sent to the low-power camera shooting head, so that the low-power camera shooting head returns to a seat for charging through a preset navigation route.
Wherein, according to user's positional information, control the camera that corresponds in the warmhouse booth and gather user's image information, include:
identifying second position information of a user according to image information of the user, which is acquired by a plurality of fixed cameras arranged in the greenhouse;
and determining a target fixed camera in an optimal range corresponding to the second position information according to the second position information, and sending a second shooting instruction to the target fixed camera so that the target fixed camera acquires the image information of the user.
receiving identity information and an image processing instruction input by the user, and executing corresponding processing operation on the image associated with the identity information according to the image processing instruction, wherein the processing operation comprises the following steps:
receiving identity information input by the user, and searching whether image information related to the identity information exists or not;
If the image information exists, displaying the image information related to the identity information, and executing at least one of the following processing operations on the image to be processed selected by the user according to an image processing instruction triggered by the user: sending the image operation to be processed, downloading the image operation to be processed, and printing the image operation to be processed;
and if the image information does not exist, generating and displaying prompt information of the image information which does not exist and is associated with the identity information.
an image processing apparatus based on a greenhouse, comprising:
the first receiving module is used for receiving the identity information and the shooting instruction input by the user;
the control module is used for controlling a corresponding camera in the greenhouse to acquire the image information of the user according to the position information of the user;
the association processing module is used for acquiring the image information and associating the image information with the identity information;
The second receiving module is used for receiving the identity information and the image processing instruction input by the user;
And the processing module is used for executing corresponding processing operation on the image associated with the identity information according to the image processing instruction.
Wherein the control module comprises:
the first position identification unit is used for identifying first position information of the user according to current image information of the user, which is acquired by a movable camera arranged in the greenhouse;
a target position determining unit configured to determine a target position a predetermined distance from the first position information, based on the first position information;
the target moving camera determining unit is used for determining a target moving camera closest to the target position;
and the first sending unit is used for sending a moving instruction for moving the target mobile camera to the target position and a first shooting instruction to enable the target mobile camera to move to the target position to acquire the image information of the user.
wherein, still include:
The detection module is used for detecting whether a low-power camera with the residual power lower than a preset threshold exists or not; if yes, triggering a sending module;
the sending module is used for sending a charging instruction to the low-power camera head so that the low-power camera head returns to the seat for charging through a preset navigation route.
wherein the control module comprises:
the second position identification unit is used for identifying second position information of the user according to image information of the user, which is acquired by a plurality of fixed cameras arranged in the greenhouse;
A target fixed camera determining unit for determining a target fixed camera within an optimum range corresponding to the second position information according to the second position information,
and the second sending unit is used for sending a second shooting instruction to the target fixed camera so as to enable the target fixed camera to acquire the image information of the user.
wherein the processing module comprises:
the related image searching unit is used for receiving the identity information input by the user and searching whether the image information related to the identity information exists or not; if yes, triggering a display unit; if not, triggering a prompt unit;
the display unit is used for displaying the image information associated with the identity information;
The execution unit is used for executing at least one of the following processing operations on the image to be processed selected by the user according to the image processing instruction triggered by the user: sending the image operation to be processed, downloading the image operation to be processed, and printing the image operation to be processed;
And the prompting unit is used for generating and displaying prompting information without image information related to the identity information.
according to the scheme, the image processing method based on the greenhouse provided by the embodiment of the invention comprises the following steps: receiving identity information and a shooting instruction input by a user; controlling a corresponding camera in the greenhouse to acquire image information of the user according to the position information of the user; acquiring the image information, and performing association processing on the image information and the identity information; receiving identity information and an image processing instruction input by the user, and executing corresponding processing operation on the image associated with the identity information according to the image processing instruction;
Therefore, in the scheme, the camera arranged in the greenhouse can be used for enabling the tourist to shoot the image more conveniently, and after shooting is finished, processing operations such as printing the image, downloading the image or sending the image can be provided for the tourist, so that the user can obtain the photo more conveniently, leisure activities such as tourism picking and science popularization education are more interesting, and meanwhile, the economic benefit of the greenhouse is improved; the invention also discloses an image processing device based on the greenhouse, and the technical effects can be realized.
Detailed Description
the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses an image processing method and device based on a greenhouse, which are used for realizing more convenient photo taking or camera shooting of tourists in the picking process of the greenhouse.
Referring to fig. 1, an image processing method based on a greenhouse provided by the embodiment of the present invention includes:
S101, receiving identity information and a shooting instruction input by a user;
specifically, in this scheme, after the visitor got into the area of shooing in the warmhouse booth, can select the shooting mode in the display screen, the shooting mode includes shooing or video recording. However, due to the fact that the number of the tourists is large, if a plurality of the tourists shoot images through the camera, when the to-be-processed images are selected, the images of all the tourists are displayed on the display screen, the selection is complicated, and the privacy of the tourists cannot be protected. Therefore, in the embodiment, before shooting, the user inputs the identity information of the user on the display screen so as to associate the user with the image of the user, so that when the user selects the image, the user does not need to select the image of the user from all the images, and the image of the user which is selected can be displayed only by inputting the identity information of the user, so that the method is more convenient and humanized.
it should be noted that the identity information in this embodiment may be automatically identified identity card information, a visiting ticket and a mobile phone number input by the user, or an account number logged in through application software, as long as the identity information represents the identity of the user.
s102, controlling a corresponding camera in the greenhouse to acquire image information of the user according to the position information of the user;
It should be noted that the image information in this embodiment includes pictures and videos. Referring to fig. 2, if the mode selected by the user on the display screen is photographing, the camera enters a photographing mode after receiving a photographing instruction, and photographs after the visitor adjusts the photographing posture of the visitor to be fixed, and the user hears a prompt sound to prompt that the photographing is completed; if the user selects the video recording mode through the display screen, the camera starts to capture an observed image and record video after receiving a video recording instruction; and when the user receives the prompt of ending the video shooting, ending the video recording.
It should be noted that, in addition to the above-mentioned shooting manner, delayed shooting may also be selected, that is, the user takes a picture after selecting a predetermined time on the display screen; for example: when the user starts to photograph after selecting 10s, after sending a voice prompt for starting to photograph, photographing by counting down 10s through the voice prompt, and sending a voice prompt after finishing; the control device can be arranged in a handheld mode, the control device is similar to a remote controller, when the user sets a posture to prepare for taking a picture, the corresponding cameras are controlled to take a picture or take a video through the handheld control device, the number of the cameras in the greenhouse can be multiple, at the moment, the buttons corresponding to the cameras can be displayed on the control device, or signals are sent to the controller through the handheld control device, and the shooting instructions are sent to the appointed cameras through the controller.
and it is understood that when the user takes a photo, the user can set whether to take a continuous photo on the display screen, for example, 10 continuous photos, or 5 continuous photos, so that the user can select the picture of the scope; or when the user takes a picture, two pictures are continuously taken at a preset time interval when each picture is taken, so that the user can select the pictures; when the user records the video, the video recording time length can be set on the display screen, and if the user does not select the video recording time length, the user photographs according to the default time length of the system.
S103, acquiring the image information, and performing association processing on the image information and the identity information;
specifically, in the scheme, since the user inputs the identity information before shooting, the generated data are image information corresponding to the identity information during the shooting or video recording of the user, and therefore the user can conveniently search the image of the user by associating the image information acquired by the camera with the identity information.
and S104, receiving the identity information and the image processing instruction input by the user, and executing corresponding processing operation on the image associated with the identity information according to the image processing instruction.
Specifically, S104 includes:
receiving identity information input by the user, and searching whether image information related to the identity information exists or not; if the image information exists, displaying the image information related to the identity information, and executing at least one of the following processing operations on the image to be processed selected by the user according to an image processing instruction triggered by the user: sending the image operation to be processed, downloading the image operation to be processed, and printing the image operation to be processed; and if the image information does not exist, generating and displaying prompt information of the image information which does not exist and is associated with the identity information.
It can be understood that, referring to fig. 3, after the user finishes taking pictures or recording videos through the camera, the user can input identity information on the display screen, search image information associated with the identity information from the memory, and if the image information exists, display the image information through the display screen for the user to view and select; if the image information does not exist, prompting the user that the image information does not exist; after the image information associated with the identity information is displayed on the display screen, the user can view the picture, select the image to be processed, and process the image through the operation buttons shown in fig. 3.
in the scheme, in order to acquire an image, the processing operation triggered by a user on a display screen comprises the following steps: sending operation, downloading operation and printing operation; referring to fig. 3, when a user wants to send out an image to be processed, the cloud sharing button in fig. 3 may be triggered, at this time, two-dimensional code information may be displayed on the display screen, and the user may share out the image to be processed by scanning the two-dimensional code information; or, the user triggers the input send address button in fig. 3, and after the user inputs an address, the image to be processed is sent to the address input by the user, where the input address may be a mailbox; when a user wants to download an image to be processed, a storage device such as a U disk or a mobile hard disk is connected with a USB interface, and the image to be processed can be downloaded to the storage device connected with the USB interface; when the user wants to print the image to be processed, the print button in fig. 3 may be triggered to print through the self-service printing apparatus.
it should be noted that the display screen in the scheme may be a display screen of a self-service developing device, and the self-service developing device may be arranged inside a greenhouse, so that a user can select a shooting mode on the self-service developing device and then obtain an image in time; the self-service developing device can also be arranged outside the greenhouse, and a user can obtain an image on any self-service developing device outside the greenhouse after shooting the image through a camera inside the greenhouse; it can be understood that the display screen inside the greenhouse may be a display screen for a user to select a mode to take a picture, or may be the self-service developing device, which is not limited herein.
and when the user prints the photo, if the currently operated developing device can not print, other developing devices can be selected automatically to print the photo.
It should be noted that the self-service developing device in the scheme can also select a photo mode, that is, the photo mode can be set to various printing styles such as tourism, popular science education, or good fortune of the whole family according to the selection of the user. In addition, in the scheme, in order to protect the privacy of the tourists, after the user processes the images, the display screen pops up a prompt box for indicating whether the operation is finished, and if the operation is finished, all the images shot by the user are deleted.
in addition, all devices in the application, such as a camera, an autonomous developing device and the like, can be connected with a remote control center through wireless communication, a data transmitter and the like, and the remote control center can be a computer, a mobile phone and other devices, so that a manager can conveniently realize remote control on the remote control center at any place.
The embodiment of the invention discloses a specific image processing method, and compared with the previous embodiment, the embodiment further explains and optimizes the technical scheme. Specifically, the method comprises the following steps: according to the position information of the user, controlling a corresponding camera in the greenhouse to acquire the image information of the user, wherein the image information comprises:
Identifying first position information of the user according to current image information of the user, which is acquired by a movable camera arranged in the greenhouse;
determining a target position with a preset distance from the first position information according to the first position information, and determining a target moving camera closest to the target position;
And sending a moving instruction and a first shooting instruction to the target mobile camera so as to enable the target mobile camera to move to the target position to acquire the image information of the user.
Specifically, the head of the mobile camera in the scheme is provided with the high-resolution camera and the navigation system, so that the mobile camera has an all-directional movement function and a wide visual field, and can realize simple and accurate navigation in the environment according to an operation instruction. The number of the mobile cameras in the scheme is not particularly limited, and can be specifically set according to the size of the greenhouse, and if the greenhouse is very small, the requirement can be met by arranging one mobile camera; if the big-arch shelter is very big, then need to set up a plurality of portable cameras, the appointed area that corresponds is shot to every camera.
When a user shoots through the movable camera in the greenhouse, the position of the user can be identified, and the movable camera is automatically controlled to move to the optimal shooting place for shooting; the best shooting location here may be: the target position is away from the position of the user by a preset distance and is a place to which the movable camera can move; similarly, when the movable camera is selected, the movable camera closest to the target position and in the non-operating state is selected as the criterion.
it can be understood that if the connection mode of the movable camera is wireless connection, then the camera is a concern for charging in time, and therefore, the scheme further includes:
detecting whether a low-power camera with residual power lower than a preset threshold exists or not; if the low-power camera shooting head exists, a charging instruction is sent to the low-power camera shooting head, so that the low-power camera shooting head returns to a seat for charging through a preset navigation route.
it can be seen that when the remaining capacity of the camera is too low, the camera can return to the seat for charging through a fixed navigation route set in advance under the condition of no guidance. And, when camera residual capacity is low when needing to charge excessively, need to remind for remote control center to sending, after the electric quantity is full of, send the warning to remote control center again to make managers in time know the operating condition of different cameras.
the embodiment of the invention discloses a specific image processing method, and compared with the previous embodiment, the embodiment further explains and optimizes the technical scheme. Specifically, the method comprises the following steps: according to the position information of the user, controlling a corresponding camera in the greenhouse to acquire the image information of the user, wherein the image information comprises:
Identifying second position information of a user according to image information of the user, which is acquired by a plurality of fixed cameras arranged in the greenhouse;
And determining a target fixed camera in an optimal range corresponding to the second position information according to the second position information, and sending a second shooting instruction to the target fixed camera so that the target fixed camera acquires the image information of the user.
Specifically, when the user shoots through the movable camera in the greenhouse, the fixed camera in the optimal range corresponding to the position of the user can be found by identifying the position of the user, and a shooting instruction is sent to the fixed camera so as to shoot and record the video of the user.
The number of the fixed cameras is also not specifically limited, and needs to be specifically set according to the size of the greenhouse, and if the greenhouse is small, the requirement can be met by arranging one fixed camera; if the big-arch shelter is very big, then need set up fixed camera in a plurality of positions, every camera shoots corresponding appointed area.
it should be noted that, fixed camera and portable camera can be set up simultaneously to warmhouse booth inside in this scheme, for example: a plurality of fixed cameras are arranged at the position where the number of people taking photos is particularly large, so that the requirement of simultaneously taking photos by a plurality of tourists can be met; for the position with relatively few photographing people, the requirement of the tourist can be met by arranging a movable camera; in this way, when the image is shot, the position of the user can be identified in the image collected by the camera, the target camera which is most suitable for the user at the current position is selected in the shooting of the movable camera and the fixed camera, and the shooting is carried out through the selected target camera.
the following describes an image processing apparatus provided in an embodiment of the present invention, and the image processing apparatus described below and the image processing method described above may be referred to each other.
referring to fig. 4, an image processing apparatus based on a greenhouse provided in an embodiment of the present invention includes:
A first receiving module 100, configured to receive identity information and a shooting instruction input by a user;
the control module 200 is used for controlling a corresponding camera in the greenhouse to acquire the image information of the user according to the position information of the user;
the association processing module 300 is configured to acquire the image information and perform association processing on the image information and the identity information;
a second receiving module 400, configured to receive the identity information and the image processing instruction input by the user;
a processing module 500, configured to perform a corresponding processing operation on the image associated with the identity information according to the image processing instruction.
based on the above technical solution, the control module includes:
The first position identification unit is used for identifying first position information of the user according to current image information of the user, which is acquired by a movable camera arranged in the greenhouse;
A target position determining unit configured to determine a target position a predetermined distance from the first position information, based on the first position information;
The target moving camera determining unit is used for determining a target moving camera closest to the target position;
and the first sending unit is used for sending a moving instruction for moving the target mobile camera to the target position and a first shooting instruction to enable the target mobile camera to move to the target position to acquire the image information of the user.
based on the above technical scheme, still include:
the detection module is used for detecting whether a low-power camera with the residual power lower than a preset threshold exists or not; if yes, triggering a sending module;
the sending module is used for sending a charging instruction to the low-power camera head so that the low-power camera head returns to the seat for charging through a preset navigation route.
based on the above technical solution, the control module includes:
The second position identification unit is used for identifying second position information of the user according to image information of the user, which is acquired by a plurality of fixed cameras arranged in the greenhouse;
A target fixed camera determining unit for determining a target fixed camera within an optimum range corresponding to the second position information according to the second position information,
And the second sending unit is used for sending a second shooting instruction to the target fixed camera so as to enable the target fixed camera to acquire the image information of the user.
based on the above technical solution, the processing module includes:
The related image searching unit is used for receiving the identity information input by the user and searching whether the image information related to the identity information exists or not; if yes, triggering a display unit; if not, triggering a prompt unit;
The display unit is used for displaying the image information associated with the identity information;
the execution unit is used for executing at least one of the following processing operations on the image to be processed selected by the user according to the image processing instruction triggered by the user: sending the image operation to be processed, downloading the image operation to be processed, and printing the image operation to be processed;
and the prompting unit is used for generating and displaying prompting information without image information related to the identity information.
the embodiment of the invention provides an image processing method based on a greenhouse, which comprises the following steps: receiving identity information and a shooting instruction input by a user; controlling a corresponding camera in the greenhouse to acquire image information of the user according to the position information of the user; acquiring the image information, and performing association processing on the image information and the identity information; receiving identity information and an image processing instruction input by the user, and executing corresponding processing operation on the image associated with the identity information according to the image processing instruction;
therefore, in the scheme, the camera arranged in the greenhouse can be used for enabling the tourist to shoot the image more conveniently, and after shooting is finished, processing operations such as printing the image, downloading the image or sending the image can be provided for the tourist, so that the user can obtain the photo more conveniently, leisure activities such as tourism picking and science popularization education are more interesting, and meanwhile, the economic benefit of the greenhouse is improved; the invention also discloses an image processing device based on the greenhouse, and the technical effects can be realized.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.