CN108834066A - Method and apparatus for generating information - Google Patents
Method and apparatus for generating information Download PDFInfo
- Publication number
- CN108834066A CN108834066A CN201810677875.3A CN201810677875A CN108834066A CN 108834066 A CN108834066 A CN 108834066A CN 201810677875 A CN201810677875 A CN 201810677875A CN 108834066 A CN108834066 A CN 108834066A
- Authority
- CN
- China
- Prior art keywords
- mobile object
- target area
- distance
- video
- threshold value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/41—Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items
- G06V20/42—Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items of sport video content
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/18—Status alarms
- G08B21/182—Level alarms, e.g. alarms responsive to variables exceeding a threshold
Landscapes
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
Abstract
The embodiment of the present application discloses the method and apparatus for generating information.One specific embodiment of the above method includes:Obtain the video of the image comprising target area of image acquisition device;Compare at least two field pictures in video, determines at least one mobile object mobile relative to the target area in video, obtain mobile object set;Whether it is less than pre-determined distance threshold value at a distance from determining at least one mobile object in mobile object set between target area;It is less than pre-determined distance threshold value in response to the above-mentioned distance of determination, generates warning message.The embodiment realizes the monitoring alarm of target area, improves safety.
Description
Technical field
The invention relates to field of computer technology, and in particular to the method and apparatus for generating information.
Background technique
With the continuous improvement of contemporary network environments, enhancing and independence that promotion, the security protection of customer consumption ability are realized
Formula resident home increases, and camera head monitor becomes the primary selection of contemporary user.Particularly with special population (as old, children,
It is sick, residual, pregnant etc.), monitoring instant early warning is particularly important.
Summary of the invention
The embodiment of the present application proposes the method and apparatus for generating information.
In a first aspect, the embodiment of the present application provides a kind of method for generating information, including:Obtain image collector
Set the video of the image comprising target area of acquisition;At least two field pictures in more above-mentioned video, determine in above-mentioned video
At least one mobile object mobile relative to above-mentioned target area, obtains mobile object set;Determine above-mentioned mobile object collection
At least one mobile object in conjunction between above-mentioned target area at a distance from whether be less than pre-determined distance threshold value;In response in determination
It states distance and is less than pre-determined distance threshold value, generate warning message.
In some embodiments, video includes depth information;And in the above-mentioned above-mentioned mobile object set of determination at least
One mobile object between above-mentioned target area at a distance from whether be less than pre-determined distance threshold value, including:According to above-mentioned depth information,
Determine of mobile object in the first depth value set and at least one above-mentioned mobile object on the boundary of above-mentioned target area
Two depth values;According to above-mentioned first depth value set and each above-mentioned second depth value, determine in above-mentioned mobile object set
At least one mobile object between above-mentioned target area at a distance from whether be less than pre-determined distance threshold value.
In some embodiments, the above method further includes:User is received at least one in above-mentioned mobile object set
The markup information of mobile object;Determine that at least one mobile object that above-mentioned markup information is directed to is target object;And it is above-mentioned
Whether be less than at a distance from determining at least one mobile object in above-mentioned mobile object set between above-mentioned target area it is default away from
From threshold value, including:Whether it is less than pre-determined distance threshold value at a distance from determining above-mentioned target object between above-mentioned target area.
In some embodiments, the above method further includes:Determine above-mentioned target area in an at least frame figure for above-mentioned video
Position as in;Determine the distance between above-mentioned target area and above-mentioned image collecting device;According to identified position and
Distance determines adjusting parameter;According to above-mentioned adjusting parameter, the angle of above-mentioned image collecting device is adjusted.
In some embodiments, the above method further includes:It is pre- to determine whether the brightness of target area in above-mentioned video is less than
If luminance threshold;It is less than predetermined luminance threshold value in response to above-mentioned brightness, the infrared illumination of above-mentioned image collecting device is opened in control
Device.
Second aspect, the embodiment of the present application provide it is a kind of for generating the device of information, including:Video acquisition unit,
It is configured to obtain the video of the image comprising target area of image acquisition device;Image comparing unit, is configured to
At least two field pictures in more above-mentioned video determine at least one shifting mobile relative to above-mentioned target area in above-mentioned video
Dynamic object, obtains mobile object set;Distance determining unit is configured to determine at least one of above-mentioned mobile object set
Mobile object between above-mentioned target area at a distance from whether be less than pre-determined distance threshold value;Information generating unit is configured to respond to
In determine above-mentioned distance be less than pre-determined distance threshold value, generate warning message.
In some embodiments, video includes depth information;And above-mentioned distance determining unit is further configured to:Root
According to above-mentioned depth information, determine the boundary of above-mentioned target area the first depth value set and at least one above-mentioned mobile object
Second depth value of middle mobile object;According to above-mentioned first depth value set and each above-mentioned second depth value, above-mentioned shifting is determined
At least one mobile object in dynamic object set between above-mentioned target area at a distance from whether be less than pre-determined distance threshold value.
In some embodiments, above-mentioned apparatus further includes:Markup information receiving unit is configured to receive user for upper
State the markup information of at least one mobile object in mobile object set;Target object determination unit is configured to determine above-mentioned
At least one mobile object that markup information is directed to is target object;And above-mentioned distance determining unit is further configured to:
Whether it is less than pre-determined distance threshold value at a distance from determining above-mentioned target object between above-mentioned target area.
In some embodiments, above-mentioned apparatus further includes adjustment unit, and above-mentioned adjustment unit includes:Position determination module,
It is configured to determine position of the above-mentioned target area in an at least frame image for above-mentioned video;Apart from determining module, it is configured
At the distance between the above-mentioned target area of determination and above-mentioned image collecting device;Parameter determination module, be configured to according to really
Fixed position and distance, determines adjusting parameter;Angle adjusts module, is configured to be adjusted above-mentioned according to above-mentioned adjusting parameter
The angle of image collecting device.
In some embodiments, above-mentioned apparatus further includes infrared illumination unit, and above-mentioned infrared illumination unit is configured to:Really
Whether the brightness of target area is less than predetermined luminance threshold value in fixed above-mentioned video;It is less than predetermined luminance threshold in response to above-mentioned brightness
The infrared illuminator of above-mentioned image collecting device is opened in value, control.
The third aspect, the embodiment of the present application provide a kind of terminal device, including:One or more processors;Storage dress
It sets, is stored thereon with one or more programs, when said one or multiple programs are executed by said one or multiple processors, make
It obtains said one or multiple processors realizes the method as described in first aspect any embodiment.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, should
The method as described in first aspect any embodiment is realized when program is executed by processor.
The method and apparatus provided by the above embodiment for generating information of the application, first acquisition image collecting device
The video of the image comprising target area of acquisition.Then at least two field pictures in above-mentioned video are compared, in determination
At least one mobile object mobile relative to target area in video is stated, mobile object set is obtained.Then above-mentioned shifting is determined
At least one mobile object in dynamic object set is at a distance from target area, when above-mentioned distance is less than pre-determined distance threshold value,
Generate warning message.To realize the monitoring alarm of target area, safety is improved.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that one embodiment of the application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the method for generating information of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the method for generating information of the application;
Fig. 4 is the schematic diagram according to another application scenarios of the method for generating information of the application;
Fig. 5 is the flow chart according to another embodiment of the method for generating information of the application;
Fig. 6 is the structural schematic diagram according to one embodiment of the device for generating information of the application;
Fig. 7 is adapted for the structural schematic diagram for the computer system for realizing the terminal device of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the method for generating information of the application or the implementation of the device for generating information
The exemplary system architecture 100 of example.
As shown in Figure 1, system architecture 100 may include image collecting device 101,102, network 103 and terminal device
104,105.Network 103 between image collecting device 101,102 and terminal device 104,105 to provide Jie of communication link
Matter.Network 103 may include various connection types, such as wired, wireless communication link or fiber optic cables etc..
Image collecting device 101,102 can be the various devices for being used to acquire image or video, such as ball shape is taken the photograph
As head, rotating monitoring camera etc..Image collecting device 101,102 can be sent out the image of acquisition or video by network 103
Give terminal device 104,105.
User can be used terminal device 104,105 and control the acquisition image of image collecting device 101,102 by network 103
Or video.Various telecommunication customer end applications can be installed, such as video class application, audio class are answered on terminal device 104,105
With, social platform software etc..
Terminal device 104,105 can be hardware, be also possible to software.It, can be with when terminal device 104,105 is hardware
It is the various electronic equipments that there is display screen and support video playing, including but not limited to smart phone, tablet computer, above-knee
Type portable computer and desktop computer etc..When terminal device 104,105 is software, may be mounted at above-mentioned cited
In electronic equipment.Multiple softwares or software module (such as providing Distributed Services) may be implemented into it, also may be implemented
At single software or software module.It is not specifically limited herein.
It should be noted that provided by the embodiment of the present application for generate the method for information generally by terminal device 104,
105 execute, and correspondingly, the device for generating information is generally positioned in terminal device 104,105.
It should be understood that the number of image collecting device, network and terminal device in Fig. 1 is only schematical.According to
It realizes and needs, can have any number of image collecting device, network and terminal device.
With continued reference to Fig. 2, the process of one embodiment of the method for generating information according to the application is shown
200.The method for generating information of the present embodiment, includes the following steps:
Step 201, the video of the image comprising target area of image acquisition device is obtained.
In the present embodiment, for generate the method for information executing subject (such as terminal device shown in FIG. 1 104,
It 105) can be by wired connection mode or radio connection from image collecting device (such as Image Acquisition shown in FIG. 1
Device 101,102) place obtain video.It include the image of target area in above-mentioned video.Specifically, above-mentioned image collecting device can
To be mounted on distance objective region not far to guarantee that target area is located in its visual field.Target area can be use
The arbitrary region of monitoring is wanted at family, can be the historical relic's protection region, the danger zone in road, the window in family of scenic spot
Family etc..
It should be pointed out that above-mentioned radio connection can include but is not limited to 3G/4G connection, WiFi connection, bluetooth
Connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection and other currently known or exploitations in the future
Radio connection.
Step 202, compare at least two field pictures in video, determine at least one relative to target area movement in video
A mobile object obtains mobile object set.
In the present embodiment, executing subject can arbitrarily take in video that at least two field pictures are compared after getting video
Compared with, by comparison result determine in video relative to target area central point (or other fixed points) change in location object.It holds
Row main body can obtain mobile object set using above-mentioned object as mobile object.Above-mentioned mobile object can be pedestrian, vehicle
, animal etc..
Step 203, whether small at a distance from determining at least one mobile object in mobile object set between target area
In pre-determined distance threshold value.
After determining mobile object set, executing subject can be using at least one object in mobile object set as mesh
Mark object, then calculate target object between target area at a distance from.Above-mentioned target object can be the object of a certain type (such as
Pedestrian), it is also possible to meet the object of preset condition, is also possible to the object of user setting.Herein, above-mentioned preset condition can be with
It is pregnant woman, height in 90 centimetres of children below etc..It is understood that executing subject is after determining mobile object set, it can
To extract the feature of each mobile object in mobile object set, with the type of each mobile object of determination.Executing subject can be with
After determining the type of mobile object, further the feature of extraction is analyzed, to determine the other parameters of mobile object
(such as ratio etc. of height, abdomen width value and other position width values).Executing subject can be determined according to above-mentioned parameter
Whether mobile object meets preset condition (such as it is pregnant woman that the ratio of abdomen width value and head width value, which is greater than 1.5).
At a distance from executing subject can determine at least one above-mentioned mobile object between target area by various modes.
For example, executing subject can calculate the central point of mobile object at a distance from the central point of target area or executing subject can be with
Calculate the minimum distance of the central point of mobile object and the boundary of target area.
In some optional implementations of the present embodiment, the above method can also include unshowned following in Fig. 2
Step:User is received for the markup information of at least one mobile object in mobile object set;Determine what markup information was directed to
At least one mobile object is target object.
In this implementation, executing subject can highlight mobile pair after determining mobile object set in the picture
As set in each mobile object (such as change mobile object color, rectangle frame etc. is shown outside the profile of mobile object).
Executing subject can be presented each mobile object on the screen, so that user checks.Being performed simultaneously main body can receive user couple
The markup information of at least one object in the mobile object set of presentation.Above-mentioned markup information can be user for some
Or some or certain several mobile objects etc. that the rectangle frame drawn of certain several mobile object or user click.Executing subject
It can be target object by least one mobile object that above-mentioned markup information is directed to after receiving above-mentioned markup information.
Then correspondingly, above-mentioned steps 203 can specifically include the following contents:Determine between target object and target area away from
From whether less than pre-determined distance threshold value.
In some optional implementations of the present embodiment, above-mentioned image collecting device be can be with depth transducer
Camera, then its acquisition video in include depth information.Corresponding, then above-mentioned steps 203 can specifically include in Fig. 2 not
The following steps shown:According to depth information, the first depth value set and at least one shifting on the boundary of target area are determined
Second depth value of mobile object in dynamic object;According to the first depth value set and each second depth value, mobile object is determined
At least one mobile object in set between target area at a distance from whether be less than pre-determined distance threshold value.
In this implementation, executing subject can determine the multiple of the boundary of target area by the depth information in video
First depth value obtains the first depth value set.Meanwhile executing subject can also determine at least one above-mentioned mobile object often
Second depth value of a mobile object.Executing subject can calculate each mobile object at a distance from the boundary of target area.Example
Such as, for each second depth value, executing subject can calculate each depth in second depth value and the first depth value set
The difference of value, using the minimum value of difference as the corresponding mobile object of the second depth value at a distance from the boundary of target area.
Calculated distance can be compared by executing subject with pre-determined distance threshold value, determine whether above-mentioned distance is small
In pre-determined distance threshold value.After determining that above-mentioned distance is less than pre-determined distance threshold value, step 204 is executed.
Step 204, it is less than pre-determined distance threshold value in response to the above-mentioned distance of determination, generates warning message.
Warning message can be generated after determining that above-mentioned distance is less than pre-determined distance threshold value in executing subject.Above-mentioned alarm signal
Breath can be various forms of warning messages, for example, it may be the warning message of the warning message of audio form, written form,
The warning message etc. of light form.In the present embodiment, after executing subject can be less than pre-determined distance threshold value determining above-mentioned distance,
The audio file of audio broadcast message class application plays preset path, or control light display apparatus is called to show the lamp of pre-set color
Light.
In some optional implementations of the present embodiment, the above method can also include unshowned following in Fig. 2
Step:Determine whether the brightness of target area in video is less than predetermined luminance threshold value;It is less than predetermined luminance in response to above-mentioned brightness
The infrared illuminator of image collecting device is opened in threshold value, control.
In this implementation, image collecting device is equipped with infrared illuminator, when executing subject detects mesh in video
When marking the brightness in region less than predetermined luminance threshold value, it can control image collecting device and open infrared illuminator, infrared
Continue to acquire image under mode.
With continued reference to the signal that Fig. 3, Fig. 3 are according to an application scenarios of the method for generating information of the present embodiment
Figure.In the application scenarios of Fig. 3, depth camera 301 is provided in room, for acquiring the image in room.Parent's setting
Target area is the window 302 in room, is the children 303 in room provided with mobile object.Depth camera 301 can be with
The video of acquisition is sent to terminal 304, for parental control room.Terminal 304 is in the depth value and window for determining children 303
When depth value between 302 boundary is less than preset threshold, alarm sound is issued, to remind parent to pay attention to.
It is showing for another application scenarios of the method according to the present embodiment for generating information with continued reference to Fig. 4, Fig. 4
It is intended to.In the application scenarios of Fig. 4, target area is the construction site 402 around cell, and mobile object is pedestrian 403.
Camera 401 is used to acquire the video around construction site 402, and collected video is sent to terminal 404.Terminal 404
When being less than preset threshold at a distance from determining pedestrian 403 between construction site 402, warning information is generated.I.e. at the construction field (site)
Voice is played at 402, prompts pedestrian 403 separate.
The method provided by the above embodiment for generating information of the application obtains image acquisition device first
The video of image comprising target area.Then at least two field pictures in above-mentioned video are compared, determine above-mentioned video
In at least one mobile object mobile relative to target area, obtain mobile object set.Then above-mentioned mobile object is determined
At least one mobile object in set, when above-mentioned distance is less than pre-determined distance threshold value, generates report at a distance from target area
Alert information.To realize the monitoring alarm of target area, safety is improved.
With continued reference to Fig. 5, it illustrates the streams according to another embodiment of the method for generating information of the application
Journey 500.As shown in figure 5, the method for generating information of the present embodiment, further includes the following steps in Fig. 5:
Step 501, position of the target area in an at least frame image for video is determined.
In the present embodiment, executing subject can arbitrarily take at least frame image in video, then determine that target area exists
Position in the image.Specifically, executing subject can determine position of the central point of target area in above-mentioned image.
Step 502, the distance between target area and image collecting device are determined.
In the present embodiment, executing subject can be according to the above-mentioned at least area of a frame objective area in image, target area
The acquisition parameters (such as focal length) of actual area and image collecting device come determine target area and image collecting device it
Between distance.Or executing subject can receive the target area of user's input at a distance from image collecting device.
Step 503, according to identified position and distance, adjusting parameter is determined.
Determine target area in an at least frame image position and target area and image collecting device between
After distance, executing subject can calculate the distance between the central point of objective area in image and the central point of image, then tie
It closes and states distance, determine adjusting parameter.In the present embodiment, above-mentioned adjusting parameter may include rotation angle and direction of rotation.
Specifically, executing subject can calculate the ratio of the distance between the distance between central point and target area and image collecting device
Value.Arc cosine computing is carried out to above-mentioned ratio, obtained angle value is to rotate angle.Executing subject can will be by target area
Central point to image central point direction as direction of rotation.
Step 504, according to adjusting parameter, the angle of image collecting device is adjusted.
Above-mentioned adjusting parameter can be sent to image collecting device, make its edge by executing subject after determining adjusting parameter
Direction of rotation rotation rotation angle.It is understood that in the video of image acquisition device adjusted, target area
Central point is located at the center of image.
The method provided by the above embodiment for generating information of the application is capable of carrying out to target area for more emphasis
Monitoring improves safety.
With further reference to Fig. 6, as the realization to method shown in above-mentioned each figure, this application provides one kind for generating letter
One embodiment of the device of breath, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which can specifically answer
For in various electronic equipments.
As shown in fig. 6, the device 600 for generating information of the present embodiment includes:
Video acquisition unit 601 is configured to obtain the view of the image comprising target area of image acquisition device
Frequently.
Image comparing unit 602 is configured to compare at least two field pictures in video, determines in video relative to target
At least one mobile mobile object of region, obtains mobile object set.
Distance determining unit 603 is configured to determine at least one mobile object and target area in mobile object set
Whether the distance between domain is less than pre-determined distance threshold value.
Information generating unit 604 is configured in response to determine that above-mentioned distance is less than pre-determined distance threshold value, generates alarm signal
Breath.
In some optional implementations of the present embodiment, video includes depth information.Then above-mentioned distance determining unit
603 can be further configured to:According to depth information, the first depth value set and at least on the boundary of target area is determined
Second depth value of mobile object in one mobile object;According to the first depth value set and each second depth value, determines and move
At least one mobile object in dynamic object set between target area at a distance from whether be less than pre-determined distance threshold value.
In some optional implementations of the present embodiment, above-mentioned apparatus 600 can also include unshowned mark in Fig. 6
Infuse information receiving unit and target object determination unit.
Markup information receiving unit is configured to receive user at least one mobile object in mobile object set
Markup information.
Target object determination unit, being configured to determine at least one mobile object that markup information is directed to is target pair
As.
Correspondingly, above-mentioned distance determining unit 603 can be further configured to:It determines between target object and target area
Distance whether be less than pre-determined distance threshold value.
In some optional implementations of the present embodiment, above-mentioned apparatus 600 can also include unshowned tune in Fig. 6
Whole unit.Above-mentioned adjustment unit may include position determination module, apart from the adjustment of determining module, parameter determination module and angle
Module.
Position determination module is configured to determine position of the target area in an at least frame image for video.
Apart from determining module, it is configured to determine the distance between target area and image collecting device.
Parameter determination module is configured to determine adjusting parameter according to identified position and distance.
Angle adjusts module, is configured to adjust the angle of image collecting device according to adjusting parameter.
In some optional implementations of the present embodiment, above-mentioned apparatus 600 can also include unshowned tune in Fig. 6
Whole unit.Above-mentioned adjustment unit is configured to:Determine whether the brightness of target area in video is less than predetermined luminance threshold value;Response
It is less than predetermined luminance threshold value in above-mentioned brightness, the infrared illuminator of image collecting device is opened in control.
The application's is provided by the above embodiment for generating the device of information, obtains image acquisition device first
The video of image comprising target area.Then at least two field pictures in above-mentioned video are compared, determine above-mentioned video
In at least one mobile object mobile relative to target area, obtain mobile object set.Then above-mentioned mobile object is determined
At least one mobile object in set, when above-mentioned distance is less than pre-determined distance threshold value, generates report at a distance from target area
Alert information.To realize the monitoring alarm of target area, safety is improved.
It should be appreciated that for generating the unit 601 recorded in the device 600 of information to unit 604 respectively and in reference Fig. 2
Each step in the method for description is corresponding.As a result, above with respect to the operation and feature of the method description for generating information
It is equally applicable to device 600 and unit wherein included, details are not described herein.
Below with reference to Fig. 7, it illustrates the computer systems 700 for the terminal device for being suitable for being used to realize the embodiment of the present application
Structural schematic diagram.Terminal device shown in Fig. 7/be only an example, should not function and use to the embodiment of the present application
Range band carrys out any restrictions.
As shown in fig. 7, computer system 700 includes central processing unit (CPU) 701, it can be read-only according to being stored in
Program in memory (ROM) 702 or be loaded into the program in random access storage device (RAM) 703 from storage section 708 and
Execute various movements appropriate and processing.In RAM 703, also it is stored with system 700 and operates required various programs and data.
CPU 701, ROM 702 and RAM 703 are connected with each other by bus 704.Input/output (I/O) interface 705 is also connected to always
Line 704.
I/O interface 705 is connected to lower component:Importation 706 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 707 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 708 including hard disk etc.;
And the communications portion 709 of the network interface card including LAN card, modem etc..Communications portion 709 via such as because
The network of spy's net executes communication process.Driver 710 is also connected to I/O interface 705 as needed.Detachable media 711, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 710, in order to read from thereon
Computer program be mounted into storage section 708 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising carrying is on a machine-readable medium
Computer program, which includes the program code for method shown in execution flow chart.In such implementation
In example, which can be downloaded and installed from network by communications portion 709, and/or from detachable media 711
It is mounted.When the computer program is executed by central processing unit (CPU) 701, limited in execution the present processes upper
State function.
It should be noted that computer-readable medium described herein can be computer-readable signal media or
Computer readable storage medium either the two any combination.Computer readable storage medium for example can be --- but
Be not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.
The more specific example of computer readable storage medium can include but is not limited to:Electrical connection with one or more conducting wires,
Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only deposit
Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory
Part or above-mentioned any appropriate combination.
In this application, computer readable storage medium can be any tangible medium for including or store program, the journey
Sequence can be commanded execution system, device or device use or in connection.And in this application, it is computer-readable
Signal media may include in a base band or as carrier wave a part propagate data-signal, wherein carrying computer can
The program code of reading.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, optical signal or
Above-mentioned any appropriate combination.Computer-readable signal media can also be any other than computer readable storage medium
Computer-readable medium, the computer-readable medium can send, propagate or transmit for by instruction execution system, device or
Person's device uses or program in connection.The program code for including on computer-readable medium can be with any appropriate
Medium transmission, including but not limited to:Wirelessly, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof
Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+
+, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can
Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,
Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit also can be set in the processor, for example, can be described as:A kind of processor packet
Include video acquisition unit, image comparing unit, distance determining unit and information generating unit.Wherein, the title of these units exists
The restriction to the unit itself is not constituted in the case of certain, for example, video acquisition unit is also described as " obtaining image
The unit of the video of the image comprising target area of acquisition device acquisition ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating
Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should
Device:Obtain the video of the image comprising target area of image acquisition device;Compare at least two field pictures in video,
It determines at least one mobile object mobile relative to the target area in video, obtains mobile object set;Determine movement
At least one mobile object in object set between target area at a distance from whether be less than pre-determined distance threshold value;In response to determination
Above-mentioned distance is less than pre-determined distance threshold value, generates warning message.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (12)
1. a kind of method for generating information, including:
Obtain the video of the image comprising target area of image acquisition device;
Compare at least two field pictures in the video, determines at least one relative to target area movement in the video
A mobile object obtains mobile object set;
Whether it is less than at a distance from determining at least one mobile object in the mobile object set between the target area pre-
If distance threshold;
It is less than pre-determined distance threshold value in response to the determination distance, generates warning message.
2. according to the method described in claim 1, wherein, the video includes depth information;And
At least one mobile object in the determination mobile object set between the target area at a distance from it is whether small
In pre-determined distance threshold value, including:
According to the depth information, determine the boundary of the target area the first depth value set and at least one described shifting
Second depth value of mobile object in dynamic object;
According to the first depth value set and each second depth value, at least one in the mobile object set is determined
A mobile object between the target area at a distance from whether be less than pre-determined distance threshold value.
3. according to the method described in claim 1, wherein, the method also includes:
User is received for the markup information of at least one mobile object in the mobile object set;
Determine that at least one mobile object that the markup information is directed to is target object;And
At least one mobile object in the determination mobile object set between the target area at a distance from it is whether small
In pre-determined distance threshold value, including:
Whether it is less than pre-determined distance threshold value at a distance from determining the target object between the target area.
4. according to the method described in claim 1, wherein, the method also includes:
Determine position of the target area in an at least frame image for the video;
Determine the distance between the target area and described image acquisition device;
According to identified position and distance, adjusting parameter is determined;
According to the adjusting parameter, the angle of described image acquisition device is adjusted.
5. according to the method described in claim 1, wherein, the method also includes:
Determine whether the brightness of target area in the video is less than predetermined luminance threshold value;
It is less than predetermined luminance threshold value in response to the brightness, the infrared illuminator of described image acquisition device is opened in control.
6. it is a kind of for generating the device of information, including:
Video acquisition unit is configured to obtain the video of the image comprising target area of image acquisition device;
Image comparing unit, at least two field pictures being configured in video described in comparison determine in the video relative to institute
At least one mobile mobile object of target area is stated, mobile object set is obtained;
Distance determining unit, at least one mobile object being configured to determine in the mobile object set and the target area
Whether the distance between domain is less than pre-determined distance threshold value;
Information generating unit is configured in response to determine that the distance is less than pre-determined distance threshold value, generates warning message.
7. device according to claim 6, wherein the video includes depth information;And
The distance determining unit is further configured to:
According to the depth information, determine the boundary of the target area the first depth value set and at least one described shifting
Second depth value of mobile object in dynamic object;
According to the first depth value set and each second depth value, at least one in the mobile object set is determined
A mobile object between the target area at a distance from whether be less than pre-determined distance threshold value.
8. device according to claim 6, wherein described device further includes:
Markup information receiving unit is configured to receive user at least one mobile object in the mobile object set
Markup information;
Target object determination unit, being configured to determine at least one mobile object that the markup information is directed to is target pair
As;And
The distance determining unit is further configured to:
Whether it is less than pre-determined distance threshold value at a distance from determining the target object between the target area.
9. device according to claim 6, wherein described device further includes adjustment unit, and the adjustment unit includes:
Position determination module is configured to determine position of the target area in an at least frame image for the video;
Apart from determining module, it is configured to determine the distance between the target area and described image acquisition device;
Parameter determination module is configured to determine adjusting parameter according to identified position and distance;
Angle adjusts module, is configured to adjust the angle of described image acquisition device according to the adjusting parameter.
10. device according to claim 6, wherein described device further includes infrared illumination unit, the infrared illumination list
Member is configured to:
Determine whether the brightness of target area in the video is less than predetermined luminance threshold value;
It is less than predetermined luminance threshold value in response to the brightness, the infrared illuminator of described image acquisition device is opened in control.
11. a kind of terminal device, including:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as method as claimed in any one of claims 1 to 5.
12. a kind of computer-readable medium, is stored thereon with computer program, wherein the realization when program is executed by processor
Such as method as claimed in any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810677875.3A CN108834066A (en) | 2018-06-27 | 2018-06-27 | Method and apparatus for generating information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810677875.3A CN108834066A (en) | 2018-06-27 | 2018-06-27 | Method and apparatus for generating information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108834066A true CN108834066A (en) | 2018-11-16 |
Family
ID=64139042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810677875.3A Pending CN108834066A (en) | 2018-06-27 | 2018-06-27 | Method and apparatus for generating information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108834066A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111007942A (en) * | 2019-12-25 | 2020-04-14 | 歌尔股份有限公司 | Wearable device and input method thereof |
CN112365536A (en) * | 2020-10-19 | 2021-02-12 | 深圳市太和世纪文化创意有限公司 | CAVE immersive virtual display method, system, equipment and readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104680555A (en) * | 2015-02-13 | 2015-06-03 | 电子科技大学 | Border-crossing detection method and border-crossing monitoring system based on video monitoring |
CN104867161A (en) * | 2015-05-14 | 2015-08-26 | 国家电网公司 | Video-processing method and device |
CN105141885A (en) * | 2014-05-26 | 2015-12-09 | 杭州海康威视数字技术股份有限公司 | Method for video monitoring and device |
CN105575027A (en) * | 2014-10-09 | 2016-05-11 | 北京君正集成电路股份有限公司 | Invasion and perimeter defense method and invasion and perimeter defense device |
KR101699883B1 (en) * | 2016-03-16 | 2017-01-25 | 주식회사 에이디티캡스 | Unmanned security apparatus, server, system and method for sensing intrusion signs |
CN106559653A (en) * | 2016-10-28 | 2017-04-05 | 国网福建省电力有限公司 | Nearly electricity operation safe monitoring early warning system |
EP3163498A2 (en) * | 2015-10-28 | 2017-05-03 | Xiaomi Inc. | Alarming method and device |
CN206790630U (en) * | 2017-04-27 | 2017-12-22 | 刘斌 | A kind of human body monitoring device and system |
-
2018
- 2018-06-27 CN CN201810677875.3A patent/CN108834066A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105141885A (en) * | 2014-05-26 | 2015-12-09 | 杭州海康威视数字技术股份有限公司 | Method for video monitoring and device |
CN105575027A (en) * | 2014-10-09 | 2016-05-11 | 北京君正集成电路股份有限公司 | Invasion and perimeter defense method and invasion and perimeter defense device |
CN104680555A (en) * | 2015-02-13 | 2015-06-03 | 电子科技大学 | Border-crossing detection method and border-crossing monitoring system based on video monitoring |
CN104867161A (en) * | 2015-05-14 | 2015-08-26 | 国家电网公司 | Video-processing method and device |
EP3163498A2 (en) * | 2015-10-28 | 2017-05-03 | Xiaomi Inc. | Alarming method and device |
KR101699883B1 (en) * | 2016-03-16 | 2017-01-25 | 주식회사 에이디티캡스 | Unmanned security apparatus, server, system and method for sensing intrusion signs |
CN106559653A (en) * | 2016-10-28 | 2017-04-05 | 国网福建省电力有限公司 | Nearly electricity operation safe monitoring early warning system |
CN206790630U (en) * | 2017-04-27 | 2017-12-22 | 刘斌 | A kind of human body monitoring device and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111007942A (en) * | 2019-12-25 | 2020-04-14 | 歌尔股份有限公司 | Wearable device and input method thereof |
CN112365536A (en) * | 2020-10-19 | 2021-02-12 | 深圳市太和世纪文化创意有限公司 | CAVE immersive virtual display method, system, equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101945082B1 (en) | Method for transmitting media contents, apparatus for transmitting media contents, method for receiving media contents, apparatus for receiving media contents | |
CN108446387A (en) | Method and apparatus for updating face registration library | |
CN104918107B (en) | The identification processing method and device of video file | |
CN108446698A (en) | Method, apparatus, medium and the electronic equipment of text are detected in the picture | |
CN108446651A (en) | Face identification method and device | |
US20120098965A1 (en) | Method and system for converting privacy zone planar images to their corresponding pan/tilt coordinates | |
AU2014374638A1 (en) | Image processing apparatus and method | |
CN109087238A (en) | Image processing method and device, electronic equipment and computer readable storage medium | |
CN111582090A (en) | Face recognition method and device and electronic equipment | |
CN108335138A (en) | Information-pushing method and device | |
CN108260020A (en) | The method and apparatus that interactive information is shown in panoramic video | |
JP2024512210A (en) | Multimedia information processing methods, devices, electronic devices and storage media | |
CN108510084A (en) | Method and apparatus for generating information | |
CN108834066A (en) | Method and apparatus for generating information | |
CN108462832A (en) | Method and device for obtaining image | |
CN109271929B (en) | Detection method and device | |
CN109495767A (en) | Method and apparatus for output information | |
CN109976858A (en) | The display control method of Application Program Interface, device and its equipment in electronic equipment | |
CN109451340A (en) | Display control method and device, electronic equipment and storage medium | |
CN108595011A (en) | Information displaying method, device, storage medium and electronic equipment | |
CN112036519B (en) | Multi-bit sigmoid-based classification processing method and device and electronic equipment | |
CN107451972A (en) | Image enchancing method, device and computer-readable recording medium | |
JP6844308B2 (en) | Service provision system, information terminal, information processing method, and program | |
CN109871822A (en) | Method and apparatus for output information | |
CN109842738A (en) | Method and apparatus for shooting image |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181116 |
|
RJ01 | Rejection of invention patent application after publication |