Temperature and humidity measuring method and device, computer equipment and storage medium

文档序号:499174 发布日期:2022-01-07 浏览:6次 中文

阅读说明:本技术 温度湿度测量方法、装置、计算机设备和存储介质 (Temperature and humidity measuring method and device, computer equipment and storage medium ) 是由 黄光萍 吴欢龙 徐美双 蔡晓敏 于 2021-09-03 设计创作,主要内容包括:本发明提供一种温度湿度测量方法、装置、计算机设备和存储介质,该方法包括获取环境图像;识别所述环境图像,得到所述环境图像中的至少一个待测物体;检测所述待测物体的温度和/或湿度,得到物体温度和/或物体湿度。通过在得到环境图像时,识别出环境图像中的待测物体,并且检测出待测物体的温度和湿度,有效提高了对环境中的各物体的温度和湿度的检测效率,并且使得用户获知环境中各物体的温度和环境湿度更便捷、更为灵活。(The invention provides a temperature and humidity measuring method, a device, computer equipment and a storage medium, wherein the method comprises the steps of acquiring an environment image; identifying the environment image to obtain at least one object to be detected in the environment image; and detecting the temperature and/or the humidity of the object to be detected to obtain the temperature and/or the humidity of the object. Through when obtaining the environment image, discern the object that awaits measuring in the environment image to detect out the temperature and the humidity of the object that awaits measuring, effectively improved the detection efficiency to the temperature and the humidity of each object in the environment, and make the user learn the temperature and the environment humidity of each object in the environment more convenient, more nimble.)

1. A method of measuring temperature and humidity, comprising:

acquiring an environment image;

identifying the environment image to obtain at least one object to be detected in the environment image;

and detecting the temperature and/or the humidity of the object to be detected to obtain the temperature and/or the humidity of the object.

2. The method of claim 1, further comprising: and detecting the temperature and/or the humidity of the environment to obtain the ambient temperature and/or the ambient humidity.

3. The method according to claim 2, wherein the step of detecting the temperature and/or humidity of the object to be tested and obtaining the object temperature and/or humidity further comprises:

and displaying temperature information and/or humidity information in the environment image, wherein the temperature information comprises the object temperature and/or the environment temperature, and the humidity information comprises the object humidity and/or the environment humidity.

4. The method of claim 3, wherein the step of displaying temperature information and/or humidity information in the environmental image comprises:

adopt transparent screen to be in show temperature information and/or humidity information in the environment image, wherein, temperature information contains object temperature and/or ambient temperature, humidity information contains object humidity and/or ambient humidity.

5. The method of claim 3, wherein the step of identifying the environmental image and obtaining at least one object to be measured in the environmental image comprises:

identifying the environment image to obtain at least one object to be detected in the environment image and obtain the object type of the object to be detected;

the step of detecting the temperature and/or the humidity of the object to be detected to obtain the temperature and/or the humidity of the object comprises the following steps:

detecting the temperature and/or the humidity of the object to be detected to obtain the temperature and/or the humidity of the object;

detecting whether the object temperature is matched with the object type or not according to a preset corresponding relation between the object type and the normal temperature; and/or

Detecting whether the object humidity is matched with the object type or not according to a preset corresponding relation between the object type and the normal humidity;

the step of displaying temperature information and/or humidity information in the environment image includes:

when the object temperature and/or the object humidity are not matched with the object type, the temperature information and/or the humidity information are displayed in the environment image in a preset display mode, wherein the temperature information comprises the object temperature and/or the environment temperature, and the humidity information comprises the object humidity and/or the environment humidity.

6. The method of claim 3, wherein the step of identifying the environmental image and obtaining at least one object to be measured in the environmental image comprises:

identifying the environment image to obtain at least one object to be detected in the environment image and obtain the object type of the object to be detected;

the step of detecting the temperature and/or the humidity of the object to be detected and obtaining the temperature and/or the humidity of the object further comprises the following steps:

acquiring recommendation information corresponding to the object temperature and the object type according to the object temperature and the object type, wherein the recommendation information is used for guiding a user to operate the object;

the step of displaying temperature information and/or humidity information in the environment image includes:

displaying the recommended information and the temperature information in the environment image.

7. The method of claim 3, wherein the step of identifying the environmental image and obtaining at least one object to be measured in the environmental image comprises:

identifying the environment image to obtain at least one object to be detected in the environment image and obtain the object type of the object to be detected;

the step of detecting the temperature and/or the humidity of the object to be detected and obtaining the temperature and/or the humidity of the object further comprises the following steps:

acquiring recommendation information corresponding to the object humidity and the object type according to the object humidity and the object type, wherein the recommendation information is used for guiding a user to operate the object;

the step of displaying temperature information and/or humidity information in the environment image includes:

displaying the recommendation information and the humidity information in the environment image.

8. The method according to claim 5, wherein the step of detecting the temperature and/or humidity of the object to be tested and obtaining the object temperature and/or humidity further comprises:

obtaining a preset normal temperature range corresponding to the object type of the object to be detected;

detecting whether the temperature of the object is matched with the preset normal temperature range;

and when the object temperature is not matched with the preset normal temperature range, outputting alarm information.

9. The method according to claim 1, wherein the step of detecting the temperature and/or humidity of the object to be tested to obtain the object temperature and/or humidity comprises:

acquiring a selection instruction, and selecting at least one object to be detected in the environment image;

and detecting the temperature and/or the humidity of the selected object to be detected to obtain the object temperature and/or the object humidity.

10. The method of claim 3, wherein the step of detecting the temperature and/or humidity of the environment and obtaining the ambient temperature and/or humidity further comprises:

obtaining recommendation information corresponding to the environmental humidity or the object temperature according to the corresponding relation between preset recommendation information and humidity or temperature;

the step of displaying temperature information and/or humidity information in the environment image includes:

and displaying suggestion information, temperature information and/or humidity information in the environment image, wherein the temperature information comprises the object temperature and/or the environment temperature, and the humidity information comprises the object humidity and/or the environment humidity.

11. The method of claim 1, wherein the step of identifying the environment image and obtaining at least one object to be measured in the environment image comprises:

and scanning the object within the preset distance, and determining the object to be detected.

12. A temperature and humidity measurement device, comprising:

the environment image acquisition module is used for acquiring an environment image;

the object to be detected identification module is used for identifying the environment image to obtain at least one object to be detected in the environment image;

and the object temperature and humidity detection module is used for detecting the temperature and/or the humidity of the object to be detected to obtain the object temperature and/or the object humidity.

13. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 11 when executing the computer program.

14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 11.

Technical Field

The invention relates to the technical field of temperature and humidity monitoring, in particular to a temperature and humidity measuring method and device, computer equipment and a storage medium.

Background

Along with diversification of living materials and improvement of science and technology, and high-quality pursuit of people to life, people who have accurate requirements on temperature and humidity have great need for a convenient and intuitive temperature and humidity measuring mode. Such as measuring whether the water temperature is suitable for drinking, measuring whether the ambient humidity requires starting the humidifier, measuring the water temperature for the baby to take a bath, etc.

Currently, in order to detect the temperature of the environment and objects in the environment, each object often needs to be measured separately, and most of the measurements are performed in a contact manner, so that the temperature and humidity of the objects in the surrounding environment are measured by a user with low efficiency, and are relatively inflexible and not intuitive.

Disclosure of Invention

In view of the above, it is necessary to provide a temperature and humidity measurement method, apparatus, computer device and storage medium for solving the above technical problems.

A method of temperature and humidity measurement, comprising:

acquiring an environment image;

identifying the environment image to obtain at least one object to be detected in the environment image;

and detecting the temperature and/or the humidity of the object to be detected to obtain the temperature and/or the humidity of the object.

In one embodiment, the method further comprises the following steps: and detecting the temperature and/or the humidity of the environment to obtain the ambient temperature and/or the ambient humidity.

In one embodiment, the step of detecting the temperature and/or humidity of the object to be detected to obtain the object temperature and/or object humidity further includes:

and displaying temperature information and/or humidity information in the environment image, wherein the temperature information comprises the object temperature and/or the environment temperature, and the humidity information comprises the object humidity and/or the environment humidity.

In one embodiment, the step of displaying the temperature information and/or the humidity information in the environment image comprises:

adopt transparent screen to be in show temperature information and/or humidity information in the environment image, wherein, temperature information contains object temperature and/or ambient temperature, humidity information contains object humidity and/or ambient humidity.

In one embodiment, the step of identifying the environment image to obtain at least one object to be measured in the environment image includes:

identifying the environment image to obtain at least one object to be detected in the environment image and obtain the object type of the object to be detected;

the step of detecting the temperature and/or the humidity of the object to be detected to obtain the temperature and/or the humidity of the object comprises the following steps:

detecting the temperature and/or the humidity of the object to be detected to obtain the temperature and/or the humidity of the object;

detecting whether the object temperature is matched with the object type or not according to a preset corresponding relation between the object type and the normal temperature; and/or

Detecting whether the object humidity is matched with the object type or not according to a preset corresponding relation between the object type and the normal humidity;

the step of displaying temperature information and/or humidity information in the environment image includes:

when the object temperature and/or the object humidity are not matched with the object type, the temperature information and/or the humidity information are displayed in the environment image in a preset display mode, wherein the temperature information comprises the object temperature and/or the environment temperature, and the humidity information comprises the object humidity and/or the environment humidity.

In one embodiment, the step of identifying the environment image to obtain at least one object to be measured in the environment image includes:

identifying the environment image to obtain at least one object to be detected in the environment image and obtain the object type of the object to be detected;

the step of detecting the temperature and/or the humidity of the object to be detected and obtaining the temperature and/or the humidity of the object further comprises the following steps:

acquiring recommendation information corresponding to the object temperature and the object type according to the object temperature and the object type, wherein the recommendation information is used for guiding a user to operate the object;

the step of displaying temperature information and/or humidity information in the environment image includes:

displaying the recommended information and the temperature information in the environment image.

In one embodiment, the step of identifying the environment image to obtain at least one object to be measured in the environment image includes:

identifying the environment image to obtain at least one object to be detected in the environment image and obtain the object type of the object to be detected;

the step of detecting the temperature and/or the humidity of the object to be detected and obtaining the temperature and/or the humidity of the object further comprises the following steps:

acquiring recommendation information corresponding to the object humidity and the object type according to the object humidity and the object type, wherein the recommendation information is used for guiding a user to operate the object;

the step of displaying temperature information and/or humidity information in the environment image includes:

displaying the recommendation information and the humidity information in the environment image.

In one embodiment, the step of detecting the temperature and/or humidity of the object to be detected to obtain the object temperature and/or object humidity further includes:

obtaining a preset normal temperature range corresponding to the object type of the object to be detected;

detecting whether the temperature of the object is matched with the preset normal temperature range;

and when the object temperature is not matched with the preset normal temperature range, outputting alarm information.

In one embodiment, the step of detecting the temperature and/or humidity of the object to be detected to obtain the object temperature and/or the object humidity includes:

acquiring a selection instruction, and selecting at least one object to be detected in the environment image;

and detecting the temperature and/or the humidity of the selected object to be detected to obtain the object temperature and/or the object humidity.

In one embodiment, the step of detecting the temperature and/or humidity of the environment and obtaining the ambient temperature and/or ambient humidity further includes:

obtaining recommendation information corresponding to the environmental humidity or the object temperature according to the corresponding relation between preset recommendation information and humidity or temperature;

the step of displaying temperature information and/or humidity information in the environment image includes:

and displaying suggestion information, temperature information and/or humidity information in the environment image, wherein the temperature information comprises the object temperature and/or the environment temperature, and the humidity information comprises the object humidity and/or the environment humidity.

In one embodiment, the step of identifying the environment image to obtain at least one object to be measured in the environment image includes:

and scanning the object within the preset distance, and determining the object to be detected.

A temperature and humidity measurement device comprising:

the environment image acquisition module is used for acquiring an environment image;

the object to be detected identification module is used for identifying the environment image to obtain at least one object to be detected in the environment image;

and the object temperature and humidity detection module is used for detecting the temperature and/or the humidity of the object to be detected to obtain the object temperature and/or the object humidity.

A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program implements the steps of:

acquiring an environment image;

identifying the environment image to obtain at least one object to be detected in the environment image;

and detecting the temperature and/or the humidity of the object to be detected to obtain the temperature and/or the humidity of the object.

A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:

acquiring an environment image;

identifying the environment image to obtain at least one object to be detected in the environment image;

and detecting the temperature and/or the humidity of the object to be detected to obtain the temperature and/or the humidity of the object.

According to the temperature and humidity measuring method, the temperature and humidity measuring device, the computer equipment and the storage medium, when the environment image is obtained, the object to be detected in the environment image is identified, and the temperature and the humidity of the object to be detected are detected, so that the detection efficiency of the temperature and the humidity of each object in the environment is effectively improved, and a user can know the temperature and the environment humidity of each object in the environment more conveniently and more flexibly.

Drawings

FIG. 1 is a schematic flow chart of a method for measuring temperature and humidity according to one embodiment;

FIG. 2 is a block diagram of a temperature and humidity measuring device according to an embodiment;

FIG. 3 is a diagram of the internal structure of a computer device in one embodiment;

FIG. 4 is a diagram illustrating an exemplary temperature and humidity measurement method;

FIG. 5 is a schematic flow chart of a method for measuring temperature and humidity according to another embodiment.

Detailed Description

In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.

Example one

In this embodiment, as shown in fig. 1, a method for measuring temperature and humidity is provided, which includes:

step 110, an environmental image is acquired.

Specifically, an image of the current environment is captured by a camera, so that an environment image of the current environment is acquired. The environment image may be a single image or a continuous multi-frame image, and when the environment images of the continuous multi-frame are acquired, the environment images of the multi-frame are videos shot in real time. In this embodiment, the image of the current environment is acquired in real time through the camera, and the captured environment image can be displayed in real time through the display screen.

And 120, identifying the environment image to obtain at least one object to be detected in the environment image.

In this embodiment, the object that awaits measuring is the object that exists in the environment, has formed the object in the environment image through shooting back, has a plurality of objects in the environment image, and every object all can regard as the object that awaits measuring, for example, when the environment image is the image of indoor certain department, vase, kettle, beverage bottle, seat etc. in the environment all can regard as the object that awaits measuring.

It should be understood that the algorithm for identifying the object to be detected may be obtained based on the existing image database analysis, or may be obtained by automatic learning using a learning model based on artificial intelligence. In one embodiment, the local storage stores images of a plurality of objects, for example, images of various cups, images of various kettles, and images of various seats, and analyzes the environment image to obtain objects in the environment image, which are close to the images of the cups, the kettles and the seats, so as to identify the cups, the kettles, the seats and the like in the environment image. In another embodiment, a remote server is connected through a network, and the environment image is analyzed through an artificial intelligence-based learning model on the remote server, so that a plurality of objects with temperature measurement in the environment image are identified. Specifically, when the learning model is trained, a large number of images of various types of objects can be input into the learning model as samples for training, so as to obtain the learning model for identifying the objects in the images, and thus, the environment image obtained in real time is input into the learning model, so that at least one object to be measured in the environment image can be identified.

In this embodiment, at least one object to be measured in the environmental image is identified based on a preset rule. The preset rule may be set by a user, for example, the environment image is analyzed, at least one object in the environment image is identified, the type of the object is detected, and when the type of the object is the preset type, the object is identified as the object to be detected. Therefore, the object with temperature measurement required by the user in the environment can be used as the object to be measured, so that all the objects in the environment are prevented from being identified, the requirement on the calculated amount is effectively reduced, and the analysis and identification efficiency is improved.

And step 130, detecting the temperature and/or the humidity of the object to be detected to obtain the object temperature and/or the object humidity.

In this embodiment, the temperature of the surface of the object to be measured is detected by a non-contact temperature measurement method, so as to obtain the temperature of the object. In one embodiment, the non-contact temperature measurement mode is to use an infrared sensor for detection, that is, to use the infrared sensor to detect the temperature of the object to be measured. In one embodiment, the temperature of the object is detected by a luminance method implemented by an optical pyrometer, in one embodiment, the temperature of the object is detected by a radiation method implemented by a radiation pyrometer, and in one embodiment, the temperature of the object is detected by a colorimetric method implemented by a colorimetric temperature sensor.

In addition, in this embodiment, the humidity of the object may also be detected in a contact manner. In this embodiment, the system is provided with a temperature sensing chip to scan environmental objects within a certain distance, and identify the temperature and humidity of different objects.

In this embodiment, through when obtaining the environment image, discern the object that awaits measuring in the environment image to detect out the temperature and the humidity of the object that awaits measuring, effectively improved the detection efficiency to the temperature and the humidity of each object in the environment, and make the user learn the temperature and the environment humidity of each object in the environment more convenient, more nimble.

In one embodiment, the temperature and humidity measurement method further comprises: and detecting the temperature and/or the humidity of the environment to obtain the ambient temperature and/or the ambient humidity.

In this embodiment, the humidity of the current environment is detected by the humidity sensor, so as to obtain the environment humidity. In addition, the temperature sensor can detect the current ambient temperature to obtain the ambient temperature. In one embodiment, the temperature of the environment is detected to obtain the temperature of the environment; in one embodiment, the humidity of the environment is detected to obtain the ambient humidity.

In one embodiment, the step of detecting the temperature and/or humidity of the object to be detected to obtain the object temperature and/or object humidity further includes: and displaying temperature information and/or humidity information in the environment image, wherein the temperature information comprises the object temperature and/or the environment temperature, and the humidity information comprises the object humidity and/or the environment humidity.

In this embodiment, the temperature information includes the object temperature, like this, when showing the environment image on the display screen, the position that the object that awaits measuring corresponds shows temperature information on the display screen, make the user can see the temperature information of the object that awaits measuring in the environment image in real time when watching the environment image, and then make the user learn the temperature of each object more directly perceivedly, and need not to carry out temperature detection to each object, effectively improved the temperature detection efficiency to each object in the environment, and make the user learn the temperature of each object in the environment more convenient, more nimble. In this embodiment, in addition to detecting and displaying the temperature of the object, the humidity information is also displayed in the environmental image, so that the user can conveniently and quickly know the environmental humidity. It should be understood that the humidity information in the present embodiment may be displayed at any position in the environment image, and the present embodiment is not limited thereto.

In one embodiment, the object temperature and/or the object humidity of the object to be measured is displayed at the position of the object to be measured in the environment image, and the environment temperature and/or the environment humidity is displayed at the position of the object not to be measured in the environment image.

In this embodiment, through the position that corresponds at the object that awaits measuring show with the relevant object temperature of the object that awaits measuring and object humidity for object temperature and object humidity's demonstration is more directly perceived, and also makes the demonstration of ambient temperature and ambient humidity more directly perceived.

In one embodiment, temperature information including the temperature of the object is added to the position of the object to be measured in the environment image, and the environment image to which the temperature information is added is displayed. In this embodiment, the temperature information is displayed on the object to be measured on the environment image while the environment image is displayed, so that the user can intuitively correspond the object to be measured with the temperature information, and the user can quickly and accurately know the temperature of the object to be measured.

In one embodiment, the step of displaying a temperature signal containing the temperature of the object at the position of the object to be measured in the environment image comprises: adopt transparent screen to be in show temperature information and/or humidity information in the environment image, wherein, temperature information contains object temperature and/or ambient temperature, humidity information contains object humidity and/or ambient humidity.

In this embodiment, the display screen is a transparent screen. In this embodiment, the transparent screen is adopted to display the temperature information of the object to be measured. Namely, a transparent screen is adopted to display an environment image, and temperature information containing the temperature of the object is displayed at the position of the object to be detected in the environment image. The transparent screen can directly reflect the environment, the temperature information is displayed in real time at the position corresponding to the object to be detected on the transparent screen, and a user can visually and conveniently view the environment image and the temperature information of the object to be detected. It should be understood that the implementation of the transparent screen can be implemented using existing technology, which is not described redundantly in this embodiment.

In one embodiment, as shown in fig. 4, the temperature information further includes a selected animation image, and the selected animation image is displayed at the position of the object to be measured in the environment image, and is used for selecting the object to be measured in the form of animation on the image. For example, in fig. 4, the cup and the beverage bottle are respectively selected by the aiming ring, and the temperature information is displayed beside the aiming ring, for example, the temperature information displayed beside the cup is "water temperature 45 ℃", and the temperature information displayed beside the beverage is "cold beverage 2 ℃". In other embodiments, the checkbox animation image may also be a checkbox or an arrow, which is not redundantly described in this embodiment.

In order to accurately obtain the temperature of the object with abnormal temperature in the environment, in one embodiment, the step of identifying the environment image and obtaining at least one object to be measured in the environment image includes: identifying the environment image to obtain at least one object to be detected in the environment image and obtain the object type of the object to be detected; the step of detecting the temperature and/or the humidity of the object to be detected to obtain the temperature and/or the humidity of the object comprises the following steps: detecting the temperature and/or the humidity of the object to be detected to obtain the temperature and/or the humidity of the object; detecting whether the object temperature is matched with the object type or not according to a preset corresponding relation between the object type and the normal temperature; and/or detecting whether the object humidity is matched with the object type according to a preset corresponding relation between the object type and the normal humidity; the step of displaying temperature information and/or humidity information in the environment image includes: when the object temperature does not match with the object type, the temperature information and/or the humidity information are displayed in the environment image in a preset display mode, wherein the temperature information comprises the object temperature and/or the environment temperature, and the humidity information comprises the object humidity and/or the environment humidity.

In this embodiment, when the temperature of the object is matched with the type of the object, the temperature information of the object is not displayed, or the temperature information is displayed in a conventional manner, where the conventional manner in this embodiment is to display the temperature information in a text format, and the preset display manner is a display manner different from the conventional manner, and in the preset display manner, the font may be bold, red or animation.

In addition, the above process is also applicable to humidity detection, when the humidity of the object matches the type of the object, the humidity information of the object is not displayed, or the humidity information is displayed in a conventional manner, in this embodiment, the conventional manner is to display the humidity information in a text format, and the preset display manner is a display manner different from the conventional manner, and in the preset display manner, the font may be bold, red or animation.

In addition, in the present embodiment, the temperature and/or humidity may not be detected for all objects in the environment image, but may be detected for an object with abnormal temperature or abnormal humidity and displayed. Specifically, the preset corresponding relationship between the object type and the normal temperature records the corresponding relationship between the object type and the normal temperature of the object type, the normal temperature of the object type is the temperature of the object of the type at normal temperature or at ambient temperature, and each object type corresponds to the normal temperature in a preset range. In addition, the corresponding relationship between the various object types and the normal humidity of the object types is recorded in the corresponding relationship between the preset object types and the normal humidity, the normal humidity of the object types is the humidity of the object of the types at normal temperature or under the ambient humidity, and each object type corresponds to the normal humidity in a preset range. For example, a normal temperature corresponding to the type of the object can be obtained from the correspondence. In one embodiment, after an object to be detected is identified, the object temperature of the object to be detected is obtained, a corresponding normal temperature is obtained according to the type of the object, whether the difference between the object temperature and the normal temperature is within a preset temperature difference range is detected, and when the difference between the object temperature and the normal temperature is within the preset temperature difference range, the object temperature is matched with the type of the object, which indicates that the temperature of the object to be detected is normal at the moment; when the difference between the detected object temperature and the normal temperature is not within the range of the preset temperature difference value, the object temperature is not matched with the object type, and the temperature of the object to be detected is abnormal at the moment, so that the temperature information containing the object temperature is displayed at the position of the object to be detected in the environment image; in one embodiment, after an object to be detected is identified, object humidity of the object to be detected is obtained, corresponding normal humidity is obtained according to object types, whether the difference between the object humidity and the normal humidity is within a preset humidity difference value range or not is detected, and when the difference between the object humidity and the normal humidity is within the preset humidity difference value range, the object humidity is matched with the object types, so that the humidity of the object to be detected is normal at the moment; when the difference between the detected object humidity and the normal humidity is not within the preset humidity difference value range, the object humidity is not matched with the object type, and the humidity of the object to be detected is abnormal, so that the humidity information containing the object humidity is displayed at the position of the object to be detected in the environment image. Therefore, the temperature information and/or the humidity information of the object with normal temperature or normal humidity does not need to be displayed on the display screen, and only the object with abnormal temperature or normal humidity is displayed on the display screen, so that the temperature information or the humidity information can be displayed more accurately, more conveniently and intuitively, and information confusion caused by too much temperature information displayed on the display screen is avoided.

In one embodiment, the step of identifying the environment image to obtain at least one object to be measured in the environment image includes: identifying the environment image to obtain at least one object to be detected in the environment image and obtain the object type of the object to be detected; the step of detecting the temperature and/or the humidity of the object to be detected and obtaining the temperature and/or the humidity of the object further comprises the following steps: acquiring recommendation information corresponding to the object temperature and the object type according to the object temperature and the object type, wherein the recommendation information is used for guiding a user to operate the object; the step of displaying temperature information and/or humidity information in the environment image includes: and displaying the recommended information and temperature information containing the temperature of the object at the position of the object to be detected in the environment image.

In this embodiment, the recommendation information is used to recommend an operation on the current object to be measured to the user. Each recommendation information is determined by the object temperature and the object type, for example, the same object type, and the recommendation information is different at different object temperatures, for example, different object types, and the corresponding recommendation information is different at the same object temperature. For example, at the same object temperature, the drinking cups and the beverages have different taste, and the drinking cups and the beverages have different usage scenes, so that the corresponding recommendation information of the drinking cups and the beverages is different.

In this embodiment, in addition to the temperature information, recommended information is also displayed in the environment image, for example, in fig. 4, the temperature information displayed beside the cup is "suitable for drinking", and the temperature information displayed beside the beverage is "cool and delicious".

In this embodiment, the corresponding recommendation information is acquired according to the object temperature and the object type, and the recommendation information is displayed, so that the user can quickly learn the recommendation operation on the object, and the user can avoid misoperation, for example, the user can avoid drinking hot water with too high temperature by mistake, and the recommendation information is determined through the combination of the object temperature and the object type, so that the acquisition of the recommendation information is more accurate, and the applicability is more wide.

The step of identifying the environment image to obtain at least one object to be measured in the environment image comprises: identifying the environment image to obtain at least one object to be detected in the environment image and obtain the object type of the object to be detected; the step of detecting the temperature and/or the humidity of the object to be detected and obtaining the temperature and/or the humidity of the object further comprises the following steps: acquiring recommendation information corresponding to the object humidity and the object type according to the object humidity and the object type, wherein the recommendation information is used for guiding a user to operate the object; the step of displaying temperature information and/or humidity information in the environment image includes: displaying the recommendation information and the humidity information in the environment image.

In this embodiment, the recommendation information is used to recommend an operation on the current object to be measured to the user. Each recommendation information is determined by the object humidity and the object type, for example, the same object type, and the recommendation information is different under different object humidities, for example, different object types, and the corresponding recommendation information is different under the same object humidity. For example, in the same object humidity, the drinking cups and the beverages have different taste, and the drinking cups and the beverages have different use scenes, so that the corresponding recommendation information of the drinking cups and the beverages is different. The operation of the user can be recommended according to the humidity of the object, so that the operation of the user is more accurate and flexible.

In one embodiment, the step of detecting the temperature and/or humidity of the object to be detected to obtain the object temperature and/or object humidity further includes: obtaining a preset normal temperature range corresponding to the object type of the object to be measured; detecting whether the temperature of the object is matched with the preset normal temperature range; and when the object temperature is not matched with the preset normal temperature range, outputting alarm information.

In this embodiment, the manner of outputting the alarm information includes sounding or displaying the alarm information. The normal forward temperature range is a temperature in a normal state corresponding to a certain object type, for example, a temperature range when an electrical appliance normally works, if the detected temperature of the object is not matched with the normal state corresponding to the detected temperature, that is, the detected temperature of the object is not in a preset normal temperature range, it is indicated that the temperature of the object is abnormal at the moment, for example, the electrical appliance is overheated, at the moment, an alarm message is output to remind a user, the alarm message may be displayed in an environment image, for example, in a normal state, a font of the displayed object temperature is blue, and when the temperature is abnormal, a font of the displayed object temperature is red; further, it may be output by sound, for example, the alarm information may be output by a buzzer.

In one embodiment, if the detected object is an electric appliance, the working temperature of the electric appliance exceeds the normal range, in order to timely remind a user, the burning-out effect of the electric appliance caused by continuous working at the abnormal temperature is avoided, the safety problem is avoided, the alarm information is sent out through a buzzer or a loudspeaker, in addition, the normal temperature and the abnormal temperature can be distinguished through different display colors, namely, when the abnormality occurs, the displayed marking form is different from the general state, if the temperature is matched, the marking is blue, and when the temperature is not matched, the marking is red. Therefore, the user can timely know the electrical appliance with abnormal work in the environment, the alertness of the user is effectively improved, and the safety problem is avoided.

In one embodiment, the step of detecting the temperature of the object to be measured to obtain the object temperature includes: acquiring a selection instruction, and selecting at least one object to be detected in the environment image; and detecting the temperature of the selected object to be detected to obtain the temperature of the object.

In this embodiment, the selection instruction is input by a user, the input of the selection instruction may be input by a key, or by touching the display screen with a limb of the user, or by other existing input devices, the selection instruction is used to select an object to be detected in the environment image, the temperature of the selected object to be detected is detected, and after the temperature of the object is obtained, the temperature information is displayed on the object to be detected. And to the object that is not selected in the environment image, do not carry out temperature detection to it, like this, can avoid carrying out temperature detection to each object in the environment entirely, and only carry out temperature detection and temperature display to the object that awaits measuring that the user selects, can make the demonstration of temperature information more accurate, and more simple and convenient, directly perceived, avoided showing too much temperature information on the display screen and leading to the information confusion, and reduced the performance requirement that data processing brought, reduced the requirement to the hardware.

In one embodiment, the step of detecting the temperature and/or humidity of the environment and obtaining the ambient temperature and/or ambient humidity further includes: obtaining recommendation information corresponding to the environmental humidity or the object temperature according to the corresponding relation between preset recommendation information and humidity or temperature; the step of displaying temperature information and/or humidity information in the environment image includes: and displaying suggestion information, temperature information and/or humidity information in the environment image, wherein the temperature information comprises the object temperature and/or the environment temperature, and the humidity information comprises the object humidity and/or the environment humidity.

In this embodiment, the advice information displayed in the environment image is information corresponding to the current humidity or the object temperature, and is used to give the user advice. The advice information may be advice made for humidity, in which case the advice information corresponds to ambient humidity, or object temperature, in which case the advice information corresponds to object temperature. One embodiment is that the suggested information is at least one, and each suggested information is respectively corresponding to the humidity of a plurality of objects one by one; one embodiment is that the suggested information is at least one, and each suggested information corresponds to the environmental humidity respectively; one embodiment is that the recommendation information is at least two, one part of each recommendation information corresponds to the ambient humidity, and the other part of each recommendation information corresponds to the object temperature.

In this embodiment, the recommendation information is for an operation performed by the user at the current humidity. The recommendation information is determined by the ambient humidity, and each recommendation information corresponds to an ambient humidity range, so that after the current ambient humidity is obtained, the recommendation information corresponding to the ambient humidity can be obtained, and the recommendation information is displayed. For example, in fig. 4, the humidity information is "ambient humidity 15%", and the advice information is "it is recommended to turn on the humidifier".

In one embodiment, the step of identifying the environment image to obtain at least one object to be measured in the environment image includes: and scanning the object within the preset distance, and determining the object to be measured.

In this embodiment, an object within a preset distance range may also be determined in a scanning manner, and when different objects are obtained through scanning, it is determined that the different objects are respectively objects to be detected, and then temperature detection is performed on the objects to be detected respectively.

It should be understood that, although the steps in the flowchart of fig. 1 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 1 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

Example two

In this embodiment, in order to satisfy the user and measure the temperature humidity of a plurality of objects in the environment, the accessible transparent screen is fixed a position the environment, starts the built-in temperature sensing chip of machine, scans the environment object in certain distance, discerns the temperature and the humidity of different objects. The scanning process is displayed in the screen until the final temperature and humidity are displayed, interaction can be generated between the scanning process and a user, the temperature and humidity measurement is not single and tedious any more, and the method is more visual and convenient.

Please refer to fig. 5, the specific implementation process is as follows:

a1, starting the temperature and humidity measurement function of the machine, immediately displaying a transparent screen, and identifying the current environment;

b1, scanning the current environment by a screen, and identifying objects with measurable temperature, such as cup water temperature, beverage temperature, environment humidity and the like;

c1, displaying the current environment humidity in the screen, and giving a suggestion of starting a humidifier or a dehumidifier by the system according to the humidity so that a user can adjust the environment humidity in time to achieve the most comfortable state;

d1, after identifying the object, forming an aiming ring in the screen, for animation display, selecting the object frame, starting to measure the temperature, displaying the object temperature in the screen through system detection, and identifying the water temperature or cold drink at the same time to give a suggestion of suitable drinking and taste;

e1, the user can click the object in the screen manually, the system can select the object instantly to identify the temperature and detect the temperature intelligently, and the interaction between the user and the screen is enhanced through the manual detection of the user and the micro-effect display, so that the temperature measurement is more visual.

EXAMPLE III

In this embodiment, as shown in fig. 2, a temperature and humidity measuring apparatus is provided, which includes:

an environment image obtaining module 210, configured to obtain an environment image;

the object-to-be-detected identification module 220 is configured to identify the environment image to obtain at least one object to be detected in the environment image;

and the object temperature and humidity detection module 230 is configured to detect the temperature and/or humidity of the object to be detected, so as to obtain the object temperature and/or the object humidity.

In one embodiment, the temperature and humidity measuring device further comprises:

and the environment temperature and humidity detection module is used for detecting the temperature and/or the humidity of the environment to obtain the environment temperature and/or the environment humidity.

In one embodiment, the temperature and humidity measuring device further comprises:

and the environment image display module is used for displaying temperature information and/or humidity information in the environment image, wherein the temperature information comprises the object temperature and/or the environment temperature, and the humidity information comprises the object humidity and/or the environment humidity.

In an embodiment, the environment image display module is further configured to display temperature information and/or humidity information in the environment image by using a transparent screen, where the temperature information includes the object temperature and/or the environment temperature, and the humidity information includes the object humidity and/or the environment humidity.

In an embodiment, the to-be-detected object identification module is further configured to identify the environment image, obtain at least one to-be-detected object in the environment image, and obtain an object type of the to-be-detected object;

the object temperature and humidity detection module is further used for detecting the temperature and/or the humidity of the object to be detected to obtain the object temperature and/or the object humidity; detecting whether the object temperature is matched with the object type or not according to a preset corresponding relation between the object type and the normal temperature; and/or detecting whether the object humidity is matched with the object type according to a preset corresponding relation between the object type and the normal humidity;

the environment image display module is further used for displaying and displaying the temperature information and/or the humidity information in a preset display mode in the environment image when the object temperature is not matched with the object type, wherein the temperature information comprises the object temperature and/or the environment temperature, and the humidity information comprises the object humidity and/or the environment humidity.

In an embodiment, the to-be-detected object identification module is further configured to identify the environment image, obtain at least one to-be-detected object in the environment image, and obtain an object type of the to-be-detected object;

the temperature and humidity measuring device further comprises:

the first recommendation information obtaining module is used for obtaining recommendation information corresponding to the object temperature and the object type according to the object temperature and the object type, and the recommendation information is used for guiding a user to operate the object;

the environment image display module is further used for displaying the recommendation information and the temperature information in the environment image.

In an embodiment, the to-be-detected object identification module is further configured to identify the environment image, obtain at least one to-be-detected object in the environment image, and obtain an object type of the to-be-detected object;

the temperature and humidity measuring device further comprises:

the second recommendation information obtaining module is used for obtaining recommendation information corresponding to the object humidity and the object type according to the object humidity and the object type, and the recommendation information is used for guiding a user to operate the object;

the environment image display module is further used for displaying the recommendation information and the humidity information in the environment image.

In one embodiment, the temperature and humidity measuring device further comprises:

a preset normal temperature range obtaining module, configured to obtain a preset normal temperature range corresponding to an object type of the object to be detected;

the temperature range detection module is used for detecting whether the temperature of the object is matched with the preset normal temperature range;

and the alarm information output module is used for outputting alarm information when the object temperature is not matched with the preset normal temperature range.

In one embodiment, the object temperature and humidity detection module includes:

a selection instruction acquisition unit, configured to acquire a selection instruction and select at least one object to be detected in the environment image;

and the object temperature and humidity detection unit is used for detecting the temperature and/or the humidity of the selected object to be detected to obtain the object temperature and/or the object humidity.

In one embodiment, the temperature and humidity measuring device further comprises:

the recommendation information obtaining module is used for obtaining recommendation information corresponding to the environment humidity or the object temperature according to the corresponding relation between preset recommendation information and humidity or temperature;

the environment image display module is further configured to display suggestion information, temperature information and/or humidity information in the environment image, where the temperature information includes the object temperature and/or the environment temperature, and the humidity information includes the object humidity and/or the environment humidity.

In one embodiment, the object to be detected identification module is further configured to scan an object within a preset distance, and determine that the object to be detected is the object to be detected.

For the specific definition of the temperature and humidity measuring device, reference may be made to the above definition of the temperature and humidity measuring method, which is not described herein again. The units in the temperature and humidity measuring device can be wholly or partially realized by software, hardware and a combination thereof. The units can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the units.

Example four

In this embodiment, a computer device is provided. The internal structure thereof may be as shown in fig. 3. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The nonvolatile storage medium stores an operating system and a computer program, and is deployed with a database for storing temperature information and humidity information and also storing sample data of a learning model. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with other computer devices that deploy application software. The computer program is executed by a processor to implement a method of temperature and humidity measurement. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.

Those skilled in the art will appreciate that the architecture shown in fig. 3 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.

In one embodiment, there is provided a computer device comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program:

acquiring an environment image;

identifying the environment image to obtain at least one object to be detected in the environment image;

and detecting the temperature and/or the humidity of the object to be detected to obtain the temperature and/or the humidity of the object.

In one embodiment, the processor, when executing the computer program, further performs the steps of: and detecting the temperature and/or the humidity of the environment to obtain the ambient temperature and/or the ambient humidity.

In one embodiment, the processor, when executing the computer program, further performs the steps of:

and displaying temperature information and/or humidity information in the environment image, wherein the temperature information comprises the object temperature and/or the environment temperature, and the humidity information comprises the object humidity and/or the environment humidity.

In one embodiment, the processor, when executing the computer program, further performs the steps of:

adopt transparent screen to be in show temperature information and/or humidity information in the environment image, wherein, temperature information contains object temperature and/or ambient temperature, humidity information contains object humidity and/or ambient humidity.

In one embodiment, the processor, when executing the computer program, further performs the steps of:

identifying the environment image to obtain at least one object to be detected in the environment image and obtain the object type of the object to be detected;

detecting the temperature and/or the humidity of the object to be detected to obtain the temperature and/or the humidity of the object;

detecting whether the object temperature is matched with the object type or not according to a preset corresponding relation between the object type and the normal temperature; and/or

Detecting whether the object humidity is matched with the object type or not according to a preset corresponding relation between the object type and the normal humidity;

when the object temperature does not match with the object type, the temperature information and/or the humidity information are displayed in the environment image in a preset display mode, wherein the temperature information comprises the object temperature and/or the environment temperature, and the humidity information comprises the object humidity and/or the environment humidity.

In one embodiment, the processor, when executing the computer program, further performs the steps of:

identifying the environment image to obtain at least one object to be detected in the environment image and obtain the object type of the object to be detected;

acquiring recommendation information corresponding to the object temperature and the object type according to the object temperature and the object type, wherein the recommendation information is used for guiding a user to operate the object;

displaying the recommended information and the temperature information in the environment image.

In one embodiment, the processor, when executing the computer program, further performs the steps of:

identifying the environment image to obtain at least one object to be detected in the environment image and obtain the object type of the object to be detected;

acquiring recommendation information corresponding to the object humidity and the object type according to the object humidity and the object type, wherein the recommendation information is used for guiding a user to operate the object;

displaying the recommendation information and the humidity information in the environment image.

In one embodiment, the processor, when executing the computer program, further performs the steps of:

obtaining a preset normal temperature range corresponding to the object type of the object to be detected;

detecting whether the temperature of the object is matched with the preset normal temperature range;

and when the object temperature is not matched with the preset normal temperature range, outputting alarm information.

In one embodiment, the processor, when executing the computer program, further performs the steps of:

acquiring a selection instruction, and selecting at least one object to be detected in the environment image;

and detecting the temperature and/or the humidity of the selected object to be detected to obtain the object temperature and/or the object humidity.

In one embodiment, the processor, when executing the computer program, further performs the steps of:

obtaining recommendation information corresponding to the environmental humidity or the object temperature according to the corresponding relation between preset recommendation information and humidity or temperature;

and displaying suggestion information, temperature information and/or humidity information in the environment image, wherein the temperature information comprises the object temperature and/or the environment temperature, and the humidity information comprises the object humidity and/or the environment humidity.

In one embodiment, the processor, when executing the computer program, further performs the steps of:

and scanning the object within the preset distance, and determining the object to be detected.

EXAMPLE five

In this embodiment, a computer-readable storage medium is provided, on which a computer program is stored, the computer program realizing the following steps when executed by a processor:

acquiring an environment image;

identifying the environment image to obtain at least one object to be detected in the environment image;

and detecting the temperature and/or the humidity of the object to be detected to obtain the temperature and/or the humidity of the object.

In one embodiment, the computer program when executed by the processor further performs the steps of: and detecting the temperature and/or the humidity of the environment to obtain the ambient temperature and/or the ambient humidity.

In one embodiment, the computer program when executed by the processor further performs the steps of:

and displaying temperature information and/or humidity information in the environment image, wherein the temperature information comprises the object temperature and/or the environment temperature, and the humidity information comprises the object humidity and/or the environment humidity.

In one embodiment, the computer program when executed by the processor further performs the steps of:

adopt transparent screen to be in show temperature information and/or humidity information in the environment image, wherein, temperature information contains object temperature and/or ambient temperature, humidity information contains object humidity and/or ambient humidity.

In one embodiment, the computer program when executed by the processor further performs the steps of:

identifying the environment image to obtain at least one object to be detected in the environment image and obtain the object type of the object to be detected;

detecting the temperature and/or the humidity of the object to be detected to obtain the temperature and/or the humidity of the object;

detecting whether the object temperature is matched with the object type or not according to a preset corresponding relation between the object type and the normal temperature; and/or

Detecting whether the object humidity is matched with the object type or not according to a preset corresponding relation between the object type and the normal humidity;

when the object temperature does not match with the object type, the temperature information and/or the humidity information are displayed in the environment image in a preset display mode, wherein the temperature information comprises the object temperature and/or the environment temperature, and the humidity information comprises the object humidity and/or the environment humidity.

In one embodiment, the computer program when executed by the processor further performs the steps of:

identifying the environment image to obtain at least one object to be detected in the environment image and obtain the object type of the object to be detected;

acquiring recommendation information corresponding to the object temperature and the object type according to the object temperature and the object type, wherein the recommendation information is used for guiding a user to operate the object;

displaying the recommended information and the temperature information in the environment image.

In one embodiment, the computer program when executed by the processor further performs the steps of:

identifying the environment image to obtain at least one object to be detected in the environment image and obtain the object type of the object to be detected;

acquiring recommendation information corresponding to the object humidity and the object type according to the object humidity and the object type, wherein the recommendation information is used for guiding a user to operate the object;

displaying the recommendation information and the humidity information in the environment image.

In one embodiment, the computer program when executed by the processor further performs the steps of:

obtaining a preset normal temperature range corresponding to the object type of the object to be detected;

detecting whether the temperature of the object is matched with the preset normal temperature range;

and when the object temperature is not matched with the preset normal temperature range, outputting alarm information.

In one embodiment, the computer program when executed by the processor further performs the steps of:

acquiring a selection instruction, and selecting at least one object to be detected in the environment image;

and detecting the temperature and/or the humidity of the selected object to be detected to obtain the object temperature and/or the object humidity.

In one embodiment, the computer program when executed by the processor further performs the steps of:

obtaining recommendation information corresponding to the environmental humidity or the object temperature according to the corresponding relation between preset recommendation information and humidity or temperature;

and displaying suggestion information, temperature information and/or humidity information in the environment image, wherein the temperature information comprises the object temperature and/or the environment temperature, and the humidity information comprises the object humidity and/or the environment humidity.

In one embodiment, the computer program when executed by the processor further performs the steps of:

and scanning the object within the preset distance, and determining the object to be detected.

It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.

The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种小型化空间辐射效应风险监测系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!