WO2020232704A1 - Rigid body identification method and apparatus, system, and terminal device - Google Patents

Rigid body identification method and apparatus, system, and terminal device Download PDF

Info

Publication number
WO2020232704A1
WO2020232704A1 PCT/CN2019/088160 CN2019088160W WO2020232704A1 WO 2020232704 A1 WO2020232704 A1 WO 2020232704A1 CN 2019088160 W CN2019088160 W CN 2019088160W WO 2020232704 A1 WO2020232704 A1 WO 2020232704A1
Authority
WO
WIPO (PCT)
Prior art keywords
rigid body
light
emitting source
information
data
Prior art date
Application number
PCT/CN2019/088160
Other languages
French (fr)
Chinese (zh)
Inventor
姚劲
许秋子
Original Assignee
深圳市瑞立视多媒体科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 深圳市瑞立视多媒体科技有限公司 filed Critical 深圳市瑞立视多媒体科技有限公司
Priority to CN201980004797.3A priority Critical patent/CN111213366B/en
Priority to PCT/CN2019/088160 priority patent/WO2020232704A1/en
Publication of WO2020232704A1 publication Critical patent/WO2020232704A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Definitions

  • This application relates to the field of motion capture technology, and in particular to a rigid body recognition method, device, terminal equipment, system, and computer-readable storage medium.
  • Motion capture is a high-tech technology that measures and records the motion trajectory or posture of an object in the real three-dimensional space, and reconstructs the state of the moving object in the virtual three-dimensional space.
  • the existing optical motion capture systems can be divided into active and passive. Passive rigid optical marking points are easy to wear, and are subject to heat dissipation, power supply, and reflective optical paths.
  • the brightness of the light source received by the camera is not high, which reduces the ability of the camera to filter external redundant information and also reduces the camera’s Working distance.
  • passive rigid bodies need to be set into different three-dimensional shapes to distinguish their differences, which makes it difficult to mass produce and difficult to configure in batches.
  • Some active products on the market only replace the reflective optical marking points of the original passive rigid body with light-emitting sources such as light-emitting diodes that emit light by themselves, and eliminate the camera's own light source, although this reduces the loss of optical marking points and the camera
  • the production cost can also increase the working distance of the motion capture camera to a certain extent.
  • active rigid bodies are often much more difficult to manufacture than passive rigid bodies due to power supply issues, and such active products still require rigid bodies to be configured into different three-dimensional shapes, which further increases the difficulty of mass production and batch configuration.
  • this application provides a rigid body recognition method, device, terminal equipment, system and computer readable storage medium to solve the prior art need to configure the rigid body used in the active optical motion capture system into different three-dimensional forms , Resulting in the problem that the configuration efficiency of the rigid body is too low and the recognition speed of the active optical motion capture system to the rigid body is too slow.
  • the first aspect of the application provides a rigid body recognition method, including:
  • the rigid body is identified according to the coding information and preset rigid body coding information.
  • the second aspect of the present application provides a rigid body recognition device, including:
  • the encoding information acquiring unit is configured to acquire encoding information of the corresponding rigid body according to the image data in a recognition period from the camera;
  • the identification unit is configured to identify the rigid body according to the coding information and preset rigid body coding information.
  • a third aspect of the present application provides a rigid body recognition system, which is characterized by comprising a server, a base station, a camera, and a rigid body.
  • the base station is used to send a synchronization trigger signal to the rigid body and the camera; the rigid body includes a plurality of transmitters.
  • the light source is used to call the coded data from the coded information stored in itself after receiving the synchronization trigger signal and assign it to each light-emitting source, so that each light-emitting source can control the light-emitting source according to the coded data.
  • the brightness of the light-emitting source; the camera is used to expose and shoot the rigid body after receiving the synchronization trigger signal, and send the image data obtained by shooting to the server; the server is used to identify The image data in the period acquires coding information of a corresponding rigid body, and the rigid body is identified according to the coding information and preset rigid body coding information.
  • a fourth aspect of the present application provides a terminal device, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor.
  • the processor implements the first aspect or the first aspect when the computer program is executed by the processor.
  • the rigid body recognition method mentioned in any of the possible implementations.
  • a fifth aspect of the present application provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and the computer program implements the first aspect or any possible implementation manner of the first aspect when executed by a processor
  • the encoding information of the corresponding rigid body is obtained according to the image data sent from the camera in a recognition period, and then the rigid body is identified according to the encoding information and preset rigid body encoding information. Since the entire rigid body recognition method has nothing to do with the three-dimensional form of the rigid body, there is no need to configure the rigid body in the active optical motion capture system into different three-dimensional forms, thereby greatly improving the configuration efficiency of the rigid body and the active optical motion capture system. The ability to recognize rigid bodies.
  • Figure 1 is a schematic diagram of the implementation process of a rigid body recognition method provided by this application.
  • FIG. 2 is a schematic diagram of coding information provided by this application.
  • Figure 3 is a schematic diagram of a rigid body identification device provided by this application.
  • Figure 4 is a schematic diagram of a rigid body recognition system provided by this application.
  • FIG. 5 is a schematic diagram of a signal sequence diagram provided by this application.
  • Figure 6 is a schematic structural diagram of an embodiment of a terminal device provided by this application.
  • the term “if” can be interpreted as “when” or “once” or “in response to determination” or “in response to detection” depending on the context .
  • the phrase “if determined” or “if detected [described condition or event]” can be interpreted as meaning “once determined” or “response to determination” or “once detected [described condition or event]” depending on the context ]” or “in response to detection of [condition or event described]”.
  • the rigid body recognition method in the embodiment of the present application includes:
  • Step 101 Obtain coding information of a corresponding rigid body according to image data from a camera in a recognition period.
  • the rigid body includes at least 3 light-emitting sources, and the light-emitting source may be a light-emitting diode (Light Emitting Diode).
  • Emitting Diode, LED Light Emitting Diode
  • the coded information includes the same number of coded subsets as the number of light-emitting sources, and each coded subset includes coded data of one light-emitting source in one recognition period, and the coded data includes 0 or 1.
  • the recognition cycle refers to the time required to complete a rigid body recognition.
  • the recognition cycle is related to the number of exposure shots of the camera.
  • a recognition cycle usually includes multiple exposure shots.
  • the image data includes: the image captured by the camera containing the light source.
  • step 101 may include: determining the identification information of the light-emitting source and the encoding data of the light-emitting source belonging to the same rigid body according to the image data sent by the camera in a recognition period, and according to the identification information of the light-emitting source and the encoding data of the light-emitting source of the same rigid body The encoding data obtains the encoding information of the corresponding rigid body.
  • the camera takes one frame of image data with one exposure, then processes the captured image data, and sends the processed data to the server, and then enters the next shooting.
  • the image data may specifically include: gray data of the associated domain of the light-emitting source and the coordinate value of the center of mass of the light-emitting source. That is, the image data sent by the camera to the server is specifically: the gray data of the associated domain of the light-emitting source and the centroid coordinate value of the light-emitting source.
  • the operation mode may be, for example, in the same recognition cycle, according to the gray data of the associated domain of each light-emitting source in each frame of the camera image, determine each The average value of the gray data of the associated domain of the light emitting source, and the average value of the gray data of the associated domain is used as the gray value threshold of the light emitting source in the current identification period.
  • the gray data of the associated domain includes: the average gray value of the associated domain or the total gray value of the associated domain; then, the server determines one based on the gray value threshold and the associated domain gray data of each light-emitting source in each frame of image.
  • Encoding data of each light-emitting source in each frame of image in the recognition period determining that it belongs to the same rigid body according to the centroid coordinate value of each light-emitting source in each frame of image in the recognition period sent by the camera
  • the identification information of the light-emitting source; the encoding information of the corresponding rigid body is obtained according to the encoding data of each light-emitting source and the identification information of the light-emitting source belonging to the same rigid body in each frame of the image in a recognition period.
  • the gray data of the correlation domain includes: the average gray value of the correlation domain or the total gray value of the correlation domain, the average gray value of the correlation domain is the average value of the gray value of the correlation domain of the light emitting source, and the total gray value of the correlation domain It is the sum of the gray values of the associated domain of the luminous source.
  • the method for determining the coded data of each light-emitting source may be, for example, determining whether the gray-scale data of the associated field of the light-emitting source is greater than or equal to the gray value threshold, and if the gray-scale data of the associated field of the light-emitting source is greater than or equal to the gray value threshold , The coded data of the light-emitting source is determined to be 1, if the gray-scale data of the associated domain of the light-emitting source is less than the gray value threshold, the coded data of the light-emitting source is determined to be 0, and so on, the server 44 can determine a recognition The coded data of each luminous source in each frame of image in the cycle.
  • the operation method may be, for example, that the server can determine the relative distance between the light-emitting sources through the coordinate value of the center of mass of the light-emitting source, and reduce the relative distance of the light-emitting source whose relative distance is less than the preset distance threshold. Determine the luminous source belonging to the same rigid body to obtain identification information of the luminous source belonging to the same rigid body.
  • the method may further include: generating coded information; sending the coded information to a corresponding rigid body to instruct the rigid body to control the brightness of the light source of the rigid body according to the coded information.
  • encoding information may be generated according to a preset encoding rule, and the preset encoding rule may include any one of the following: setting a frame header, a parity-check code encoding rule, and a Hamming code encoding rule.
  • the coding information can be a binary code obtained after binary coding.
  • the code information may include: a code subset corresponding to the number of light emitting sources.
  • the code information of the rigid body includes N code subsets.
  • a code subset stores coded data of a luminous source in one recognition period. It should be noted that in the process of generating unique coding information for each rigid body in advance, the principle that the server should observe when determining the coding subset included in the coding information of different rigid bodies is: try to make the coding subsets different, that is, try to Ensure the uniqueness of each code subset.
  • coded information when generating coded information, it may specifically include: generating coded information according to a preset code length and the number of light emitting sources of the rigid body.
  • the preset encoding length is: the product of the encoding length of the encoding subset and the number of light-emitting sources. For example, assuming that the encoding length of a rigid body encoding subset is 16, and the number of light-emitting sources is 8, then the preset encoding length corresponding to the rigid body is 128.
  • the encoding information can be as shown in Figure 2.
  • Each line of encoding information is encoded data Form a subset of codes corresponding to a luminous source. It can be understood that the encoded information shown in FIG. 2 is only a presentation form of the encoded information.
  • the coded information is also sent to the switch, and the switch sends the coded information to the base station.
  • the base station sends the coded information to the rigid body corresponding to the coded information through wireless transmission technology, and stores it in the register of the rigid body, indicating
  • the rigid body controls the brightness of the light source of the rigid body according to the coded information
  • the wireless transmission technology may include any one of the following: wireless fidelity (Wi-Fi) and ZigBee.
  • Step 102 Identify the rigid body according to the coding information and preset coding information of the rigid body.
  • step 102 may include: judging whether the preset rigid body coding information includes coding information, and if the preset rigid body coding information includes the coding information, determining the name or identity of the rigid body corresponding to the coding information Number (identification, ID) number.
  • the coded information is compared with the preset coded information, and the rigid body is identified according to the comparison result to determine the name or identification number (identification, ID) of the rigid body.
  • the encoding information of the corresponding rigid body is obtained through the image data sent by the camera in a recognition period, and then the rigid body is identified according to the encoding information and preset rigid body encoding information.
  • the method has nothing to do with the three-dimensional form of the rigid body, so there is no need to configure the rigid body used in the active optical motion capture system into different three-dimensional forms, which greatly improves the production efficiency of rigid bodies and the ability of the active optical motion capture system to recognize rigid bodies .
  • FIG. 3 shows a schematic structural diagram of a rigid body recognition device provided by an embodiment of the present application.
  • FIG. 3 shows a schematic structural diagram of a rigid body recognition device provided by an embodiment of the present application.
  • the parts related to the embodiment of the present application are shown:
  • the rigid body identification device includes: an encoding information acquisition unit 301 and an identification unit 302. among them:
  • the encoding information acquiring unit 301 is configured to acquire encoding information of a corresponding rigid body according to the image data in a recognition period from the camera.
  • the coded information acquiring unit 301 is specifically configured to determine the identification information of the light-emitting source belonging to the same rigid body and the coded data of the light-emitting source according to the image data in a recognition period from the camera, and according to the light-emitting source of the same rigid body The identification information and the coded data of the light-emitting source obtain the coded information of the corresponding rigid body.
  • the operation mode for determining the identification information and the encoded data of the light-emitting source according to the image data has been described in the method embodiment, and will not be repeated here.
  • the identifying unit 302 is configured to identify the rigid body according to the coding information and preset rigid body coding information. During specific implementation, the identification unit 302 compares the determined encoding information with the preset encoding information of the rigid body, and recognizes the rigid body according to the comparison result.
  • the rigid body identification device further includes: an encoding information generating unit and an encoding information sending unit.
  • the coding information generating unit is used for generating coding information; the coding information sending unit is used for sending the coding information to a corresponding rigid body, and instructing the rigid body to control the brightness of the light emitting source of the rigid body according to the coding information.
  • the code information generating unit may be specifically configured to generate code information according to a preset code length and the number of light emitting sources of the rigid body.
  • the encoding information of the corresponding rigid body is obtained according to the image data sent from the camera in a recognition period, and then the rigid body is identified according to the encoding information and preset rigid body encoding information.
  • the rigid body recognition method has nothing to do with the three-dimensional shape of the rigid body, and there is no need to configure the rigid body used in the active optical motion capture system into different three-dimensional shapes, which greatly improves the production efficiency of rigid bodies and the recognition of rigid bodies by the active optical motion capture system ability.
  • the embodiment of the present application also provides a rigid body recognition system. As shown in FIG. 4, for ease of description, only the parts related to the embodiment of the present application are shown:
  • the rigid body recognition system includes: a base station 41, a rigid body 42, a camera 43, and a server 44. Below, each component in the rigid body recognition system will be described in detail.
  • the main functions of the server 44 are as follows: First: generate unique code information for each rigid body 42 and send it to each rigid body 42 through the base station 41; second: receive image data from the camera 43 and identify it according to a The image data in the period acquires the coding information of the corresponding rigid body, and the rigid body 42 is identified according to the coding information and preset rigid body coding information.
  • the server 44 may generate unique code information for each rigid body according to the preset code length and the number of light sources of the rigid body.
  • the preset encoding rules may include any one of the following: setting frame headers, parity check code encoding rules, and Hamming code encoding rules.
  • the encoding information may specifically be binary encoding information.
  • the code information may include: a code subset corresponding to the number of light emitting sources. For example, if a rigid body includes N light-emitting sources, the code information of the rigid body includes N code subsets. Among them, a code subset stores coded data of a luminous source in one recognition period.
  • the light source sequentially controls the brightness of the light source according to the instructions of the coded information. That is, the brightness of the light source of the light-emitting source, which is repeated once in a recognition cycle.
  • the principle that the server 44 should observe when determining the coding subsets included in the coding information of different rigid bodies is: try to make the coding subsets different, that is, Try to ensure the uniqueness of each code subset.
  • the preset encoding length is: the product of the encoding length of the encoding subset and the number of light-emitting sources. Assuming that the code length of the code subset of a rigid body is 16, and the number of light sources is 8, the preset code length corresponding to the rigid body is 128.
  • the code information can be as shown in Figure 2. Each line of code data of the code information Form a subset of codes corresponding to a luminous source. It can be understood that the encoded information shown in FIG. 2 is only a presentation form of the encoded information.
  • the server 44 is also used to receive the image data from the camera, and obtain the coding information of the corresponding rigid body according to the image data in a recognition period, and to compare the rigid body 42 according to the coding information and preset rigid body coding information. Identify it.
  • the server 44 may compare the coded information with preset coded information, and identify the rigid body according to the comparison result. For example, the name or identification number (identification, ID) of the rigid body may be determined according to the comparison result.
  • the server 44 can determine the average gray level data of each light-emitting source in a recognition period according to the gray-level data of each light-emitting source in each frame of the image sent by the camera 43.
  • the average value of the gray data of the associated domain is used as the gray value threshold of each light source in the current identification period.
  • the coded data of each light-emitting source in each frame of image in a recognition period is determined respectively.
  • the way to determine the coded data of each luminous source can be, for example:
  • the server 44 can determine the coded data of each light-emitting source in each frame of the image in a recognition period.
  • the server 44 may also determine the identification information of the light-emitting source belonging to the same rigid body according to the centroid coordinate value of each light-emitting source of each frame of the image sent by the camera 43 in a recognition period; and 44 also determines the coding information of the corresponding rigid body according to the coded data of each light-emitting source in each frame of the image and the identification information of the light-emitting source belonging to the same rigid body in a recognition period.
  • the operation mode may be, for example, that the server 44 determines the identification information of the light-emitting source belonging to the same rigid body according to the centroid coordinate value of each light-emitting source of each frame of image in a recognition period, for example, through The coordinate value of the center of mass of the luminous source determines the relative distance between the luminous sources, and confirms that the luminous sources that are closer together belong to the same rigid body.
  • the operation mode may be, for example, determining the relative distance between each light-emitting source according to the coordinate value of the centroid of each light-emitting source.
  • the light-emitting source whose distance is less than the preset distance threshold is determined as the light-emitting source belonging to the same rigid body, and the identification information of the light-emitting source belonging to the same rigid body is determined; according to the identification information of the light-emitting source belonging to the same rigid body and the code data of each light-emitting source, the corresponding The encoding information of the rigid body.
  • the base station 41 is introduced. Its functions include generating synchronization trigger signals and realizing the transmission of information between system components. For example, the base station 41 generates a synchronization trigger signal according to a predetermined interval period, and sends the generated synchronization trigger signal to the rigid body 42 and the camera 43 at the same time, so that the rigid body 42 can control the brightness of the light source on the rigid body 42 according to the synchronization trigger signal. At the same time, the camera 43 can capture the image data of the light-emitting source on the rigid body according to the synchronization trigger signal. During specific implementation, the base station 41 may simultaneously send a synchronization trigger signal to the rigid body 42 and the camera 43 through wireless transmission technology. Among them, the wireless transmission technology may include any of the following: wireless fidelity (Wi-Fi), ZigBee (ZigBee).
  • the base station 41 randomly allocates the multiple coded information received from the server 44 to the multiple rigid bodies 42. After each rigid body 42 receives the coded information, the coded information is registered in the rigid body 42. In the register.
  • the rigid body 42 includes multiple luminous sources. Its functions are as follows: first: to receive the coded information of the rigid body from the base station 41 and store it in the register of the rigid body; second: to receive the synchronization from the base station 41 After the trigger signal, the coded data is called from the coded information stored by itself and assigned to each light-emitting source, so that each light-emitting source can control the brightness of the light-emitting source according to the coded data.
  • the number of rigid bodies 42 in the rigid body recognition system may be one or more, and is not limited to the three shown in FIG. 4.
  • the light source may be a light emitting diode (Light Emitting Diode, LED), and the coded data may include 0 or 1. That is, the embodiment of the present application uses the brightness of the light source to identify the corresponding encoded data as 1 or 0.
  • the number of luminous sources on the rigid body 42 is the same as the number of coded subsets included in the coded information, and each coded subset stores the coded data of a luminous source within one identification period; the rigid body 42 performs an encoding every time it receives a synchronization trigger signal
  • one bit of coded data is sequentially selected from the N coded subsets stored in itself and sent to the corresponding light emitting source. That is, after a synchronization signal is triggered, each light source only receives 1 bit of coded data.
  • the rigid body 42 After the rigid body 42 receives the next synchronization trigger signal, it selects the next coded data from the coded information of the N light-emitting sources stored in the register and sends it to the corresponding light-emitting source, and so on, since then, a recognition cycle is completed Glowing. After a recognition cycle is completed, that is, after a round of distribution of the coded information of the light-emitting source has been completed, when the synchronization trigger signal is received again, the rigid body 42 recycles the coded information of the light-emitting source to start the coded data distribution of the next recognition cycle.
  • the camera 43 is introduced. After receiving the synchronization trigger signal from the base station 41, the rigid body 42 is exposed and photographed, and the photographed image data is sent to the server 44. Among them, one camera 43 can take images of multiple rigid bodies 42. It should be noted that the brightness change of the light source on the rigid body 42 is synchronized with the exposure and shooting of the camera 43, that is, the coded data is distributed every time the rigid body 42 receives a synchronization trigger signal; and the camera 43 receives a synchronization trigger every time The signal is an exposure shot. Since the synchronization trigger signal is synchronously sent to the rigid body and the camera, it can ensure that the camera can capture the brightness change of the light source. For example, as shown in FIG.
  • the rigid body performs an encoding data distribution every time a rising edge synchronization trigger signal is received; the camera 43 performs an exposure shooting every time a rising edge synchronization trigger signal is received. This ensures that the camera can capture the changes in the brightness of the light source such as LED lights.
  • the image data sent by the camera 43 to the server 44 may include the gray data of the associated domain of each light-emitting source and the coordinate value of the centroid of each light-emitting source. Therefore, before sending the image data to the server 44, the camera 43 also needs to determine the correlation domain grayscale data of each light-emitting source and the centroid coordinate value of each light-emitting source in each frame of image taken by exposure; and associate each light-emitting source The domain gray scale data and the centroid coordinate value of each light source are sent to the server 44.
  • the gray data of the associated domain may include: an average gray value of the associated domain or a total gray value of the associated domain.
  • the camera 43 immediately determines the associated domain grayscale data of each light-emitting source and the centroid coordinate value of each light-emitting source in each frame of image taken by the exposure after each exposure and shooting, and calculates the current determined value of each light-emitting source.
  • the gray data of the associated domain of a luminous source and the coordinate value of the centroid of each luminous source are sent to the server 44 immediately.
  • the camera performs F times of exposure and shooting according to the received F times of synchronization trigger signal, that is, in one recognition cycle, the camera 43 sends F times of image data (including) to the server 44.
  • the rigid body recognition system may further include: a switch 45, as shown in FIG. 4, its function is to realize data exchange between the server 44 and the base station 41, and realize data exchange between the base station 41 and the camera 43.
  • the server 44 generates unique code information, and the code information can be sent to the base station 41 through the switch 45.
  • the switch 45 can also receive the synchronization trigger signal sent by the base station 41 and send the synchronization trigger signal to the camera 43.
  • the number N of light-emitting sources on the rigid body 42 is the same as the number of coded subsets included in the coded information, and each coded subset stores coded data for one light-emitting source within one identification period.
  • the number of exposure shots in a recognition period is the same as the code length F of the code subset.
  • the coding length of the coding subset may be, for example, F, where F is a positive integer equal to or greater than two. For the value of F, the smaller the F, the smaller the encoding range, and the smaller the number of identifiable rigid bodies. The larger the value of F, the more exposure and shooting times in a recognition cycle, and the time consumed will also be The more, this will reduce the recognition speed of rigid bodies.
  • F can be selected as 16.
  • the rigid body 42 includes 8 luminous sources, and the code information includes 8 code subsets.
  • the rigid body 42 receives the first synchronization trigger signal, it selects the first from all code subsets. Bit coded data, and send the selected first bit of coded data to the corresponding light emitting source respectively.
  • the second bit of coded data is selected from all the coded subsets, and all the selected second bit of coded data is sent to the corresponding light source, and so on, until a recognition Complete 16 times of synchronization trigger signal reception and 16 times of coded data distribution in the cycle.
  • the rigid body recognition system of the embodiment of the present invention When the rigid body recognition system of the embodiment of the present invention is working, it can be roughly divided into two stages, namely the configuration stage and the operation recognition stage, which will be described in detail below.
  • the server 44 In the configuration stage, the server 44 generates unique code information for each rigid body 42 according to the preset coding length and the number of light emitting sources of the rigid body. After the server 44 generates unique coding information for each rigid body 42, it is necessary to send the coding information of a plurality of preset rigid bodies to each rigid body 42. In specific implementation, the server 44 sends to the base station 41 through the switch 45. After receiving the preset encoding information, the base station 41 randomly allocates the preset encoding information of multiple rigid bodies to the multiple rigid bodies 42 through wireless transmission technology. After each rigid body 42 receives the encoded information, it registers the received encoded information in its own register.
  • the base station 41 broadcasts a synchronization trigger signal to all rigid bodies 42 through wireless transmission technology (such as wireless wifi, ZigBee and other wireless communication technologies).
  • wireless transmission technology such as wireless wifi, ZigBee and other wireless communication technologies.
  • the rigid body 42 calls 1 bit of coded data from each code subset included in the coded information in the register in order and respectively allocates it to the corresponding light-emitting source (if the number of light-emitting sources is N, then a total of N bits are called Coded data, each light source receives 1 bit of coded data).
  • the luminous source controls its own luminous intensity according to the instructions of the coded data, that is, the embodiment of the present invention displays the corresponding code as 1 or 0 through the light or dark of the luminous source.
  • the same synchronization trigger signal is also sent from the base station 41 to the switch 45 and sent to the camera 43.
  • the camera 43 receives the synchronization trigger signal, an exposure shot is performed. That is to say, every time the rigid body receives a synchronization trigger signal, the coded data is distributed once, and the camera receives a synchronization trigger signal every time it performs an exposure shooting.
  • the camera 43 After the camera 43 performs exposure shooting, it needs to send the image data obtained by shooting to the server 44. Specifically, the image data includes the gray value of the associated domain of the light-emitting source and the coordinate value of the center of mass. Therefore, the camera 43 first needs to determine the gray value of the associated domain of each light-emitting source and the coordinate value of the centroid of each light-emitting source in each frame of images taken by exposure. When determining the gray value of the associated domain of each light-emitting source in each frame of image, the average gray value or the total gray value of the associated domain of the light-emitting source can be used as the gray value of the associated domain of the light-emitting source.
  • the camera 43 After determining the gray value of the associated domain of each light-emitting source in each frame of image, the camera 43 also needs to send the determined gray value of the associated domain of each light-emitting source in the current frame image and the centroid coordinate value of each light-emitting source Give the server 44. It should be noted that each time the camera performs an exposure shooting, it needs to immediately send the associated domain gray value of each light-emitting source and the centroid coordinate value of each light-emitting source in the image frame obtained by the current exposure to the server 44. Assuming that one recognition cycle includes F times of shooting, the camera performs F times of exposure after sending F synchronization trigger signals, that is, in one recognition cycle, the camera sends F times of image data to the server 44.
  • the server 44 receives the gray value of the associated domain of each light-emitting source and the coordinate value of the center of mass of each light-emitting source in the F frame image in a recognition period. According to the correlation domain gray value of each light-emitting source in the F frame image in a recognition period, calculate the correlation domain gray value average value of each light-emitting source in a recognition period, and use the correlation domain gray value average value as the current The gray value threshold of the identification period. Then, according to the gray value threshold and the associated domain gray value of each light-emitting source in each frame of image, the coded information of each light-emitting source in each frame of image in a recognition period is determined. It should be noted that the gray-scale threshold of different light-emitting sources changes dynamically for different identification periods.
  • the specific operation method can be: determined
  • the gray value threshold is M. If the gray value of the associated domain of the light-emitting source is greater than or equal to M, the code information of the light-emitting source is determined to be 1, and if the gray value of the associated domain of the light-emitting source is less than M, the code information of the light-emitting source is determined to be 0. In this way, the server 44 can determine the code information of each light source in each frame of the image in a recognition period.
  • the signal timing diagram in the running phase can be represented by Figure 5.
  • the server 44 can also determine the identification information of the light-emitting source belonging to the same rigid body according to the centroid coordinate value of each light-emitting source of each frame of the image in a recognition period.
  • the centroid coordinate value of the light-emitting source can be used to determine the distance between the light-emitting sources. Relative distance, and confirm that the luminous sources that are closer together belong to the same rigid body.
  • the server 44 can determine the code information of each rigid body in a recognition period according to the determined luminous source information belonging to the same rigid body and the code information of each luminous source.
  • the server 44 compares the determined encoding information of the rigid body with the preset encoding information, and recognizes the rigid body according to the comparison result, thereby determining the name or ID number of the rigid body. That is to say, in the embodiment of the present invention, by recording multiple frames of image data displayed in the form of bright or dark multiple luminous sources of different rigid bodies in a recognition period, different luminous sources can be distinguished by different codes, thereby distinguishing different The rigid body.
  • the rigid body recognition process of the rigid body recognition system of the present invention has nothing to do with the three-dimensional form of the rigid body, there is no need to configure the rigid body in the active optical motion capture system into different three-dimensional forms, thereby greatly improving the production efficiency of rigid bodies and the active optics The ability of the motion capture system to recognize rigid bodies.
  • Fig. 6 is a schematic diagram of a terminal device provided by an embodiment of the present application.
  • the terminal device 6 of this embodiment includes a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and running on the processor 60, such as a rigid body recognition program.
  • the processor 60 executes the computer program 62, the steps in the foregoing embodiments of the rigid body recognition method are implemented, for example, steps 102 to 102 shown in FIG. 1.
  • the processor 60 executes the computer program 62
  • the functions of the modules/units in the foregoing device embodiments such as the functions of the units 301 to 302 shown in FIG. 3, are realized.
  • the computer program 62 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 61 and executed by the processor 60 to complete This application.
  • the one or more modules/units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 62 in the terminal device 6.
  • the computer program 62 can be divided into an encoding information acquisition unit and an identification unit.
  • the specific functions of each unit are as follows:
  • the encoding information acquisition unit is used to acquire the encoding information of the corresponding rigid body according to the image data sent from the camera in a recognition period. ; Identification unit for identifying the rigid body according to the coding information and preset rigid body coding information.
  • the terminal device 6 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the terminal device may include, but is not limited to, a processor 60 and a memory 61.
  • FIG. 6 is only an example of the terminal device 6 and does not constitute a limitation on the terminal device 6. It may include more or less components than shown in the figure, or a combination of certain components, or different components.
  • the terminal device may also include input and output devices, network access devices, buses, etc.
  • the so-called processor 60 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the memory 61 may be an internal storage unit of the terminal device 6, such as a hard disk or memory of the terminal device 6.
  • the memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), or a secure digital (Secure Digital, SD) equipped on the terminal device 6. Flash memory card Card) etc.
  • the memory 61 may also include both an internal storage unit of the terminal device 7 and an external storage device.
  • the memory 61 is used to store the computer program and other programs and data required by the terminal device.
  • the memory 61 can also be used to temporarily store data that has been output or will be output.
  • the disclosed apparatus/terminal device and method may be implemented in other ways.
  • the device/terminal device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units.
  • components can be combined or integrated into another system, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • this application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through a computer program.
  • the computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, the steps of the foregoing method embodiments can be implemented.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms.
  • the computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • electrical carrier signals telecommunications signals
  • software distribution media any entity or device capable of carrying the computer program code
  • recording medium U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media.

Abstract

The present application discloses a rigid body identification method and apparatus, a terminal device, a system, and a computer readable storage medium. The rigid body identification method comprises: acquiring coding information of a corresponding rigid body according to image data within an identification period sent by a camera; and identifying the rigid body according to the coding information and preset rigid body coding information. The technical solution provided in the present application can improve the rigid body production efficiency and the rigid body identification ability of an active optical motion capture system.

Description

刚体识别方法、装置、系统及终端设备Rigid body identification method, device, system and terminal equipment 技术领域Technical field
本申请涉及动作捕捉技术领域,具体涉及一种刚体识别方法、装置、终端设备、系统及计算机可读存储介质。This application relates to the field of motion capture technology, and in particular to a rigid body recognition method, device, terminal equipment, system, and computer-readable storage medium.
背景技术Background technique
动作捕捉是测量、记录物体在真实三维空间中的运动轨迹或者姿态,并在虚拟三维空间中重建运动物体状态的高新技术。Motion capture is a high-tech technology that measures and records the motion trajectory or posture of an object in the real three-dimensional space, and reconstructs the state of the moving object in the virtual three-dimensional space.
现有的光学动作捕捉系统可分为主动式和被动式。被动式的刚体光学标记点容易损耗,而且受制于散热和供电以及反射式的光路等问题,相机接收到的光源亮度并不高,这降低了摄像机过滤外部冗余信息的能力,也降低了相机的工作距离。此外,被动式的刚体需要被设置成不同的三维形态来区分各自的不同,从而导致难以批量生产和难以批量配置。The existing optical motion capture systems can be divided into active and passive. Passive rigid optical marking points are easy to wear, and are subject to heat dissipation, power supply, and reflective optical paths. The brightness of the light source received by the camera is not high, which reduces the ability of the camera to filter external redundant information and also reduces the camera’s Working distance. In addition, passive rigid bodies need to be set into different three-dimensional shapes to distinguish their differences, which makes it difficult to mass produce and difficult to configure in batches.
市面上一些主动式的产品仅仅将原本被动式刚体的反光光学标记点替换成发光二极管等自身会发光的发光源,并免去了相机自带的光源,这虽然降低了光学标记点的损耗和相机生产成本,在一定程度上也能增加动捕相机的工作距离。然而,主动式刚体由于涉及到供电问题往往比被动式刚体更难制作得多,并且,这种主动式的产品仍需要将刚体配置成不同的三维形态,从而进一步增加批量生产和批量配置的难度。Some active products on the market only replace the reflective optical marking points of the original passive rigid body with light-emitting sources such as light-emitting diodes that emit light by themselves, and eliminate the camera's own light source, although this reduces the loss of optical marking points and the camera The production cost can also increase the working distance of the motion capture camera to a certain extent. However, active rigid bodies are often much more difficult to manufacture than passive rigid bodies due to power supply issues, and such active products still require rigid bodies to be configured into different three-dimensional shapes, which further increases the difficulty of mass production and batch configuration.
技术问题technical problem
有鉴于此,本申请提供一种刚体识别方法、装置、终端设备、系统及计算机可读存储介质,以解决现有技术需将运用于主动式光学动作捕捉系统中的刚体配置成不同的三维形态,导致刚体的配置效率过低且主动式光学动作捕捉系统对刚体的识别速度过慢的问题。In view of this, this application provides a rigid body recognition method, device, terminal equipment, system and computer readable storage medium to solve the prior art need to configure the rigid body used in the active optical motion capture system into different three-dimensional forms , Resulting in the problem that the configuration efficiency of the rigid body is too low and the recognition speed of the active optical motion capture system to the rigid body is too slow.
技术解决方案Technical solutions
本申请第一方面提供一种刚体识别方法,包括:The first aspect of the application provides a rigid body recognition method, including:
根据来自相机的一个识别周期内的图像数据获取对应刚体的编码信息;Obtain the coding information of the corresponding rigid body according to the image data from the camera in a recognition cycle;
根据所述编码信息和预设的刚体编码信息对所述刚体进行识别。The rigid body is identified according to the coding information and preset rigid body coding information.
本申请第二方面提供一种刚体识别装置,包括:The second aspect of the present application provides a rigid body recognition device, including:
编码信息获取单元,用于根据来自相机的一个识别周期内的图像数据获取对应刚体的编码信息;The encoding information acquiring unit is configured to acquire encoding information of the corresponding rigid body according to the image data in a recognition period from the camera;
识别单元,用于根据所述编码信息和预设的刚体编码信息对所述刚体进行识别。The identification unit is configured to identify the rigid body according to the coding information and preset rigid body coding information.
本申请第三方面提供一种刚体识别系统,其特征在于,包括服务器、基站、相机及刚体,所述基站用于向所述刚体和所述相机发送同步触发信号;所述刚体包括多个发光源,用于在接收到所述同步触发信号之后,从自身存储的编码信息中调用编码数据并分配给每个所述发光源,以使每个所述发光源能够根据所述编码数据控制所述发光源的亮度;所述相机用于在接收到所述同步触发信号之后,对所述刚体进行曝光拍摄,以及将拍摄得到的图像数据发送至所述服务器;所述服务器用于根据一个识别周期内的所述图像数据获取对应刚体的编码信息,以及根据所述编码信息和预设的刚体编码信息对所述刚体进行识别。 A third aspect of the present application provides a rigid body recognition system, which is characterized by comprising a server, a base station, a camera, and a rigid body. The base station is used to send a synchronization trigger signal to the rigid body and the camera; the rigid body includes a plurality of transmitters. The light source is used to call the coded data from the coded information stored in itself after receiving the synchronization trigger signal and assign it to each light-emitting source, so that each light-emitting source can control the light-emitting source according to the coded data. The brightness of the light-emitting source; the camera is used to expose and shoot the rigid body after receiving the synchronization trigger signal, and send the image data obtained by shooting to the server; the server is used to identify The image data in the period acquires coding information of a corresponding rigid body, and the rigid body is identified according to the coding information and preset rigid body coding information.
本申请第四方面提供一种终端设备,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,上述处理器执行上述计算机程序时实现上述第一方面或者上述第一方面的任一可能实现方式中提及的刚体识别方法。A fourth aspect of the present application provides a terminal device, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor. The processor implements the first aspect or the first aspect when the computer program is executed by the processor. The rigid body recognition method mentioned in any of the possible implementations.
本申请第五方面提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,上述计算机程序被处理器执行时实现上述第一方面或者上述第一方面的任一可能实现方式中提及的刚体识别方法。A fifth aspect of the present application provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and the computer program implements the first aspect or any possible implementation manner of the first aspect when executed by a processor The rigid body recognition method mentioned in.
有益效果Beneficial effect
本申请实施例中,首先根据来自相机发送的一个识别周期内的图像数据获取对应刚体的编码信息,然后根据所述编码信息和预设的刚体编码信息对所述刚体进行识别。由于整个所述刚体识别方法与刚体的三维形态无关,因此不需要将主动式光学动作捕捉系统中的刚体配置成不同的三维形态,从而大大提高了刚体的配置效率和主动式光学动作捕捉系统对刚体的识别能力。In the embodiment of the present application, firstly, the encoding information of the corresponding rigid body is obtained according to the image data sent from the camera in a recognition period, and then the rigid body is identified according to the encoding information and preset rigid body encoding information. Since the entire rigid body recognition method has nothing to do with the three-dimensional form of the rigid body, there is no need to configure the rigid body in the active optical motion capture system into different three-dimensional forms, thereby greatly improving the configuration efficiency of the rigid body and the active optical motion capture system. The ability to recognize rigid bodies.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1为本申请提供的一种刚体识别方法的实现流程示意图;Figure 1 is a schematic diagram of the implementation process of a rigid body recognition method provided by this application;
图2为本申请提供的编码信息的示意图;Figure 2 is a schematic diagram of coding information provided by this application;
图3为本申请提供的一种刚体识别装置的示意图;Figure 3 is a schematic diagram of a rigid body identification device provided by this application;
图4为本申请提供的一种刚体识别系统的示意图;Figure 4 is a schematic diagram of a rigid body recognition system provided by this application;
图5为本申请提供的一种信号时序图的示意图;FIG. 5 is a schematic diagram of a signal sequence diagram provided by this application;
图6为本申请提供的终端设备一个实施例结构示意图。Figure 6 is a schematic structural diagram of an embodiment of a terminal device provided by this application.
本发明的实施方式Embodiments of the invention
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as a specific system structure and technology are proposed for a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from obstructing the description of this application.
为了说明本申请所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions described in the present application, specific embodiments are used for description below.
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in this specification and appended claims, the term "comprising" indicates the existence of the described features, wholes, steps, operations, elements and/or components, but does not exclude one or more other features Existence or addition of, whole, step, operation, element, component and/or its collection.
还应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should also be understood that the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in the specification of this application and the appended claims, unless the context clearly indicates other circumstances, the singular forms "a", "an" and "the" are intended to include plural forms.
还应当进一步理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should be further understood that the term "and/or" used in the specification and appended claims of this application refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations .
如在本说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in this specification and the appended claims, the term "if" can be interpreted as "when" or "once" or "in response to determination" or "in response to detection" depending on the context . Similarly, the phrase "if determined" or "if detected [described condition or event]" can be interpreted as meaning "once determined" or "response to determination" or "once detected [described condition or event]" depending on the context ]" or "in response to detection of [condition or event described]".
另外,在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In addition, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
实施例一Example one
下面对本申请实施例提供的一种刚体识别方法进行描述,请参阅图1,本申请实施例中的刚体识别方法包括:The following describes a rigid body recognition method provided by an embodiment of the present application. Please refer to FIG. 1. The rigid body recognition method in the embodiment of the present application includes:
步骤101,根据来自相机的一个识别周期内的图像数据获取对应刚体的编码信息。Step 101: Obtain coding information of a corresponding rigid body according to image data from a camera in a recognition period.
其中,该刚体包括至少3个发光源,该发光源可为发光二极管(Light Emitting Diode,LED),而编码信息包括与发光源的数量相同的编码子集,每个编码子集包括一个发光源一个识别周期内的编码数据,该编码数据包括0或1。识别周期是指完成一次刚体识别所需的时间,识别周期与相机的曝光拍摄次数相关,一个识别周期通常包括多次曝光拍摄。而图像数据包括:相机拍摄到的包含发光源的图像。Wherein, the rigid body includes at least 3 light-emitting sources, and the light-emitting source may be a light-emitting diode (Light Emitting Diode). Emitting Diode, LED), and the coded information includes the same number of coded subsets as the number of light-emitting sources, and each coded subset includes coded data of one light-emitting source in one recognition period, and the coded data includes 0 or 1. The recognition cycle refers to the time required to complete a rigid body recognition. The recognition cycle is related to the number of exposure shots of the camera. A recognition cycle usually includes multiple exposure shots. The image data includes: the image captured by the camera containing the light source.
具体实现时,步骤101可以包括:根据相机发送的一个识别周期内的图像数据确定属于同一刚体的发光源的标识信息和发光源的编码数据,根据同一刚体的发光源的标识信息和发光源的编码数据获取对应刚体的编码信息。In specific implementation, step 101 may include: determining the identification information of the light-emitting source and the encoding data of the light-emitting source belonging to the same rigid body according to the image data sent by the camera in a recognition period, and according to the identification information of the light-emitting source and the encoding data of the light-emitting source of the same rigid body The encoding data obtains the encoding information of the corresponding rigid body.
一般地,相机一次曝光拍摄一帧图像数据,然后对拍摄的图像数据进行处理,以及将处理后的数据发送给服务器,然后再进入下一次拍摄。其中,图像数据具体可以包括:发光源的关联域灰度数据和发光源的质心坐标值。即相机发送给服务器的图像数据具体为:发光源的关联域灰度数据和发光源的质心坐标值。Generally, the camera takes one frame of image data with one exposure, then processes the captured image data, and sends the processed data to the server, and then enters the next shooting. Among them, the image data may specifically include: gray data of the associated domain of the light-emitting source and the coordinate value of the center of mass of the light-emitting source. That is, the image data sent by the camera to the server is specifically: the gray data of the associated domain of the light-emitting source and the centroid coordinate value of the light-emitting source.
服务器在确定刚体上发光源的编码数据时,操作方式例如可以是:在同一识别周期内,根据来自相机的每帧图像中每一发光源的关联域灰度数据,确定该识别周期内每一发光源的关联域灰度数据的平均值,并将所述关联域灰度数据的平均值作为当前识别周期内该发光源的灰度值阈值。所述关联域灰度数据包括:关联域平均灰度值或关联域总灰度值;然后,服务器根据灰度值阈值和每帧图像中每一发光源的关联域灰度数据,分别确定一个所述识别周期内每帧图像中每一所述发光源的编码数据; 根据所述相机发送的一个所述识别周期内每帧图像的每一所述发光源的质心坐标值,确定属于同一刚体的所述发光源的标识信息;根据一个所述识别周期内每帧图像中每一所述发光源的编码数据和属于同一刚体的所述发光源的标识信息,获取对应刚体的编码信息。When the server determines the coded data of the light-emitting source on the rigid body, the operation mode may be, for example, in the same recognition cycle, according to the gray data of the associated domain of each light-emitting source in each frame of the camera image, determine each The average value of the gray data of the associated domain of the light emitting source, and the average value of the gray data of the associated domain is used as the gray value threshold of the light emitting source in the current identification period. The gray data of the associated domain includes: the average gray value of the associated domain or the total gray value of the associated domain; then, the server determines one based on the gray value threshold and the associated domain gray data of each light-emitting source in each frame of image. Encoding data of each light-emitting source in each frame of image in the recognition period; determining that it belongs to the same rigid body according to the centroid coordinate value of each light-emitting source in each frame of image in the recognition period sent by the camera The identification information of the light-emitting source; the encoding information of the corresponding rigid body is obtained according to the encoding data of each light-emitting source and the identification information of the light-emitting source belonging to the same rigid body in each frame of the image in a recognition period.
其中,该关联域灰度数据包括:关联域平均灰度值或关联域总灰度值,关联域平均灰度值为发光源的关联域的灰度值的平均值,关联域总灰度值为发光源的关联域的灰度值的总和。Wherein, the gray data of the correlation domain includes: the average gray value of the correlation domain or the total gray value of the correlation domain, the average gray value of the correlation domain is the average value of the gray value of the correlation domain of the light emitting source, and the total gray value of the correlation domain It is the sum of the gray values of the associated domain of the luminous source.
其中,确定每一发光源的编码数据的方式例如可以是:判断发光源的关联域灰度数据是否大于或者等于灰度值阈值,若发光源的关联域灰度数据大于或者等于灰度值阈值,则将发光源的编码数据确定为1,若发光源的关联域灰度数据小于灰度值阈值,则将发光源的编码数据确定为0,以此类推,服务器44便可确定出一个识别周期内每帧图像中每一发光源的编码数据。The method for determining the coded data of each light-emitting source may be, for example, determining whether the gray-scale data of the associated field of the light-emitting source is greater than or equal to the gray value threshold, and if the gray-scale data of the associated field of the light-emitting source is greater than or equal to the gray value threshold , The coded data of the light-emitting source is determined to be 1, if the gray-scale data of the associated domain of the light-emitting source is less than the gray value threshold, the coded data of the light-emitting source is determined to be 0, and so on, the server 44 can determine a recognition The coded data of each luminous source in each frame of image in the cycle.
其中,在确定属于同一刚体的发光源的标识信息时操作方式例如可以是:服务器可以通过发光源的质心坐标值,确定发光源之间的相对距离,将相对距离小于预设距离阈值的发光源确定为属于同一刚体的发光源,以得到该属于同一刚体的发光源的标识信息。Wherein, when determining the identification information of light-emitting sources belonging to the same rigid body, the operation method may be, for example, that the server can determine the relative distance between the light-emitting sources through the coordinate value of the center of mass of the light-emitting source, and reduce the relative distance of the light-emitting source whose relative distance is less than the preset distance threshold. Determine the luminous source belonging to the same rigid body to obtain identification information of the luminous source belonging to the same rigid body.
可选地,在所述步骤101之前,还可以包括:生成编码信息;发送所述编码信息至对应的刚体,指示所述刚体根据所述编码信息控制所述刚体的发光源的亮度。具体地,可以根据预设编码规则生成编码信息,该预设编码规则可包括以下任意一种:设置帧头、奇偶校验码编码规则、汉明码编码规则。而编码信息可为经过二进制编码后得到的二进制编码。编码信息可以包括:与发光源的数量对应的编码子集。举例来说,若一个刚体包括N个发光源,则该刚体的编码信息则包括N个编码子集。其中,一个编码子集内存储有一个发光源一个识别周期内的编码数据。需要说明的是,在预先为每个刚体生成唯一的编码信息的过程中,服务器确定不同刚体的编码信息所包括的编码子集时应遵守的原则是:尽量使编码子集不一样,即尽量保证每个编码子集的唯一性。Optionally, before the step 101, the method may further include: generating coded information; sending the coded information to a corresponding rigid body to instruct the rigid body to control the brightness of the light source of the rigid body according to the coded information. Specifically, encoding information may be generated according to a preset encoding rule, and the preset encoding rule may include any one of the following: setting a frame header, a parity-check code encoding rule, and a Hamming code encoding rule. The coding information can be a binary code obtained after binary coding. The code information may include: a code subset corresponding to the number of light emitting sources. For example, if a rigid body includes N light-emitting sources, the code information of the rigid body includes N code subsets. Among them, a code subset stores coded data of a luminous source in one recognition period. It should be noted that in the process of generating unique coding information for each rigid body in advance, the principle that the server should observe when determining the coding subset included in the coding information of different rigid bodies is: try to make the coding subsets different, that is, try to Ensure the uniqueness of each code subset.
可选地,在生成编码信息时,具体可以包括:根据预设的编码长度和刚体的发光源的数量生成编码信息。其中,预设的编码长度为:编码子集的编码长度与发光源的数量的乘积。例如,假设一个刚体的编码子集的编码长度为16,发光源的数量为8,则刚体对应的预设的编码长度是128,编码信息可以如图2所示,编码信息的每一行编码数据构成一个发光源对应的编码子集。可以理解的是,图2所示的编码信息仅仅是所述编码信息的一种呈现形式而已。Optionally, when generating coded information, it may specifically include: generating coded information according to a preset code length and the number of light emitting sources of the rigid body. The preset encoding length is: the product of the encoding length of the encoding subset and the number of light-emitting sources. For example, assuming that the encoding length of a rigid body encoding subset is 16, and the number of light-emitting sources is 8, then the preset encoding length corresponding to the rigid body is 128. The encoding information can be as shown in Figure 2. Each line of encoding information is encoded data Form a subset of codes corresponding to a luminous source. It can be understood that the encoded information shown in FIG. 2 is only a presentation form of the encoded information.
在生成编码信息之后,还将编码信息发送至交换机,交换机再将编码信息发送至基站,基站通过无线传输技术将所述编码信息发送至编码信息对应的刚体,并寄存在刚体的寄存器中,指示所述刚体根据所述编码信息控制所述刚体的发光源的亮度,无线传输技术可包括以下任意一种:无线保真(Wi-Fi)、紫蜂(ZigBee)。After the coded information is generated, the coded information is also sent to the switch, and the switch sends the coded information to the base station. The base station sends the coded information to the rigid body corresponding to the coded information through wireless transmission technology, and stores it in the register of the rigid body, indicating The rigid body controls the brightness of the light source of the rigid body according to the coded information, and the wireless transmission technology may include any one of the following: wireless fidelity (Wi-Fi) and ZigBee.
步骤102,根据编码信息和预设的刚体的编码信息对所述刚体进行识别。Step 102: Identify the rigid body according to the coding information and preset coding information of the rigid body.
可选地,步骤102可以包括:判断预设的刚体编码信息是否包含编码信息,若所述预设的刚体编码信息包含所述编码信息,则确定所述编码信息对应的刚体的名称或身份标识号(identification,ID)号。或者说,将所述编码信息和预设的编码信息进行比对,根据比对结果对所述刚体进行识别,以确定刚体的名称或身份标识号(identification,ID)号。Optionally, step 102 may include: judging whether the preset rigid body coding information includes coding information, and if the preset rigid body coding information includes the coding information, determining the name or identity of the rigid body corresponding to the coding information Number (identification, ID) number. In other words, the coded information is compared with the preset coded information, and the rigid body is identified according to the comparison result to determine the name or identification number (identification, ID) of the rigid body.
本申请实施例中,通过相机发送的一个识别周期内的图像数据获取对应刚体的编码信息,然后根据所述编码信息和预设的刚体编码信息对所述刚体进行识别,由于整个所述刚体识别方法与刚体的三维形态无关,因此不需要将运用于主动式光学动作捕捉系统中的刚体配置成不同的三维形态,从而大大提高了刚体的生产效率和主动式光学动作捕捉系统对刚体的识别能力。In the embodiment of the present application, the encoding information of the corresponding rigid body is obtained through the image data sent by the camera in a recognition period, and then the rigid body is identified according to the encoding information and preset rigid body encoding information. The method has nothing to do with the three-dimensional form of the rigid body, so there is no need to configure the rigid body used in the active optical motion capture system into different three-dimensional forms, which greatly improves the production efficiency of rigid bodies and the ability of the active optical motion capture system to recognize rigid bodies .
实施例二Example two
与上述实施例一对应,图3示出了本申请实施例提供的一种刚体识别装置的结构示意图,为了便于说明,仅示出了与本申请实施例相关的部分:Corresponding to the foregoing embodiment, FIG. 3 shows a schematic structural diagram of a rigid body recognition device provided by an embodiment of the present application. For ease of description, only the parts related to the embodiment of the present application are shown:
该刚体识别装置包括:编码信息获取单元301、识别单元302。其中:The rigid body identification device includes: an encoding information acquisition unit 301 and an identification unit 302. among them:
编码信息获取单元301,用于根据来自相机的一个识别周期内的图像数据获取对应刚体的编码信息。The encoding information acquiring unit 301 is configured to acquire encoding information of a corresponding rigid body according to the image data in a recognition period from the camera.
可选地,编码信息获取单元301,具体用于根据来自相机的一个识别周期内的图像数据确定属于同一刚体的发光源的标识信息和该发光源的编码数据,并根据同一刚体的发光源的标识信息和所述发光源的编码数据获取对应刚体的编码信息。关于根据图像数据确定发光源的标识信息和编码数据的操作方式,在方法实施例中已经有描述,此处不再赘述。Optionally, the coded information acquiring unit 301 is specifically configured to determine the identification information of the light-emitting source belonging to the same rigid body and the coded data of the light-emitting source according to the image data in a recognition period from the camera, and according to the light-emitting source of the same rigid body The identification information and the coded data of the light-emitting source obtain the coded information of the corresponding rigid body. The operation mode for determining the identification information and the encoded data of the light-emitting source according to the image data has been described in the method embodiment, and will not be repeated here.
识别单元302,用于根据所述编码信息和预设的刚体编码信息对所述刚体进行识别。具体实现时,识别单元302将确定出的编码信息和预设的刚体的编码信息进行比对,根据比对结果对所述刚体进行识别。The identifying unit 302 is configured to identify the rigid body according to the coding information and preset rigid body coding information. During specific implementation, the identification unit 302 compares the determined encoding information with the preset encoding information of the rigid body, and recognizes the rigid body according to the comparison result.
可选地,该刚体识别装置还包括:编码信息生成单元和编码信息发送单元。Optionally, the rigid body identification device further includes: an encoding information generating unit and an encoding information sending unit.
编码信息生成单元用于:生成编码信息;编码信息发送单元用于:发送所述编码信息至对应的刚体,指示所述刚体根据所述编码信息控制所述刚体的发光源的亮度。其中,编码信息生成单元具体可以用于根据预设的编码长度和刚体的发光源的数量生成编码信息。The coding information generating unit is used for generating coding information; the coding information sending unit is used for sending the coding information to a corresponding rigid body, and instructing the rigid body to control the brightness of the light emitting source of the rigid body according to the coding information. Wherein, the code information generating unit may be specifically configured to generate code information according to a preset code length and the number of light emitting sources of the rigid body.
本申请实施例中,通过根据来自相机发送的一个识别周期内的图像数据获取对应刚体的编码信息,然后根据所述编码信息和预设的刚体编码信息对所述刚体进行识别,由于整个所述刚体识别方法与刚体的三维形态无关,不需要将运用于主动式光学动作捕捉系统中的刚体配置成不同的三维形态,从而大大提高了刚体的生产效率和主动式光学动作捕捉系统对刚体的识别能力。In the embodiment of the present application, the encoding information of the corresponding rigid body is obtained according to the image data sent from the camera in a recognition period, and then the rigid body is identified according to the encoding information and preset rigid body encoding information. The rigid body recognition method has nothing to do with the three-dimensional shape of the rigid body, and there is no need to configure the rigid body used in the active optical motion capture system into different three-dimensional shapes, which greatly improves the production efficiency of rigid bodies and the recognition of rigid bodies by the active optical motion capture system ability.
实施例三Example three
本申请实施例还提供一种刚体识别系统,如图4所示,为了便于说明,仅示出了与本申请实施例相关的部分:The embodiment of the present application also provides a rigid body recognition system. As shown in FIG. 4, for ease of description, only the parts related to the embodiment of the present application are shown:
该刚体识别系统包括:基站41、刚体42、相机43及服务器44。下面,将分别对刚体识别系统中的每个部件做详细说明。The rigid body recognition system includes: a base station 41, a rigid body 42, a camera 43, and a server 44. Below, each component in the rigid body recognition system will be described in detail.
首先,服务器44的作用主要有:第一:为每个刚体42生成唯一的编码信息,并通过基站41下发至每个刚体42;第二:接收来自相机43的图像数据,并根据一个识别周期内的图像数据获取对应刚体的编码信息,以及根据编码信息和预设的刚体编码信息对刚体42进行识别。First of all, the main functions of the server 44 are as follows: First: generate unique code information for each rigid body 42 and send it to each rigid body 42 through the base station 41; second: receive image data from the camera 43 and identify it according to a The image data in the period acquires the coding information of the corresponding rigid body, and the rigid body 42 is identified according to the coding information and preset rigid body coding information.
其中,在系统配置阶段,服务器44在为每个刚体生成唯一的编码信息时,服务器44可以根据预设的编码长度和刚体的发光源的数量为每个刚体生成唯一的编码信息。其中,预设的编码规则可包括以下任意一种:设置帧头、奇偶校验码编码规则、汉明码编码规则。而编码信息具体可以为二进制编码信息。编码信息可以包括:与发光源的数量对应的编码子集。举例来说,若一个刚体包括N个发光源,则该刚体的编码信息则包括N个编码子集。其中,一个编码子集内存储有一个发光源一个识别周期内的编码数据。在每一识别周期内,发光源依序根据编码信息的指示控制光源亮度。即发光源的光源亮度,一个识别周期循环一次。需要说明的是,在预先为每个刚体生成唯一的编码信息的过程中,服务器44确定不同刚体的编码信息所包括的编码子集时应遵守的原则是:尽量使编码子集不一样,即尽量保证每个编码子集的唯一性。In the system configuration stage, when the server 44 generates unique code information for each rigid body, the server 44 may generate unique code information for each rigid body according to the preset code length and the number of light sources of the rigid body. Among them, the preset encoding rules may include any one of the following: setting frame headers, parity check code encoding rules, and Hamming code encoding rules. The encoding information may specifically be binary encoding information. The code information may include: a code subset corresponding to the number of light emitting sources. For example, if a rigid body includes N light-emitting sources, the code information of the rigid body includes N code subsets. Among them, a code subset stores coded data of a luminous source in one recognition period. In each recognition period, the light source sequentially controls the brightness of the light source according to the instructions of the coded information. That is, the brightness of the light source of the light-emitting source, which is repeated once in a recognition cycle. It should be noted that in the process of generating unique coding information for each rigid body in advance, the principle that the server 44 should observe when determining the coding subsets included in the coding information of different rigid bodies is: try to make the coding subsets different, that is, Try to ensure the uniqueness of each code subset.
其中,预设的编码长度为:编码子集的编码长度与发光源的数量的乘积。假定一个刚体的编码子集的编码长度为16,发光源的数量为8,则该刚体对应的预设的编码长度是128,该编码信息可以如图2所示,编码信息的每一行编码数据构成一个发光源对应的编码子集。可以理解的是,图2所示的编码信息仅仅是编码信息的一种呈现形式而已。The preset encoding length is: the product of the encoding length of the encoding subset and the number of light-emitting sources. Assuming that the code length of the code subset of a rigid body is 16, and the number of light sources is 8, the preset code length corresponding to the rigid body is 128. The code information can be as shown in Figure 2. Each line of code data of the code information Form a subset of codes corresponding to a luminous source. It can be understood that the encoded information shown in FIG. 2 is only a presentation form of the encoded information.
其中,在系统运行阶段,服务器44还用于接收来自相机的图像数据,并根据一个识别周期内的图像数据获取对应刚体的编码信息,以及根据编码信息和预设的刚体的编码信息对刚体42进行识别。例如服务器44可以将编码信息和预设的编码信息进行比对,根据比对结果对所述刚体进行识别,如可以根据比对结果确定刚体的名称或身份标识号(identification,ID)号。Among them, in the system operation stage, the server 44 is also used to receive the image data from the camera, and obtain the coding information of the corresponding rigid body according to the image data in a recognition period, and to compare the rigid body 42 according to the coding information and preset rigid body coding information. Identify it. For example, the server 44 may compare the coded information with preset coded information, and identify the rigid body according to the comparison result. For example, the name or identification number (identification, ID) of the rigid body may be determined according to the comparison result.
具体进行刚体识别时,服务器44可以根据相机43发送的一个识别周期内每帧图像中每一发光源的关联域灰度数据,确定一个识别周期内每一发光源的关联域灰度数据的平均值,并将该关联域灰度数据的平均值作为每一发光源当前识别周期内的灰度值阈值。以及根据该灰度值阈值和每帧图像中对应的每一发光源的关联域灰度数据,分别确定一个识别周期内每帧图像中每一发光源的编码数据。确定每一发光源的编码数据的方式例如可以是:When performing rigid body recognition, the server 44 can determine the average gray level data of each light-emitting source in a recognition period according to the gray-level data of each light-emitting source in each frame of the image sent by the camera 43. The average value of the gray data of the associated domain is used as the gray value threshold of each light source in the current identification period. And according to the gray value threshold and the associated domain gray data of each corresponding light-emitting source in each frame of image, the coded data of each light-emitting source in each frame of image in a recognition period is determined respectively. The way to determine the coded data of each luminous source can be, for example:
判断发光源的关联域灰度数据是否大于或者等于灰度值阈值,若发光源的关联域灰度数据大于或者等于灰度值阈值,则将发光源的编码数据确定为1,若发光源的关联域灰度数据小于灰度值阈值,则将发光源的编码数据确定为0,以此类推,服务器44便可确定出一个识别周期内每帧图像中每一发光源的编码数据。Determine whether the associated domain grayscale data of the light-emitting source is greater than or equal to the grayscale value threshold. If the associated domain grayscale data of the light-emitting source is greater than or equal to the grayscale value threshold, the coded data of the light-emitting source is determined to be 1. If the gray data of the associated domain is less than the gray value threshold, the coded data of the light-emitting source is determined to be 0, and by analogy, the server 44 can determine the coded data of each light-emitting source in each frame of the image in a recognition period.
在确定每一发光源的编码数据之后,服务器44还可以根据相机43发送的一个识别周期内每帧图像的每一发光源的质心坐标值,确定属于同一刚体的发光源的标识信息;以及服务器44还根据一个识别周期内每帧图像中每一发光源的编码数据和属于同一刚体的发光源的标识信息,确定对应刚体的编码信息。在确定发光源的标识信息时,操作方式例如可以是:服务器44根据一个识别周期内每帧图像的每一发光源的质心坐标值,确定属于同一刚体的发光源的标识信息,例如,可以通过发光源的质心坐标值,确定发光源之间的相对距离,并确定距离较近的发光源属于同一刚体。After determining the coded data of each light-emitting source, the server 44 may also determine the identification information of the light-emitting source belonging to the same rigid body according to the centroid coordinate value of each light-emitting source of each frame of the image sent by the camera 43 in a recognition period; and 44 also determines the coding information of the corresponding rigid body according to the coded data of each light-emitting source in each frame of the image and the identification information of the light-emitting source belonging to the same rigid body in a recognition period. When determining the identification information of the light-emitting source, the operation mode may be, for example, that the server 44 determines the identification information of the light-emitting source belonging to the same rigid body according to the centroid coordinate value of each light-emitting source of each frame of image in a recognition period, for example, through The coordinate value of the center of mass of the luminous source determines the relative distance between the luminous sources, and confirms that the luminous sources that are closer together belong to the same rigid body.
需要说明的是,由于不同识别周期内同一识别周期内不同发光源的关联域灰度数据的平均值是会变化的,那么相应地,不同发光源的灰度值阈值在相同或不同的识别周期中也是动态变化的。服务器44在根据发光源的质心坐标值确定属于同一刚体的发光源的标识信息时,操作方式例如可以是:根据每一发光源的质心坐标值,确定各个发光源之间的相对距离,将相对距离小于预设距离阈值的发光源确定为属于同一刚体的发光源,确定属于同一刚体的发光源的标识信息;根据属于同一刚体的发光源的标识信息和每一发光源的编码数据,确定对应刚体的编码信息。It should be noted that since the average value of the gray data of the associated domain of different light-emitting sources in the same recognition period in different recognition periods will change, then correspondingly, the gray value thresholds of different light-emitting sources are in the same or different recognition periods. China also changes dynamically. When the server 44 determines the identification information of the light-emitting source belonging to the same rigid body according to the coordinate value of the centroid of the light-emitting source, the operation mode may be, for example, determining the relative distance between each light-emitting source according to the coordinate value of the centroid of each light-emitting source. The light-emitting source whose distance is less than the preset distance threshold is determined as the light-emitting source belonging to the same rigid body, and the identification information of the light-emitting source belonging to the same rigid body is determined; according to the identification information of the light-emitting source belonging to the same rigid body and the code data of each light-emitting source, the corresponding The encoding information of the rigid body.
其次,介绍基站41,其作用有:生成同步触发信号,以及实现系统部件间信息的传输。例如,基站41按照预定的间隔周期生成同步触发信号,并把生成的同步触发信号同时下发给刚体42和相机43,以使得刚体42能够根据同步触发信号,控制刚体42上发光源的亮度,同时又使得相机43能够根据同步触发信号,捕捉到刚体上发光源的图像数据。具体实现时,基站41可以通过无线传输技术同时向刚体42和相机43发送同步触发信号。其中,无线传输技术可包括以下任意一种:无线保真(Wi-Fi)、紫蜂(ZigBee)。Secondly, the base station 41 is introduced. Its functions include generating synchronization trigger signals and realizing the transmission of information between system components. For example, the base station 41 generates a synchronization trigger signal according to a predetermined interval period, and sends the generated synchronization trigger signal to the rigid body 42 and the camera 43 at the same time, so that the rigid body 42 can control the brightness of the light source on the rigid body 42 according to the synchronization trigger signal. At the same time, the camera 43 can capture the image data of the light-emitting source on the rigid body according to the synchronization trigger signal. During specific implementation, the base station 41 may simultaneously send a synchronization trigger signal to the rigid body 42 and the camera 43 through wireless transmission technology. Among them, the wireless transmission technology may include any of the following: wireless fidelity (Wi-Fi), ZigBee (ZigBee).
在进行部件间信息的传输时,基站41将接收到的来自服务器44的多个编码信息随机分配给多个刚体42,每个刚体42在收到编码信息之后,将编码信息寄存在刚体42的寄存器中。During the transmission of information between components, the base station 41 randomly allocates the multiple coded information received from the server 44 to the multiple rigid bodies 42. After each rigid body 42 receives the coded information, the coded information is registered in the rigid body 42. In the register.
再次,介绍刚体42,刚体42包括多个发光源,其作用有:第一:接收来自基站41下发的刚体的编码信息并寄存在刚体的寄存器中;第二:接收到来自基站41的同步触发信号之后,从自身存储的编码信息中调用编码数据并分配给每个发光源,以使每个发光源能够根据编码数据控制发光源的亮度。Again, the rigid body 42 is introduced. The rigid body 42 includes multiple luminous sources. Its functions are as follows: first: to receive the coded information of the rigid body from the base station 41 and store it in the register of the rigid body; second: to receive the synchronization from the base station 41 After the trigger signal, the coded data is called from the coded information stored by itself and assigned to each light-emitting source, so that each light-emitting source can control the brightness of the light-emitting source according to the coded data.
其中,该刚体识别系统中刚体42的数量可以是1个或多个,并不限于图4中示意的3个。而发光源可为发光二极管(Light Emitting Diode,LED),而编码数据可以包括0或1。即本申请实施例是通过发光源的亮度来标识相应的编码数据为1或为0。刚体42上的发光源数量与编码信息包括的编码子集数量相同,而每个编码子集内存储有一个发光源一个识别周期内的编码数据;刚体42每接收到一次同步触发信号进行一次编码数据分配时,具体是在接收到同步触发信号之后,分别从自身存储的N个编码子集中依序选取一位编码数据发送给对应的发光源。即一次同步信号触发之后,每个发光源只收到1位编码数据。当刚体42接收到下一次同步触发信号之后,再从寄存器存储的N个发光源的编码信息中分别选取下一位编码数据并发送给对应的发光源,以此类推,自此完成一个识别周期的发光。当一个识别周期完成之后,即发光源的编码信息已经完成一轮分配之后,当再次接收到同步触发信号之后,刚体42循环使用发光源的编码信息,开始下一识别周期的编码数据分配。The number of rigid bodies 42 in the rigid body recognition system may be one or more, and is not limited to the three shown in FIG. 4. The light source may be a light emitting diode (Light Emitting Diode, LED), and the coded data may include 0 or 1. That is, the embodiment of the present application uses the brightness of the light source to identify the corresponding encoded data as 1 or 0. The number of luminous sources on the rigid body 42 is the same as the number of coded subsets included in the coded information, and each coded subset stores the coded data of a luminous source within one identification period; the rigid body 42 performs an encoding every time it receives a synchronization trigger signal When data is distributed, after receiving the synchronization trigger signal, one bit of coded data is sequentially selected from the N coded subsets stored in itself and sent to the corresponding light emitting source. That is, after a synchronization signal is triggered, each light source only receives 1 bit of coded data. After the rigid body 42 receives the next synchronization trigger signal, it selects the next coded data from the coded information of the N light-emitting sources stored in the register and sends it to the corresponding light-emitting source, and so on, since then, a recognition cycle is completed Glowing. After a recognition cycle is completed, that is, after a round of distribution of the coded information of the light-emitting source has been completed, when the synchronization trigger signal is received again, the rigid body 42 recycles the coded information of the light-emitting source to start the coded data distribution of the next recognition cycle.
最后,介绍相机43,其用于在接收到来自基站41的同步触发信号之后,对刚体42进行曝光拍摄,以及将拍摄得到的图像数据发送至服务器44。其中,一个相机43能够拍摄多个刚体42的图像。需要说明的是,刚体42上发光源的亮度变化与相机43的曝光拍摄是同步进行的,即刚体42每接收到一次同步触发信号即进行一次编码数据分配;而相机43每接收到一次同步触发信号即进行一次曝光拍摄。由于同步触发信号是同步发送给刚体和相机的,因此能够保证相机能够捕捉到发光源的亮度变化。例如,如图5所示,刚体每接收到一次上升沿同步触发信号即进行一次编码数据分配;相机43每接收到一次上升沿同步触发信号即进行一次曝光拍摄。以此保证发光源如LED灯的亮度发生变化时,相机能够同步捕捉到。Finally, the camera 43 is introduced. After receiving the synchronization trigger signal from the base station 41, the rigid body 42 is exposed and photographed, and the photographed image data is sent to the server 44. Among them, one camera 43 can take images of multiple rigid bodies 42. It should be noted that the brightness change of the light source on the rigid body 42 is synchronized with the exposure and shooting of the camera 43, that is, the coded data is distributed every time the rigid body 42 receives a synchronization trigger signal; and the camera 43 receives a synchronization trigger every time The signal is an exposure shot. Since the synchronization trigger signal is synchronously sent to the rigid body and the camera, it can ensure that the camera can capture the brightness change of the light source. For example, as shown in FIG. 5, the rigid body performs an encoding data distribution every time a rising edge synchronization trigger signal is received; the camera 43 performs an exposure shooting every time a rising edge synchronization trigger signal is received. This ensures that the camera can capture the changes in the brightness of the light source such as LED lights.
可以理解的是,相机43发送给服务器44的图像数据可以包括:每一发光源的关联域灰度数据和每一发光源的质心坐标值。因此在发送图像数据至服务器44之前,相机43还需要确定曝光拍摄的每帧图像中每一发光源的关联域灰度数据和每一发光源的质心坐标值;以及将每一发光源的关联域灰度数据和每一发光源的质心坐标值发送给服务器44。可选地,关联域灰度数据可以包括:关联域平均灰度值或关联域总灰度值。It is understandable that the image data sent by the camera 43 to the server 44 may include the gray data of the associated domain of each light-emitting source and the coordinate value of the centroid of each light-emitting source. Therefore, before sending the image data to the server 44, the camera 43 also needs to determine the correlation domain grayscale data of each light-emitting source and the centroid coordinate value of each light-emitting source in each frame of image taken by exposure; and associate each light-emitting source The domain gray scale data and the centroid coordinate value of each light source are sent to the server 44. Optionally, the gray data of the associated domain may include: an average gray value of the associated domain or a total gray value of the associated domain.
具体地,相机43在每进行一次曝光拍摄之后,即立即确定曝光拍摄的每帧图像中每一发光源的关联域灰度数据和每一发光源的质心坐标值,并将当前确定得到的每一发光源的关联域灰度数据和每一发光源的质心坐标值立即发送给服务器44。假定一个识别周期内包括F次拍摄,根据接收到的F次同步触发信号,相机进行F次曝光拍摄,即一个识别周期内,相机43发送F次图像数据(包括)给服务器44。Specifically, the camera 43 immediately determines the associated domain grayscale data of each light-emitting source and the centroid coordinate value of each light-emitting source in each frame of image taken by the exposure after each exposure and shooting, and calculates the current determined value of each light-emitting source. The gray data of the associated domain of a luminous source and the coordinate value of the centroid of each luminous source are sent to the server 44 immediately. Assuming that one recognition cycle includes F times of shooting, the camera performs F times of exposure and shooting according to the received F times of synchronization trigger signal, that is, in one recognition cycle, the camera 43 sends F times of image data (including) to the server 44.
可选地,该刚体识别系统还可以包括:交换机45,如图4所示,其作用是:实现服务器44与基站41之间的数据交换,实现基站41与相机43之间的数据交换。在服务器44生成唯一的编码信息,该编码信息可以通过交换机45发送给基站41。当然,交换机45还可以接收基站41发送的同步触发信号,并将同步触发信号发送至相机43。Optionally, the rigid body recognition system may further include: a switch 45, as shown in FIG. 4, its function is to realize data exchange between the server 44 and the base station 41, and realize data exchange between the base station 41 and the camera 43. The server 44 generates unique code information, and the code information can be sent to the base station 41 through the switch 45. Of course, the switch 45 can also receive the synchronization trigger signal sent by the base station 41 and send the synchronization trigger signal to the camera 43.
需要说明的一点是,刚体42上的发光源数量N与编码信息包括的编码子集数量相同,而每个编码子集内存储有一个发光源一个识别周期内的编码数据。一个识别周期内的曝光拍摄次数与编码子集的编码长度F取值相同。编码子集的编码长度例如可以为F,F为等于或者大于二的正整数。对于F的取值,F越小,可编码的范围较小,相应地可识别的刚体数量比较少,F取值越大,则一次识别周期的曝光拍摄次数较多,所耗费的时间也会越多,这样则会降低刚体的识别速度。具体实现时,F可以选为16。It should be noted that the number N of light-emitting sources on the rigid body 42 is the same as the number of coded subsets included in the coded information, and each coded subset stores coded data for one light-emitting source within one identification period. The number of exposure shots in a recognition period is the same as the code length F of the code subset. The coding length of the coding subset may be, for example, F, where F is a positive integer equal to or greater than two. For the value of F, the smaller the F, the smaller the encoding range, and the smaller the number of identifiable rigid bodies. The larger the value of F, the more exposure and shooting times in a recognition cycle, and the time consumed will also be The more, this will reduce the recognition speed of rigid bodies. For specific implementation, F can be selected as 16.
假设N为8,F为16,即刚体42包括8个发光源, 编码信息包括8个编码子集,刚体42在接收到第一次同步触发信号之后,则分别从所有编码子集中选取第一位编码数据,并将选取出的第一位编码数据分别发送至对应的发光源。在接收到第二次同步触发信号之后,则分别从所有编码子集中选取第二位编码数据,并将选取出的所有第二位编码数据发送至对应的发光源,如此循环往返,直到一个识别周期内完成16次同步触发信号的接收以及16次编码数据的分配。Assuming that N is 8 and F is 16, that is, the rigid body 42 includes 8 luminous sources, and the code information includes 8 code subsets. After the rigid body 42 receives the first synchronization trigger signal, it selects the first from all code subsets. Bit coded data, and send the selected first bit of coded data to the corresponding light emitting source respectively. After receiving the second synchronization trigger signal, the second bit of coded data is selected from all the coded subsets, and all the selected second bit of coded data is sent to the corresponding light source, and so on, until a recognition Complete 16 times of synchronization trigger signal reception and 16 times of coded data distribution in the cycle.
下面,将详细描述该刚体识别系统的运行过程。In the following, the operation process of the rigid body recognition system will be described in detail.
本发明实施例的刚体识别系统在工作时,大体可以分为两个阶段,即配置阶段和运行识别阶段,下面将进行详细描述。When the rigid body recognition system of the embodiment of the present invention is working, it can be roughly divided into two stages, namely the configuration stage and the operation recognition stage, which will be described in detail below.
在配置阶段,服务器44根据预设的编码长度和刚体的发光源的数量,按照预设的编码规则为每个刚体42生成唯一的编码信息。在服务器44为每个刚体42生成唯一的编码信息之后,需要将预设的多个刚体的编码信息发送至每个刚体42。具体实现时,服务器44通过交换机45发送给基站41,基站41在接收到预设的编码信息之后,再通过无线传输技术将预设的多个刚体的编码信息随机分配给多个刚体42。每个刚体42在收到编码信息之后,将接收得到的编码信息寄存在自身的寄存器中。In the configuration stage, the server 44 generates unique code information for each rigid body 42 according to the preset coding length and the number of light emitting sources of the rigid body. After the server 44 generates unique coding information for each rigid body 42, it is necessary to send the coding information of a plurality of preset rigid bodies to each rigid body 42. In specific implementation, the server 44 sends to the base station 41 through the switch 45. After receiving the preset encoding information, the base station 41 randomly allocates the preset encoding information of multiple rigid bodies to the multiple rigid bodies 42 through wireless transmission technology. After each rigid body 42 receives the encoded information, it registers the received encoded information in its own register.
在运行阶段,基站41通过无线传输技术(比如无线wifi、ZigBee等无线通讯技术)向所有刚体42广播同步触发信号。每接收到一个同步触发信号,刚体42就从寄存器里编码信息包括的每个编码子集中按顺序分别调用1位编码数据分别分配给相应发光源(若发光源数为N,则共调用N位编码数据,每个发光源收到1位编码数据)。发光源接收到编码数据之后,根据编码数据的指示,来控制自身的发光强度,即是说,本发明实施例是通过发光源的明或暗来展示相应编码为1或为0。与此同时,同样的同步触发信号也会由基站41发送到交换机45并传送给相机43,相机43接收到该同步触发信号之后,即进行一次曝光拍摄。即是说,刚体每接收到到一次同步触发信号即进行一次编码数据分配,相机每接收到一次同步触发信号即进行一次曝光拍摄。During the operation phase, the base station 41 broadcasts a synchronization trigger signal to all rigid bodies 42 through wireless transmission technology (such as wireless wifi, ZigBee and other wireless communication technologies). Each time a synchronization trigger signal is received, the rigid body 42 calls 1 bit of coded data from each code subset included in the coded information in the register in order and respectively allocates it to the corresponding light-emitting source (if the number of light-emitting sources is N, then a total of N bits are called Coded data, each light source receives 1 bit of coded data). After receiving the coded data, the luminous source controls its own luminous intensity according to the instructions of the coded data, that is, the embodiment of the present invention displays the corresponding code as 1 or 0 through the light or dark of the luminous source. At the same time, the same synchronization trigger signal is also sent from the base station 41 to the switch 45 and sent to the camera 43. After the camera 43 receives the synchronization trigger signal, an exposure shot is performed. That is to say, every time the rigid body receives a synchronization trigger signal, the coded data is distributed once, and the camera receives a synchronization trigger signal every time it performs an exposure shooting.
相机43在进行曝光拍摄之后,需要将拍摄得到的图像数据发送给服务器44。具体地,图像数据包括发光源的关联域灰度值及质心坐标值。因此,相机43首先需要确定曝光拍摄的每帧图像中每一发光源的关联域灰度值和每一发光源的质心坐标值。在确定每帧图像中每一发光源的关联域灰度值,可以将发光源关联域的平均灰度值或总灰度值作为发光源的关联域灰度值。在确定每帧图像中每一发光源的关联域灰度值之后,相机43还需要将确定出的当前帧图像中每一发光源的关联域灰度值和每一发光源的质心坐标值发送给服务器44。需要说明的是,相机每进行一次曝光拍摄之后,即需要立即将当前次曝光拍摄得到的图像帧中每一发光源的关联域灰度值和每一发光源的质心坐标值发送给服务器44。假定一个识别周期内包括F次拍摄,通过发送完F次同步触发信号,相机进行F次曝光,即一个识别周期内,相机发送F次图像数据给服务器44。After the camera 43 performs exposure shooting, it needs to send the image data obtained by shooting to the server 44. Specifically, the image data includes the gray value of the associated domain of the light-emitting source and the coordinate value of the center of mass. Therefore, the camera 43 first needs to determine the gray value of the associated domain of each light-emitting source and the coordinate value of the centroid of each light-emitting source in each frame of images taken by exposure. When determining the gray value of the associated domain of each light-emitting source in each frame of image, the average gray value or the total gray value of the associated domain of the light-emitting source can be used as the gray value of the associated domain of the light-emitting source. After determining the gray value of the associated domain of each light-emitting source in each frame of image, the camera 43 also needs to send the determined gray value of the associated domain of each light-emitting source in the current frame image and the centroid coordinate value of each light-emitting source Give the server 44. It should be noted that each time the camera performs an exposure shooting, it needs to immediately send the associated domain gray value of each light-emitting source and the centroid coordinate value of each light-emitting source in the image frame obtained by the current exposure to the server 44. Assuming that one recognition cycle includes F times of shooting, the camera performs F times of exposure after sending F synchronization trigger signals, that is, in one recognition cycle, the camera sends F times of image data to the server 44.
服务器44在接收到一个识别周期内F帧图像中每一发光源的关联域灰度值和每一发光源的质心坐标值之后。根据一个识别周期内F帧图像中每一发光源的关联域灰度值,计算一个识别周期内每一发光源的关联域灰度值平均值,并将该关联域灰度值平均值作为当前识别周期的灰度值阈值。然后根据灰度值阈值和每帧图像中每一发光源的关联域灰度值,分别确定一个识别周期内每帧图像中每一发光源的编码信息。需要说明的是,不同的识别周期,不同发光源的灰度阈值是动态变化的。The server 44 receives the gray value of the associated domain of each light-emitting source and the coordinate value of the center of mass of each light-emitting source in the F frame image in a recognition period. According to the correlation domain gray value of each light-emitting source in the F frame image in a recognition period, calculate the correlation domain gray value average value of each light-emitting source in a recognition period, and use the correlation domain gray value average value as the current The gray value threshold of the identification period. Then, according to the gray value threshold and the associated domain gray value of each light-emitting source in each frame of image, the coded information of each light-emitting source in each frame of image in a recognition period is determined. It should be noted that the gray-scale threshold of different light-emitting sources changes dynamically for different identification periods.
在根据灰度值阈值和每帧图像中每一发光源的关联域灰度值,分别确定一个识别周期内每帧图像中每一发光源的编码信息时,具体操作方式可以是:确定出的灰度值阈值为M,若发光源的关联域灰度值大于等于M,则确定发光源的编码信息为1,若发光源的关联域灰度值小于M,则确定发光源的编码信息为0。如此,服务器44便可确定出一个识别周期内每一帧图像中每一发光源的编码信息。在运行阶段的信号时序图可以通过图5来表示。When determining the encoding information of each light-emitting source in each frame of the image in a recognition period according to the gray value threshold and the gray value of the associated domain of each light-emitting source in each frame of image, the specific operation method can be: determined The gray value threshold is M. If the gray value of the associated domain of the light-emitting source is greater than or equal to M, the code information of the light-emitting source is determined to be 1, and if the gray value of the associated domain of the light-emitting source is less than M, the code information of the light-emitting source is determined to be 0. In this way, the server 44 can determine the code information of each light source in each frame of the image in a recognition period. The signal timing diagram in the running phase can be represented by Figure 5.
服务器44还可以根据一个识别周期内每帧图像的每一发光源的质心坐标值,确定属于同一刚体的发光源的标识信息,例如,可以通过发光源的质心坐标值,确定发光源之间的相对距离,并确定距离较近的发光源属于同一刚体。The server 44 can also determine the identification information of the light-emitting source belonging to the same rigid body according to the centroid coordinate value of each light-emitting source of each frame of the image in a recognition period. For example, the centroid coordinate value of the light-emitting source can be used to determine the distance between the light-emitting sources. Relative distance, and confirm that the luminous sources that are closer together belong to the same rigid body.
最后,服务器44根据确定出的属于同一刚体的发光源信息和每一发光源的编码信息,便可确定出一个识别周期内每一刚体的编码信息。服务器44将确定的刚体的编码信息和预设的编码信息进行比对,根据比对结果对刚体进行识别,从而确定出刚体的名称或ID号。即是说,本发明实施例通过记录到一个识别周期内不同刚体多个发光源明或暗的形式展现的多帧图像数据,即可通过不同的编码区分出不同的发光源,从而区分出不同的刚体。由于本发明的刚体识别系统的刚体识别过程与刚体的三维形态无关,因此不需要将主动式光学动作捕捉系统中的刚体配置成不同的三维形态,从而大大提高了刚体的生产效率和主动式光学动作捕捉系统对刚体的识别能力。Finally, the server 44 can determine the code information of each rigid body in a recognition period according to the determined luminous source information belonging to the same rigid body and the code information of each luminous source. The server 44 compares the determined encoding information of the rigid body with the preset encoding information, and recognizes the rigid body according to the comparison result, thereby determining the name or ID number of the rigid body. That is to say, in the embodiment of the present invention, by recording multiple frames of image data displayed in the form of bright or dark multiple luminous sources of different rigid bodies in a recognition period, different luminous sources can be distinguished by different codes, thereby distinguishing different The rigid body. Since the rigid body recognition process of the rigid body recognition system of the present invention has nothing to do with the three-dimensional form of the rigid body, there is no need to configure the rigid body in the active optical motion capture system into different three-dimensional forms, thereby greatly improving the production efficiency of rigid bodies and the active optics The ability of the motion capture system to recognize rigid bodies.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence number of each step in the foregoing embodiment does not mean the order of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present application.
实施例四Example four
图6是本申请一实施例提供的终端设备的示意图。如图6所示,该实施例的终端设备6包括:处理器60、存储器61以及存储在所述存储器61中并可在所述处理器60上运行的计算机程序62,例如刚体识别程序。所述处理器60执行所述计算机程序62时实现上述各个刚体识别方法实施例中的步骤,例如图1所示的步骤102至102。或者,所述处理器60执行所述计算机程序62时实现上述各装置实施例中各模块/单元的功能,例如图3所示单元301至302的功能。Fig. 6 is a schematic diagram of a terminal device provided by an embodiment of the present application. As shown in FIG. 6, the terminal device 6 of this embodiment includes a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and running on the processor 60, such as a rigid body recognition program. When the processor 60 executes the computer program 62, the steps in the foregoing embodiments of the rigid body recognition method are implemented, for example, steps 102 to 102 shown in FIG. 1. Alternatively, when the processor 60 executes the computer program 62, the functions of the modules/units in the foregoing device embodiments, such as the functions of the units 301 to 302 shown in FIG. 3, are realized.
示例性的,所述计算机程序62可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器61中,并由所述处理器60执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序62在所述终端设备6中的执行过程。例如,所述计算机程序62可以被分割成编码信息获取单元、识别单元,各单元具体功能如下:编码信息获取单元,用于根据来自相机发送的一个识别周期内的图像数据获取对应刚体的编码信息;识别单元,用于根据所述编码信息和预设的刚体编码信息对所述刚体进行识别。Exemplarily, the computer program 62 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 61 and executed by the processor 60 to complete This application. The one or more modules/units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 62 in the terminal device 6. For example, the computer program 62 can be divided into an encoding information acquisition unit and an identification unit. The specific functions of each unit are as follows: The encoding information acquisition unit is used to acquire the encoding information of the corresponding rigid body according to the image data sent from the camera in a recognition period. ; Identification unit for identifying the rigid body according to the coding information and preset rigid body coding information.
所述终端设备6可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述终端设备可包括,但不仅限于,处理器60、存储器61。本领域技术人员可以理解,图6仅仅是终端设备6的示例,并不构成对终端设备6的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备还可以包括输入输出设备、网络接入设备、总线等。The terminal device 6 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The terminal device may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art can understand that FIG. 6 is only an example of the terminal device 6 and does not constitute a limitation on the terminal device 6. It may include more or less components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.
所称处理器60可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器 (Digital Signal Processor,DSP)、专用集成电路 (Application Specific Integrated Circuit,ASIC)、现场可编程门阵列 (Field-Programmable Gate Array,FPGA) 或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 60 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
所述存储器61可以是所述终端设备6的内部存储单元,例如终端设备6的硬盘或内存。所述存储器61也可以是所述终端设备6的外部存储设备,例如所述终端设备6上配备的插接式硬盘,智能存储卡(Smart Media Card, SMC),安全数字(Secure Digital, SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器61还可以既包括所述终端设备7的内部存储单元也包括外部存储设备。所述存储器61用于存储所述计算机程序以及所述终端设备所需的其他程序和数据。所述存储器61还可以用于暂时地存储已输出或将要输出的数据。The memory 61 may be an internal storage unit of the terminal device 6, such as a hard disk or memory of the terminal device 6. The memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), or a secure digital (Secure Digital, SD) equipped on the terminal device 6. Flash memory card Card) etc. Further, the memory 61 may also include both an internal storage unit of the terminal device 7 and an external storage device. The memory 61 is used to store the computer program and other programs and data required by the terminal device. The memory 61 can also be used to temporarily store data that has been output or will be output.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and conciseness of description, only the division of the above-mentioned functional units and modules is used as an example. In practical applications, the above-mentioned functions can be allocated to different functional units and modules as required. Module completion means dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist alone physically, or two or more units can be integrated into one unit. The above-mentioned integrated units can be hardware-based Formal realization can also be realized in the form of software functional units. In addition, the specific names of the functional units and modules are only used to facilitate distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the above system, please refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail or recorded in an embodiment, reference may be made to related descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may be aware that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
在本申请所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the device/terminal device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units. Or components can be combined or integrated into another system, or some features can be omitted or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。If the integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, this application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, the steps of the foregoing method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. It should be noted that the content contained in the computer-readable medium can be appropriately added or deleted according to the requirements of the legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to the legislation and patent practice, the computer-readable medium Does not include electrical carrier signals and telecommunication signals.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still implement the foregoing The technical solutions recorded in the examples are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the application, and should be included in Within the scope of protection of this application.

Claims (19)

  1. 一种刚体识别方法,其特征在于,包括:A rigid body recognition method, characterized in that it comprises:
    根据来自相机的一个识别周期内的图像数据获取对应刚体的编码信息;Obtain the coding information of the corresponding rigid body according to the image data from the camera in a recognition cycle;
    根据所述编码信息和预设的刚体的编码信息对所述刚体进行识别。The rigid body is identified according to the coding information and preset coding information of the rigid body.
  2. 如权利要求1所述的刚体识别方法,其特征在于,所述图像数据包括:刚体上发光源的关联域灰度数据和质心坐标值;所述根据来自相机发送的一个识别周期内的图像数据获取对应刚体的编码信息,包括:The rigid body recognition method according to claim 1, wherein the image data includes: gray-scale data of the associated domain and the center of mass coordinate value of the light-emitting source on the rigid body; the image data in a recognition cycle sent from the camera Get the coding information of the corresponding rigid body, including:
    根据来自相机的所述识别周期内每帧图像中每一所述发光源的关联域灰度数据,确定所述识别周期内每一发光源的关联域灰度数据的平均值,并将所述关联域灰度数据的平均值作为当前识别周期的灰度值阈值,所述关联域灰度数据包括:关联域平均灰度值或关联域总灰度值;According to the correlation domain gray data of each light-emitting source in each frame of the image from the camera, determine the average value of the correlation-domain gray data of each light-emitting source in the recognition period, and compare the The average value of the gray data of the associated domain is used as the gray value threshold of the current recognition period, and the gray data of the associated domain includes: the average gray value of the associated domain or the total gray value of the associated domain;
    根据所述灰度值阈值和每帧图像中每一所述发光源的关联域灰度数据,分别确定一个所述识别周期内每帧图像中每一所述发光源的编码数据;According to the gray value threshold and the associated domain gray data of each light emitting source in each frame of image, respectively determining the coded data of each light emitting source in each frame of image in the recognition period;
    根据来自相机的所述识别周期内每帧图像的每一所述发光源的质心坐标值,确定属于同一刚体的所述发光源的标识信息;Determining the identification information of the light emitting source belonging to the same rigid body according to the centroid coordinate value of each light emitting source of each frame of image in the recognition period from the camera;
    根据一个所述识别周期内每帧图像中每一所述发光源的编码数据和属于同一刚体的所述发光源的标识信息,获取对应刚体的编码信息。According to the coded data of each light-emitting source and the identification information of the light-emitting source belonging to the same rigid body in each frame of image in one recognition period, the coded information of the corresponding rigid body is obtained.
  3. 如权利要求1所述的刚体识别方法,其特征在于,所述根据所述编码信息和预设的刚体的编码信息对所述刚体进行识别,包括:The method for identifying a rigid body according to claim 1, wherein the identifying the rigid body according to the encoding information and preset encoding information of the rigid body comprises:
    将所述编码信息和预设的刚体的编码信息进行比对,根据比对结果对所述刚体进行识别。The coding information is compared with the coding information of the preset rigid body, and the rigid body is identified according to the comparison result.
  4. 如权利要求1所述的刚体识别方法,其特征在于,在所述根据来自相机发送的一个识别周期内的图像数据获取对应刚体的编码信息之前,包括:5. The rigid body recognition method according to claim 1, wherein before said acquiring the coding information of the corresponding rigid body according to the image data sent from the camera in a recognition period, the method comprises:
    生成编码信息;Generate coding information;
    发送所述编码信息至对应的刚体,指示所述刚体根据所述编码信息控制所述刚体上发光源的亮度。Sending the coded information to the corresponding rigid body, instructing the rigid body to control the brightness of the light emitting source on the rigid body according to the coded information.
  5. 如权利要求4所述的刚体识别方法,其特征在于,所述生成编码信息,包括:The rigid body recognition method according to claim 4, wherein said generating coded information comprises:
    根据预设的编码长度和刚体的发光源的数量生成编码信息。The code information is generated according to the preset code length and the number of light emitting sources of the rigid body.
  6. 一种刚体识别装置,其特征在于,包括:A rigid body recognition device, characterized by comprising:
    编码信息获取单元,用于根据来自相机的一个识别周期内的图像数据获取对应刚体的编码信息;The encoding information acquiring unit is configured to acquire encoding information of the corresponding rigid body according to the image data in a recognition period from the camera;
    识别单元,用于根据所述编码信息和预设的刚体编码信息对所述刚体进行识别。The identification unit is configured to identify the rigid body according to the coding information and preset rigid body coding information.
  7. 一种刚体识别系统,其特征在于,包括服务器、基站、相机及刚体,所述基站用于生成同步触发信号并向所述刚体和所述相机发送所述同步触发信号;所述刚体包括多个发光源,用于在接收到所述同步触发信号之后,从自身存储的编码信息中调用编码数据并分配给每个所述发光源,以使每个所述发光源能够根据所述编码数据控制所述发光源的亮度;所述相机用于在接收到所述同步触发信号之后,对所述刚体进行曝光拍摄,以及将拍摄得到的图像数据发送至所述服务器;所述服务器用于根据一个识别周期内的所述图像数据获取对应刚体的编码信息,以及根据所述编码信息和预设的刚体的编码信息对所述刚体进行识别。A rigid body recognition system, characterized by comprising a server, a base station, a camera, and a rigid body. The base station is used to generate a synchronization trigger signal and send the synchronization trigger signal to the rigid body and the camera; the rigid body includes a plurality of The light-emitting source is used to call the coded data from the coded information stored in itself after receiving the synchronization trigger signal and allocate it to each light-emitting source, so that each light-emitting source can be controlled according to the coded data The brightness of the light-emitting source; the camera is used to expose and shoot the rigid body after receiving the synchronization trigger signal, and send the image data obtained by shooting to the server; the server is used to The image data in the recognition period acquires coding information of the corresponding rigid body, and the rigid body is recognized according to the coding information and preset coding information of the rigid body.
  8. 如权利要求7所述的刚体识别系统,其特征在于,所述刚体每接收到一次所述同步触发信号即进行一次编码数据分配;所述相机每接收到一次所述同步触发信号即进行一次曝光拍摄。The rigid body recognition system according to claim 7, wherein the rigid body performs an encoding data distribution every time the synchronization trigger signal is received by the rigid body; and the camera performs an exposure every time the synchronization trigger signal is received by the camera. Shoot.
  9. 如权利要求8所述的刚体识别系统,其特征在于,所述刚体包括N个发光源,N为等于或者大于三的正整数,所述编码信息包括与所述发光源的数量对应的N个编码子集,每个编码子集内存储有一个发光源一个识别周期内的编码数据;所述刚体每接收到一次所述同步触发信号即进行一次编码数据分配时,具体用于:在接收到所述同步触发信号之后,分别从自身存储的N个编码子集中依序选取一位编码数据发送给对应的发光源。The rigid body identification system according to claim 8, wherein the rigid body includes N light-emitting sources, where N is a positive integer equal to or greater than three, and the code information includes N corresponding to the number of the light-emitting sources. Encoding subsets, each encoding subset stores the encoded data of a luminous source within one identification period; when the rigid body receives the synchronization trigger signal once and then allocates encoded data, it is specifically used to: After the synchronization trigger signal, one bit of coded data is sequentially selected from the N coded subsets stored by itself and sent to the corresponding light emitting source.
  10. 如权利要求9所述的刚体识别系统,其特征在于,所述编码子集的编码长度为F,F为等于或者大于二的正整数。The rigid body recognition system according to claim 9, wherein the code length of the code subset is F, and F is a positive integer equal to or greater than two.
  11. 如权利要求10所述的刚体识别系统,其特征在于,所述一个识别周期内的曝光拍摄次数与编码子集的编码长度取值相同。The rigid body recognition system according to claim 10, wherein the number of exposure shots in the one recognition period is the same as the code length of the code subset.
  12. 如权利要求7至11中任一项所述的刚体识别系统,其特征在于,所述刚体识别系统还包括:交换机;所述服务器,还用于预先为每个所述刚体生成唯一的编码信息,并将所述编码信息通过所述交换机发送给所述基站,所述基站将接收到的多个所述编码信息随机分配给多个所述刚体。The rigid body recognition system according to any one of claims 7 to 11, wherein the rigid body recognition system further comprises: a switch; the server is also used to generate unique coding information for each rigid body in advance And send the coded information to the base station through the switch, and the base station randomly allocates the received multiple pieces of coded information to multiple rigid bodies.
  13. 如权利要求12所述的刚体识别系统,其特征在于,所述服务器在预先为每个所述刚体生成唯一的编码信息时,具体用于:The rigid body identification system according to claim 12, wherein when the server generates unique coding information for each rigid body in advance, it is specifically used for:
    根据预设的编码长度和刚体的发光源的数量为每个所述刚体生成唯一的编码信息。According to the preset code length and the number of light emitting sources of the rigid body, unique code information is generated for each rigid body.
  14. 如权利要求7至11中任一项所述的刚体识别系统,其特征在于,所述相机在执行所述将拍摄得到的图像数据发送至所述服务器之前,还用于:The rigid body recognition system according to any one of claims 7 to 11, wherein the camera is further used for: before performing the sending of the image data obtained by shooting to the server:
    确定曝光拍摄的每帧图像中每一所述发光源的关联域灰度数据和每一所述发光源的质心坐标值;Determining the associated domain gray scale data of each light-emitting source and the centroid coordinate value of each light-emitting source in each frame of images taken by exposure;
    对应地,所述相机将拍摄得到的图像数据发送至所述服务器,具体包括:Correspondingly, the camera sending the image data obtained by shooting to the server specifically includes:
    将每一所述发光源的关联域灰度数据和每一所述发光源的质心坐标值发送给所述服务器。Sending the associated domain grayscale data of each light-emitting source and the centroid coordinate value of each light-emitting source to the server.
  15. 如权利要求14所述的刚体识别系统,其特征在于,包括:The rigid body recognition system according to claim 14, characterized by comprising:
    所述关联域灰度数据包括:关联域平均灰度值或关联域总灰度值。The gray data of the correlation domain includes: an average gray value of the correlation domain or a total gray value of the correlation domain.
  16. 如权利要求15所述的刚体识别系统,其特征在于,所述服务器在执行所述根据一个识别周期内的所述图像数据获取对应刚体的编码信息时,具体用于:The rigid body recognition system according to claim 15, wherein when the server executes said obtaining the coding information of the corresponding rigid body according to the image data in a recognition period, it is specifically used for:
    根据所述相机发送的一个识别周期内每帧图像中每一所述发光源的关联域灰度数据,确定一个所述识别周期内每一发光源的关联域灰度数据的平均值,并将所述关联域灰度数据的平均值作为当前识别周期每一发光源的灰度值阈值;According to the gray data of the associated domain of each light-emitting source in each frame of the image sent by the camera, determine the average value of the gray data of the associated domain of each light-emitting source in the recognition period The average value of the gray data of the associated domain is used as the gray value threshold of each light-emitting source in the current identification period;
    根据所述灰度值阈值和每帧图像中对应的所述发光源的关联域灰度数据,分别确定一个所述识别周期内每帧图像中每一所述发光源的编码数据;Respectively determine the coded data of each light-emitting source in each frame of the image in the recognition period according to the gray value threshold and the associated domain gray-scale data of the corresponding light-emitting source in each frame of image;
    根据所述相机发送的一个所述识别周期内每帧图像的每一所述发光源的质心坐标值,确定属于同一刚体的所述发光源的标识信息;Determine the identification information of the light-emitting source belonging to the same rigid body according to the centroid coordinate value of each of the light-emitting sources in each frame of the image sent by the camera;
    根据一个所述识别周期内每帧图像中每一所述发光源的编码数据和属于同一刚体的所述发光源的标识信息,确定对应刚体的编码信息。According to the coded data of each light-emitting source and the identification information of the light-emitting source belonging to the same rigid body in each frame of image in one recognition period, the coded information of the corresponding rigid body is determined.
  17. 如权利要求7所述的刚体识别系统,其特征在于,所述服务器根据所述编码信息和预设的刚体编码信息对所述刚体进行识别时,具体用于:8. The rigid body recognition system according to claim 7, wherein when the server recognizes the rigid body according to the coding information and preset rigid body coding information, it is specifically used for:
    将所述编码信息和预设的编码信息进行比对,根据比对结果对所述刚体进行识别。The coding information is compared with the preset coding information, and the rigid body is identified according to the comparison result.
  18. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至5任一项所述方法的步骤。A terminal device, comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the computer program as claimed in claims 1 to 5 Steps of any of the methods.
  19. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至5任一项所述方法的步骤。A computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the steps of the method according to any one of claims 1 to 5.
PCT/CN2019/088160 2019-05-23 2019-05-23 Rigid body identification method and apparatus, system, and terminal device WO2020232704A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980004797.3A CN111213366B (en) 2019-05-23 2019-05-23 Rigid body identification method, device and system and terminal equipment
PCT/CN2019/088160 WO2020232704A1 (en) 2019-05-23 2019-05-23 Rigid body identification method and apparatus, system, and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/088160 WO2020232704A1 (en) 2019-05-23 2019-05-23 Rigid body identification method and apparatus, system, and terminal device

Publications (1)

Publication Number Publication Date
WO2020232704A1 true WO2020232704A1 (en) 2020-11-26

Family

ID=70790119

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/088160 WO2020232704A1 (en) 2019-05-23 2019-05-23 Rigid body identification method and apparatus, system, and terminal device

Country Status (2)

Country Link
CN (1) CN111213366B (en)
WO (1) WO2020232704A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111931614B (en) * 2020-07-24 2024-04-19 深圳市瑞立视多媒体科技有限公司 Active light rigid body identification method, device, equipment and storage medium
CN111914716B (en) * 2020-07-24 2023-10-20 深圳市瑞立视多媒体科技有限公司 Active light rigid body identification method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014180695A1 (en) * 2013-05-07 2014-11-13 Koninklijke Philips N.V. A video analysis device and a method of operating a video analysis device
CN107507172A (en) * 2017-08-08 2017-12-22 国网上海市电力公司 Merge the extra high voltage line insulator chain deep learning recognition methods of infrared visible ray
WO2018057100A1 (en) * 2016-09-23 2018-03-29 Qualcomm Incorporated Controllable selection of light-capture devices
CN107992780A (en) * 2017-10-31 2018-05-04 维沃移动通信有限公司 A kind of code recognition method and mobile terminal
CN109691232A (en) * 2016-07-21 2019-04-26 飞利浦照明控股有限公司 Lamp with encoded light function

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120061155A1 (en) * 2010-04-09 2012-03-15 Willow Garage, Inc. Humanoid robotics system and methods
US10486061B2 (en) * 2016-03-25 2019-11-26 Zero Latency Pty Ltd. Interference damping for continuous game play
CN107633528A (en) * 2017-08-22 2018-01-26 北京致臻智造科技有限公司 A kind of rigid body recognition methods and system
CN108151738B (en) * 2017-12-22 2019-07-16 北京轻威科技有限责任公司 Codified active light marked ball with attitude algorithm

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014180695A1 (en) * 2013-05-07 2014-11-13 Koninklijke Philips N.V. A video analysis device and a method of operating a video analysis device
CN109691232A (en) * 2016-07-21 2019-04-26 飞利浦照明控股有限公司 Lamp with encoded light function
WO2018057100A1 (en) * 2016-09-23 2018-03-29 Qualcomm Incorporated Controllable selection of light-capture devices
CN107507172A (en) * 2017-08-08 2017-12-22 国网上海市电力公司 Merge the extra high voltage line insulator chain deep learning recognition methods of infrared visible ray
CN107992780A (en) * 2017-10-31 2018-05-04 维沃移动通信有限公司 A kind of code recognition method and mobile terminal

Also Published As

Publication number Publication date
CN111213366B (en) 2021-07-13
CN111213366A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
CN106537816B (en) Derive method, equipment and the computer-readable medium of identifier in visible light signal
CN111835984B (en) Intelligent light supplementing method and device, electronic equipment and storage medium
WO2020232703A1 (en) Rigid body recognition method and apparatus, and system and terminal device
CN106127172A (en) A kind of device and method of noncontact 3D fingerprint collecting
US10783410B1 (en) System and method for identifying computing devices in a data center
CN110022443B (en) Shooting parameter adjusting method and shooting terminal
WO2020232704A1 (en) Rigid body identification method and apparatus, system, and terminal device
WO2021129790A1 (en) Method for solving packet loss in synchronous communication in code-type active optical motion capture system, and related device
US11025342B2 (en) Camera communication method and apparatus
CN111967529B (en) Identification method, device, equipment and system
CN111931614B (en) Active light rigid body identification method, device, equipment and storage medium
CN111914716B (en) Active light rigid body identification method, device, equipment and storage medium
CN107222260A (en) It is a kind of that extended code method is encoded based on the visible light communication for becoming data field length
CN115460316B (en) LED lamp string bead position determining method, system, storage medium and device
CN115457154A (en) Calibration method and device of three-dimensional scanner, computer equipment and storage medium
CN116309796A (en) Optical motion capturing method, device, electronic equipment and storage medium
US11403476B2 (en) System and method for identifying computing devices in a data center
TWI650962B (en) Optical communication system and method thereof, transmission device, and receiving device
CN111444129A (en) Method for transmitting MDB data and terminal equipment
CN108364603B (en) LED lamp-based addressing method, addressing device and terminal equipment
CN114596511A (en) Active optical rigid body identification method, device, equipment and storage medium
CN116611033B (en) Air control method, system, device and storage medium based on AI digital work copyright
US10475194B2 (en) Method, device, and non-transitory computer readable storage medium for object tracking
CN113535117A (en) Data storage method and device and electronic equipment
CN114885371A (en) Wireless communication method, system, device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19930008

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19930008

Country of ref document: EP

Kind code of ref document: A1