WO2019120052A1 - Method and apparatus for decoding information transmitted by optical source - Google Patents

Method and apparatus for decoding information transmitted by optical source Download PDF

Info

Publication number
WO2019120052A1
WO2019120052A1 PCT/CN2018/117868 CN2018117868W WO2019120052A1 WO 2019120052 A1 WO2019120052 A1 WO 2019120052A1 CN 2018117868 W CN2018117868 W CN 2018117868W WO 2019120052 A1 WO2019120052 A1 WO 2019120052A1
Authority
WO
WIPO (PCT)
Prior art keywords
light source
data
image
frame image
end portion
Prior art date
Application number
PCT/CN2018/117868
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 北京外号信息技术有限公司
Publication of WO2019120052A1 publication Critical patent/WO2019120052A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/40Extracting pixel data from image sensors by controlling scanning circuits, e.g. by modifying the number of pixels sampled or to be sampled
    • H04N25/44Extracting pixel data from image sensors by controlling scanning circuits, e.g. by modifying the number of pixels sampled or to be sampled by partially reading an SSIS array
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/70SSIS architectures; Circuits associated therewith
    • H04N25/71Charge-coupled device [CCD] sensors; Charge-transfer registers specially adapted for CCD sensors
    • H04N25/75Circuitry for providing, modifying or processing image signals from the pixel array
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/70SSIS architectures; Circuits associated therewith
    • H04N25/76Addressed sensors, e.g. MOS or CMOS sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/11Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
    • H04B10/114Indoor or close-range type systems
    • H04B10/116Visible light communication

Definitions

  • the present invention belongs to the field of optical information technology, and more particularly to a method for decoding information transmitted by a light source.
  • Barcodes and QR codes have been widely adopted to encode information. When these barcodes and QR codes are scanned with a specific device or software, the corresponding information is identified.
  • the recognition distance between the barcode and the two-dimensional code is very limited. For example, for a two-dimensional code, when scanning with a mobile phone camera, the phone must typically be placed at a relatively short distance, typically about 15 times the width of the two-dimensional code. Therefore, for long-distance recognition (for example, 200 times the width of the two-dimensional code), barcodes and two-dimensional codes are usually not implemented, or very large barcodes and two-dimensional codes must be customized, but this will bring about an increase in cost. And in many cases it is impossible to achieve due to various other restrictions.
  • a CMOS imaging device is a widely used imaging device, as shown in FIG. 1, including an array of image sensitive cells (also referred to as image sensors) and some other components.
  • the image sensor array can be a photodiode array, with each image sensor corresponding to one pixel.
  • Each column of image sensors corresponds to a column amplifier, and the output signal of the column amplifier is sent to an A/D converter (ADC) for analog-to-digital conversion and then output through an interface circuit.
  • ADC A/D converter
  • CMOS imaging devices typically employ rolling shutter imaging.
  • CMOS imaging devices data readout is serial, so clear/exposure/readout can only be done line-by-line in a pipeline-like manner and will be processed after all rows of the image sensor array have been processed. It is synthesized into one frame of image. Thus, the entire CMOS image sensor array is actually progressively exposed (in some cases CMOS image sensor arrays may also be exposed in multiple lines at a time), which results in small delays between rows. Due to this small delay, when the light source flashes at a certain frequency, some undesired streaks appear on the image taken by the CMOS imaging device, which affects the shooting effect.
  • One aspect of the invention relates to a method for decoding information conveyed by a light source, the light source being configured to operate in at least two modes, wherein in a different mode, when the image is passed through a rolling shutter
  • the image of the light source obtained when the light source is photographed presents a different predetermined appearance to represent different data
  • the method includes:
  • the extracted initial portion and the ending portion are analyzed to determine data represented by each of the initial portion and the ending portion;
  • a data removal operation is performed on the data represented by the end portion of each frame image and the data represented by the beginning portion of the next frame image immediately thereafter to determine the data sequence delivered by the light source.
  • said starting portion is part of an earliest image of each frame image of said light source, said end portion being part of a latest image of each frame image of said light source.
  • the lengths of the start portion and the end portion are both less than or equal to 1/2 of the total length of each frame image of the light source.
  • the appearance relates to a pattern, a color, or a combination thereof.
  • the different predetermined appearance comprises at least one predetermined stripe.
  • analyzing the extracted initial portion and the ending portion to determine data represented by each of the initial portion and the ending portion comprises:
  • performing the data removal operation on the data represented by the end portion of each frame image and the data indicated by the beginning portion of the next frame image immediately thereafter includes:
  • Retaining one of the data represented by the end portion of each frame of image is the same as the data represented by the beginning portion of the next frame image immediately following;
  • the method further includes deleting the data if the data represented by the beginning portion of the first frame image of the light source or the end portion of the last frame image of the light source is "unsure"; otherwise, retaining The data.
  • the frame rate of the rolling shutter imaging device is equal to the signal frequency of the light source.
  • the direction of the scanning line of the rolling shutter imaging device is substantially perpendicular to the length direction of the light source.
  • Another aspect of the invention relates to an apparatus for decoding information transmitted by a light source, comprising a rolling shutter imaging device, a processor and a memory, wherein the memory stores a computer program, the computer program being processed
  • the device can be used to implement the above method when executed.
  • Another aspect of the invention relates to a storage medium in which is stored a computer program that, when executed, can be used to implement the method described above.
  • Another aspect of the invention is an apparatus for decoding information conveyed by a light source, the light source being configured to operate in at least two modes, wherein in a different mode, when the image is captured by a rolling shutter
  • the image of the light source obtained when the light source is photographed presents a different predetermined appearance to represent different data
  • the apparatus includes:
  • FIG. 1 is a schematic view of a CMOS imaging device
  • CMOS imaging device 2 is a pattern of an image acquired by a CMOS imaging device
  • Figure 3 is a light source in accordance with one embodiment of the present invention.
  • FIG. 4 is a light source in accordance with another embodiment of the present invention.
  • FIG. 5 is an imaging timing chart of a CMOS imaging device
  • FIG. 6 is another imaging timing diagram of a CMOS imaging device
  • Figure 7 shows an image of the CMOS imaging device at different stages when the light source is operating in the first mode
  • FIG. 8 illustrates an imaging timing diagram of a CMOS imaging device when the light source operates in the first mode, in accordance with an embodiment of the present invention
  • FIG. 9 illustrates an imaging timing diagram of a CMOS imaging device when the light source operates in the second mode, in accordance with an embodiment of the present invention
  • FIG. 10 illustrates an imaging timing diagram of a CMOS imaging device when a light source operates in a first mode in accordance with another embodiment of the present invention
  • FIG. 11 shows an imaging timing diagram of a CMOS imaging device for implementing a stripe different from that of FIG. 8 in accordance with another embodiment of the present invention
  • Figures 12-13 show two striped images of a light source obtained at different settings
  • Figure 14 shows a streak-free image of the obtained light source
  • Figure 15 shows a five-frame continuous image of the light source obtained with the signal frequency of the light source being equal to the frame rate of the CMOS imaging device;
  • FIG. 16 One embodiment of extracting the beginning portion and the ending portion of each frame image shown in FIG. 15 is shown in FIG. 16;
  • FIG. 15 Another embodiment of extracting the beginning portion and the ending portion of each frame image shown in Fig. 15 is shown in Fig. 17.
  • the optical communication device includes a light source and a controller capable of controlling the light source to operate in two or more modes by a light source control signal, the two or more modes including the first mode and the second mode, Wherein, in the first mode, the light source control signal has a first frequency such that an attribute of light emitted by the light source changes at a first frequency to deliver first information, and in the second mode, the light source The attribute of the emitted light changes or does not change at the second frequency to deliver second information different from the first information.
  • the attribute of light in this application refers to any property that the CMOS imaging device can recognize, for example, it may be an attribute that the human eye can perceive, such as the intensity, color, and wavelength of light, or other attributes that are not perceptible to the human eye.
  • the intensity, color or wavelength of the electromagnetic wavelength outside the visible range of the human eye changes, or any combination of the above properties.
  • a change in the properties of light can be a single property change, or a combination of two or more properties can change.
  • the intensity of the light is selected as an attribute, it can be achieved simply by selecting to turn the light source on or off.
  • the light source is turned on or off to change the properties of the light, but those skilled in the art will appreciate that other ways to change the properties of the light are also possible.
  • the attribute of the light varying at the first frequency in the first mode may be the same as or different from the attribute of the light changing at the second frequency in the second mode.
  • the properties of the light that change in the first mode and the second mode are the same.
  • the light source When the light source operates in the first mode or the second mode, the light source can be imaged using a CMOS imaging device or a device having a CMOS imaging device (eg, a cell phone, a tablet, smart glasses, etc.), that is, by rolling the shutter Imaging.
  • a CMOS imaging device eg, a cell phone, a tablet, smart glasses, etc.
  • FIG. 2 a mobile phone as a CMOS imaging device will be described as an example, as shown in FIG. 2 .
  • the line scanning direction of the mobile phone is shown as a vertical direction in FIG. 2, but those skilled in the art can understand that the line scanning direction can also be a horizontal direction depending on the underlying hardware configuration.
  • the solution of the present invention is applicable to any imaging device that employs a rolling shutter imaging method.
  • the light source can be a light source of various forms as long as one of its properties that can be perceived by the CMOS imaging device can be varied at different frequencies.
  • the light source may be an LED light, an array of a plurality of LED lights, a display screen or a part thereof, and even an illuminated area of light (for example, an illuminated area of light on a wall) may also serve as a light source.
  • the shape of the light source may be various shapes such as a circle, a square, a rectangle, a strip, an L, or the like.
  • Various common optical devices can be included in the light source, such as a light guide plate, a soft plate, a diffuser, and the like.
  • the light source may be a two-dimensional array of a plurality of LED lamps, one dimension of which is longer than the other dimension, preferably a ratio of between about 6-12:1.
  • the LED light array can be composed of a plurality of LED lamps arranged in a row.
  • the LED light array can be rendered as a substantially rectangular light source when illuminated, and the operation of the light source is controlled by a controller.
  • Figure 3 illustrates a light source in accordance with one embodiment of the present invention.
  • the light source shown in FIG. 3 When imaging the light source shown in FIG. 3 using a CMOS imaging device, it is preferable to make the long side of the light source shown in FIG. 3 and the scanning line direction of the CMOS imaging device (for example, the line scanning direction of the mobile phone shown in FIG. 2) ) Vertical or substantially vertical to image as many stripes as possible under otherwise identical conditions.
  • the light source can be a plurality of rectangular shapes. Combination, for example, an L-shaped light source as shown in FIG.
  • the light source may not be limited to a planar light source, but may be implemented as a stereoscopic light source, for example, a strip-shaped cylindrical light source, a cubic light source, or the like.
  • the light source can be placed, for example, on a square, suspended at a substantially central location of an indoor venue (eg, a restaurant, a conference room, etc.) so that a nearby user in each direction can capture the light source through the mobile phone, thereby obtaining the light source.
  • an indoor venue eg, a restaurant, a conference room, etc.
  • FIG. 5 shows an imaging timing diagram of a CMOS imaging device, each of which corresponds to a row of sensors of the CMOS imaging device.
  • two stages are mainly involved, namely, exposure time and readout time.
  • the exposure time of each line may overlap, but the readout time does not overlap.
  • the exposure time of a CMOS imaging device can be set or adjusted (for example, set or adjusted by an APP installed on a mobile phone) to select a relative Short exposure time.
  • the exposure time can be made approximately equal to or less than the readout time of each row. Taking the 1080p resolution as an example, the readout time of each line is approximately 8.7 microseconds.
  • FIG. 6 shows an imaging timing chart of the CMOS imaging device in this case.
  • the exposure time of each line does not substantially overlap, or the number of overlapping portions is small, so that stripes having relatively clear boundaries can be obtained at the time of imaging, which is more easily recognized.
  • FIG. 6 is only a preferred embodiment of the present invention, and a longer (for example, twice or three times, four times or four times the readout time of each row, etc.) or a shorter exposure time is also feasible. of.
  • a longer for example, twice or three times, four times or four times the readout time of each row, etc.
  • the readout time per line is approximately 8.7 microseconds, and the exposure time per line set is 14 microseconds.
  • the length of one cycle of the light source may be set to about twice or more of the exposure time, and preferably may be set to about four times or more of the exposure time.
  • Figure 7 is a view showing an image of a CMOS imaging device at different stages when the light source is operated in the first mode using a controller, in which the property of the light emitted by the light source is changed at a certain frequency, in this example Medium to turn the light source on and off.
  • Fig. 7 shows a state change diagram of the light source at different stages
  • the lower part shows an image of the light source on the CMOS imaging device at different stages, wherein the row direction of the CMOS imaging device is vertical and from the left Scan to the right. Since the image captured by the CMOS imaging device is progressively scanned, when the high-frequency flicker signal is captured, the portion of the obtained image on the image corresponding to the imaging position of the light source forms a stripe as shown in the lower part of FIG.
  • time period 1 the light source is turned on, in which the scanning line of the leftmost portion of the exposure exhibits bright streaks; in time period 2, the light source is turned off, in which the scanned lines of the exposure exhibit dark stripes; in time period 3, the light source is turned on, The scanned lines exposed during this time period exhibit bright streaks; in time period 4, the light source is turned off, during which the scanned lines of exposure exhibit dark stripes.
  • the frequency of the flashing of the light source can be set by the light source control signal, or the length of the light strip can be adjusted each time the light source is turned on and off, and the longer opening or closing time generally corresponds to a wider stripe.
  • the exposure time is set to be substantially equal to the exposure time of each line of the CMOS imaging device (this exposure time can be set by the APP installed on the mobile phone or manually set. ), it is possible to present stripes with a width of only one pixel when imaging. In order to enable long-distance identification of optical tags, the narrower the stripes, the better.
  • the stripe having a width of only one pixel may be less stable or less recognizable due to light interference, synchronization, etc., therefore, in order to improve the stability of recognition, it is preferable to realize a stripe having a width of two pixels.
  • the stripe having a width of about two pixels can be realized by setting the duration of each turn on or off of the light source to be approximately equal to about twice the exposure time of each line of the CMOS imaging device.
  • the signal of the upper portion of FIG. 8 is a light source control signal
  • the high level corresponds to the turn-on of the light source
  • the low level corresponds to the turn-off of the light source.
  • the duty ratio of the light source control signal is set to about 50%, and the exposure duration of each line is set to be substantially equal to the readout time of each line, but those skilled in the art can understand that other Settings are also possible, as long as they can show distinguishable stripes.
  • the synchronization between the light source and the CMOS imaging device is used in FIG. 8 such that the time of turning on and off of the light source substantially corresponds to the start or end time of the exposure time of a certain line of the CMOS imaging device, but the field The skilled person will understand that even if the two are not synchronized as shown in Fig. 8, they can exhibit significant streaks on the CMOS imaging device.
  • the darkest stripe is the line that is exposed when the light source is always on (ie, the brightest stripe), which is separated by one pixel.
  • the light and dark variations (i.e., fringes) of such pixel rows can be easily detected (e.g., by comparing the brightness or grayscale of some of the pixels in the imaged area of the source).
  • the light and dark stripe difference threshold and the ratio threshold are related to the optical label illumination intensity, the photosensitive device property, the shooting distance, and the like. Those skilled in the art will appreciate that other thresholds are also possible as long as computer-resolvable stripes are present. When the streaks are identified, the information conveyed by the light source at this time, such as binary data 0 or data 1, can be determined.
  • the stripe recognition method is as follows: obtaining an image of the optical label, and dividing the imaging area of the light source by means of projection; collecting stripe in different configurations (for example, different distances, different light source flicker frequencies, etc.) Images and unstripe pictures; normalize all collected pictures to a specific size, such as 64*16 pixels; extract each pixel feature as input feature, build a machine learning classifier; perform two-class discrimination to determine a striped picture Still a non-striped picture.
  • a specific size such as 64*16 pixels
  • extract each pixel feature as input feature, build a machine learning classifier perform two-class discrimination to determine a striped picture Still a non-striped picture.
  • strip light source For a strip light source with a length of 5 cm, when using a mobile phone that is currently on the market, setting the resolution to 1080p, when shooting 10 meters away (that is, the distance is 200 times the length of the light source),
  • the strip light source occupies about 6 pixels in its length direction, and if each stripe width is 2 pixels, it will appear in a range of widths of a plurality of apparent pixels within the width of the 6 pixels. At least one distinct stripe that can be easily identified. If a higher resolution is set, or optical zoom is used, the stripe can be recognized at a greater distance, for example, when the distance is 300 or 400 times the length of the light source.
  • the controller can also operate the light source in the second mode.
  • the light source control signal can have another frequency than the first mode to change the properties of the light emitted by the light source, such as turning the light source on and off.
  • the controller can increase the turn-on and turn-off frequencies of the light source in the second mode compared to the first mode.
  • the frequency of the first mode may be greater than or equal to 8000 times/second, and the frequency of the second mode may be greater than the frequency of the first mode.
  • the light source can be configured to turn the light source on and off at least once during the exposure time of each row of the CMOS imaging device.
  • FIG. 9 shows a case where the light source is turned on and off only once during the exposure time of each line, wherein the signal of the upper portion of FIG. 9 is a light source control signal whose high level corresponds to the turn-on of the light source, and the low level corresponds to the light source.
  • the light source is turned off. Since the light source is turned on and off in the same way during the exposure time of each line, the exposure intensity energy obtained at each exposure time is roughly equal, so there is no significant difference in brightness between the individual pixel rows of the final image of the light source. So there are no stripes.
  • CMOS imaging device is used in FIG.
  • the turn-on time of the light source substantially corresponds to the start time of the exposure time of a certain line of the CMOS imaging device, but those skilled in the art can It is understood that even if the two are not synchronized as in Fig. 9, there is no significant difference in brightness between the respective pixel rows of the final image of the light source, so that no streaks exist. When the streaks are not recognized, the information conveyed by the light source at this time, such as binary data 1 or data 0, can be determined. For the human eye, the light source of the present invention does not perceive any flicker when operating in the first mode or the second mode described above.
  • the duty ratios of the first mode and the second mode may be set to be substantially equal, thereby realizing in different modes.
  • direct current may be supplied to the light source such that the light source emits light whose properties do not substantially change, thereby obtaining one of the light sources obtained when the light source is photographed by the CMOS image sensor. No streaks appear on the frame image.
  • substantially the same luminous flux in different modes can also be achieved to avoid flicker that may be perceived by the human eye when switching between the first mode and the second mode.
  • Figure 8 above describes an embodiment in which stripes are rendered by varying the intensity of the light emitted by the source (e.g., by turning the light source on or off).
  • the wavelength or color of the light emitted by the light source changes to present stripes.
  • the light source includes a red light that emits red light and a blue light that emits blue light.
  • the two signals in the upper portion of FIG. 10 are a red light control signal and a blue light control signal, respectively, wherein a high level corresponds to the turn-on of the corresponding light source and a low level corresponds to the turn-off of the corresponding light source.
  • the red light control signal and the blue light control signal are phase shifted by 180°, that is, the two levels are opposite.
  • the red light control signal and the blue light control signal enable the light source to alternately emit red light and blue light outward, so that when the light source is imaged by the CMOS imaging device, red and blue stripes can be presented.
  • CMOS imaging device By determining whether or not there is a streak on a portion of the image of one frame taken by the CMOS imaging device corresponding to the light source, information transmitted by each frame of the image, such as binary data 1 or data 0, can be determined. Further, by taking a continuous multi-frame image of the light source by the CMOS imaging device, a sequence of information composed of binary data 1 and 0 can be determined, and information transmission of the light source to the CMOS imaging device (for example, a mobile phone) is realized.
  • CMOS imaging device for example, a mobile phone
  • control may be performed by the controller such that the switching time interval between the operating modes of the light source is equal to the length of time that a complete frame of the CMOS imaging device is imaged
  • the frame synchronization of the light source and the imaging device is realized, that is, information of 1 bit is transmitted per frame.
  • the information can include, for example, a start frame mark (frame header), an optical tag ID, a password, a verification code. , URL information, address information, timestamps or different combinations thereof, and so on.
  • the order relationship of the above various kinds of information can be set in accordance with a structuring method to form a packet structure. Each time a complete packet structure is received, it is considered to obtain a complete set of data (a packet), which can be read and verified.
  • the following table shows the packet structure in accordance with one embodiment of the present invention:
  • the information conveyed by the frame image is determined by judging whether or not there is a streak at the imaging position of the light source in each frame of image.
  • different information conveyed by the frame image may be determined by identifying different fringes at the imaging location of the light source in each frame of image.
  • the property of the light emitted by the light source is controlled by the light source control signal having the first frequency to be changed at the first frequency so as to be present on the image of the light source obtained when the light source is photographed by the CMOS image sensor.
  • the light source control signal having the second frequency is used to control the property of the light emitted by the light source to vary at a second frequency, thereby enabling the light source obtained when the light source is photographed by the CMOS image sensor
  • a second stripe different from the first stripe is present on the image.
  • the difference in stripes may be based, for example, on different widths, colors, brightnesses, etc., or any combination thereof, as long as the difference can be identified.
  • stripes of different widths may be implemented based on different light source control signal frequencies.
  • the light source in the first mode, the light source may operate as shown in FIG. 8 to achieve a width of approximately two pixels. a stripe; in the second mode, the durations of the high level and the low level in each period of the light source control signal in FIG. 8 can be respectively changed to twice the original, as shown in FIG. A second stripe with a width of approximately four pixels is implemented.
  • stripes of different colors may be implemented.
  • the light source may be set to include a red light that emits red light and a blue light that emits blue light.
  • the blue light may be turned off.
  • the red lamp works as shown in Fig. 8 to realize red and black stripes; in the second mode, the red lamp can be turned off, and the blue lamp works as shown in Fig. 8, thereby realizing blue and black stripes.
  • the red and black stripes and the blue and black stripes are realized using the light source control signals having the same frequency in the first mode and the second mode, but it is understood that the first mode and the second mode may also be used. Light source control signals at different frequencies.
  • the third mode can be further set.
  • the red and blue lights are controlled in the manner shown in Figure 10 to achieve a red-blue stripe, a third type of information.
  • another type of information that is, the fourth type of information, can be further transmitted through the fourth mode in which the stripes are not presented.
  • a plurality of the above four modes may be arbitrarily selected for information transfer, and other modes may be further combined as long as different patterns generate different stripe patterns (including a stripe-free pattern).
  • Figure 12 shows the use of 1080p resolution imaging for LEDs that are flashing at a frequency of 16,000 times per second (each period has a duration of 62.5 microseconds with an on duration and a closure duration of approximately 31.25 microseconds each)
  • stripes of approximately 2-3 pixel width are presented.
  • Figure 13 shows that the blinking frequency of the LED lamp in Figure 12 is adjusted to 8000 times per second (the duration of each cycle is 125 microseconds, wherein the opening duration and the closing duration are each about 62.5 microseconds), under other conditions. Streaks on the image obtained by experiment under constant conditions.
  • Figure 14 shows the adjustment of the blinking frequency of the LED lamp of Figure 12 to 64,000 times per second (the duration of each cycle is 15.6 microseconds, wherein the opening duration and the closing duration are each about 7.8 microseconds), under other conditions.
  • the image obtained by experiment without change has no streaks on it, because the length of each line of exposure is 14 microseconds, which basically covers one opening time and one closing time of the LED lamp.
  • the square wave is taken as an example to describe the light source control signal having the corresponding frequency, but those skilled in the art can understand that the light source control signal can also use other waveforms such as a sine wave, a triangular wave or the like.
  • the use of one light source is described above, and in some embodiments, two or more light sources may also be employed.
  • the controller can independently control the operation of each light source.
  • the optical tag may further include one or more positioning indicia located adjacent the information delivery source, the positioning indicia being, for example, a lamp of a particular shape or color, the lamp being, for example, capable of remaining constantly illuminated during operation.
  • the location identification can help a user of a CMOS imaging device, such as a cell phone, to easily discover optical tags.
  • the CMOS imaging device is set to a mode in which the optical tag is photographed, the imaging of the positioning mark is conspicuous and easy to recognize.
  • the one or more location markers disposed adjacent the information transfer light source can also assist the handset in quickly determining the location of the information transfer light source to facilitate identifying whether the imaged region corresponding to the information transfer light source has streaks.
  • the location identification may first be identified in the image such that the approximate location of the optical tag is found in the image. After the location identification is identified, one or more regions in the image may be determined based on the relative positional relationship between the location identification and the information delivery light source, the region encompassing an imaging location of the information delivery light source. These areas can then be identified to determine if there are streaks or what stripes are present.
  • the identification distance of at least 200 times of the optical label of the present invention has obvious advantages.
  • the long-distance recognition capability is especially suitable for outdoor recognition. Taking a recognition distance of 200 times as an example, for a light source with a length of 50 cm set on a street, a person within 100 meters from the light source can pass the mobile phone and the light source. Interact.
  • the solution of the present invention does not require the CMOS imaging device to be located at a fixed distance from the optical tag, nor does it require time synchronization between the CMOS imaging device and the optical tag, and does not require accurate detection of the boundaries and widths of the individual stripes. Therefore, it has extremely strong stability and reliability in actual information transmission.
  • the light source in the optical tag can be controlled to switch between different working modes based on the information to be transmitted at a certain signal frequency, thereby continuously transmitting different information.
  • the signal frequency refers to the number of times the light source of the optical tag transmits data per second.
  • a light source of an optical tag can be configured to pass data at a signal frequency of 30 times/second.
  • the controller in the optical tag can determine based on the sequence of binary data to be transmitted. Which mode the light source should operate in each time slice of 1/30 second.
  • the light source in the optical tag can be configured to sequentially operate in the first mode, the first mode, the second mode, and the first mode in six consecutive time slices of length 1/30 second. , the second mode, the first mode.
  • CMOS imaging device In the case where the CMOS imaging device is not synchronized with the light source, when the CMOS imaging device is used for image acquisition of the light source, it may happen that the mode switching of the light source occurs when the light source is imaged, which causes the image at the light source
  • the splicing of two stripe patterns (including a stripe-free pattern) is presented. This situation is very unlikely to occur when the CMOS imaging device is far from the source. For example, when a light source in an optical tag transmits data at a predetermined signal frequency of 30 times/second, each data transfer of the light source has a duration of 1/30 second, that is, approximately 33,000 microseconds.
  • the length direction of the image of the captured light source will occupy only about a few tens of pixel rows.
  • the exposure time of each line of the CMOS imaging device is about several microseconds (for example, 14 microseconds), and there may be an overlap between exposure times of adjacent lines, so the total of these tens of pixel rows The exposure time is approximately a few hundred microseconds.
  • the probability that the total exposure time falls just at the mode switching moment of the light source is very small.
  • the sampling frequency (that is, the frame rate) of the CMOS imaging device can be made to be greater than or equal to twice the signal frequency, for example, if the light source transmits data at a signal frequency of 30 times/second.
  • the CMOS imaging device can be configured to take a picture at a frame rate of at least 60 frames per second.
  • Figure 15 shows a five-frame continuous image of the light source obtained with the signal frequency of the light source equal to the frame rate of the CMOS imaging device.
  • the image of the light source can be obtained by continuously photographing the optical tag by the CMOS imaging device and extracting an image of the light source from each frame of the captured image.
  • the white portion of the image of the light source represents a first type of fringe pattern corresponding to the first mode of the light source for transmitting binary data 1, in the image of the light source
  • the gray portion represents a second stripe pattern corresponding to the second mode of the light source for delivering binary data 0.
  • a decoding method which includes:
  • the optical tag containing the light source is continuously photographed by a CMOS imaging device. By this continuous shooting, a series of continuous images containing the light source can be obtained.
  • Get several consecutive frames of the light source can be obtained using various methods known in the art, for example, the imaging position of the light source can be determined from a series of successive images of the captured light source, thereby extracting several consecutive frames of the light source .
  • each frame of the light source For each frame of the light source, the beginning and end portions of the image are extracted separately. Because the CMOS imaging device is progressively scanned, each frame of the source is not imaged simultaneously, but in a prioritized order. The beginning of the image refers to the portion of the earliest image of the image, and the end portion of the image refers to the portion of the image that is the latest image.
  • Each CMOS imaging device has an inherent scanning mode that can be known in advance. In the embodiment shown in FIG. 15 and the following description, it is assumed that the scanning line direction of the CMOS imaging device is a vertical direction, and scanning is started from the left side line. Therefore, in the embodiment shown in Fig.
  • the portion located at the left end of the image is the starting portion, and the portion located at the right end of the image is the ending portion.
  • the lengths of the start portion and the end portion are selected to be less than or equal to 1/2 of the total length of each frame image of the light source to ensure that there is no combination of stripe patterns in at least one of the start portion and the end portion.
  • the lengths of the starting portion and the ending portion are preferably equal, but not necessarily equal.
  • the extracted start and end sections are analyzed to determine the data represented by each of the start and end sections. For example, for the embodiment shown in FIG. 15, if there is only the first stripe pattern in the start portion or the end portion, it can be determined that it represents binary data 1; if there is only the second stripe in the start portion or the end portion The pattern can be determined to represent binary data 0. If there are two stripe patterns in a certain starting part or ending part, the data represented by it cannot be determined, which can be referred to as "unsure" here, and is indicated by "*" hereinafter.
  • a data removal operation is performed on the data represented by the end portion of each frame image and the data indicated by the beginning portion of the next frame image to determine the data sequence delivered by the light source.
  • the data removal operation may, for example, include the rule that if the two data are the same, one of them is retained; if one of the data is "unsure", another data is retained.
  • Fig. 16 One embodiment of extracting the start portion and the end portion of each frame image shown in Fig. 15 is shown in Fig. 16.
  • the image on the left side of the broken line A is extracted as the start portion
  • the image on the right side of the broken line B is extracted as the end portion, wherein the lengths of the start portion and the end portion are equal, and each of the images of the light source is 1/4 of the total length.
  • ten initial parts and ending parts are obtained.
  • FIG. 17 Another embodiment of extracting the start portion and the end portion of each frame image shown in Fig. 15 is shown in Fig. 17.
  • the image on the left side of the broken line A is still extracted as the start portion
  • the image on the right side of the broken line B is extracted as the end portion, but different from the manner shown in Fig. 16, the start portion and the end
  • the length of the portion is longer and thus there is a combination of stripe patterns in some of the starting portions.
  • the data transmitted by the first time slice and the sixth time slice can be further determined, because the initial portion of the first frame image represents Data 1, the end portion of the fifth frame image represents data 0, regardless of the end portion of the image of one frame before the image of the first frame and the beginning portion of the image of the sixth frame, the data is retained after the data removal operation is performed. And 0, that is, the data transmitted by the first time slice and the sixth time slice are data 1 and 0, respectively. If the data of the beginning portion of the first frame image or the end portion of the fifth frame image is judged as "unsure" in the previous step, it can be simply deleted. Therefore, the data removal rule for the start portion of the first frame image and the end portion of the last frame image may be: if the data it represents is "unsure", the data is deleted; otherwise, the data is retained.
  • the optical tag of the present invention is used as an example to describe a method for decoding information transmitted by a light source in an optical tag.
  • the above decoding method is not limited to the optical tag of the present invention, but may be Suitable for any light source configured to be capable of operating in at least two modes, wherein in different modes, different images are presented on the image of the light source obtained when the light source is photographed by the CMOS image sensor Exterior. This appearance may, for example, relate to a pattern, a color, or a combination thereof.
  • CMOS image sensor For example, for a light source that simply transmits information by emitting different colors of light in different modes, when the light source is photographed by a CMOS image sensor, images of different colors of the light source are obtained in different modes of the light source. . It can be understood that when the light source is photographed by the CMOS image sensor, it is also possible that a mode switching occurs just when one frame of the light source is taken, so that a color jump occurs on one frame of the light source. Obviously, the above described decoding method of the present invention can be applied to the decoding of the light source.

Abstract

Disclosed is a method for decoding information transmitted by an optical source. The optical source is configured to be capable of working in at least two modes, wherein in different modes, when the optical source is photographed by means of a rolling shutter imaging device, obtained images of the optical source display different pre-determined appearances so as to represent different data. The method comprises: continuously photographing an optical source by means of a rolling shutter imaging device; acquiring several frames of continuous images of the optical source; with regard to each frame of image of the optical source, respectively extracting a starting portion and an ending portion of the image; analyzing the extracted starting portion and ending portion to determine data represented by each starting portion and each ending portion; and executing a data removal operation on data represented by the ending portion of each frame of image and on data represented by the starting portion of the next following frame of image to determine a data sequence transmitted by the optical source.

Description

用于对光源传递的信息进行解码的方法和装置Method and apparatus for decoding information transmitted by a light source 技术领域Technical field
本发明属于光信息技术领域,更具体地涉及一种用于对光源传递的信息进行解码的方法。The present invention belongs to the field of optical information technology, and more particularly to a method for decoding information transmitted by a light source.
背景技术Background technique
条形码和二维码已经被广泛采用来对信息进行编码。当用特定设备或软件扫描这些条形码和二维码时,相应的信息就会被识别出来。然而,条形码和二维码的识别距离很受限制。例如,对于二维码而言,当用手机摄像头对其进行扫描时,该手机通常必须置于一个比较近的距离内,该距离通常只是二维码的宽度的15倍左右。因此,对于远距离识别(例如相当于二维码宽度的200倍的距离),条形码和二维码通常不能实现,或者必须定制非常大的条形码和二维码,但这会带来成本的提升,并且在许多情形下由于其他各种限制是不可能实现的。Barcodes and QR codes have been widely adopted to encode information. When these barcodes and QR codes are scanned with a specific device or software, the corresponding information is identified. However, the recognition distance between the barcode and the two-dimensional code is very limited. For example, for a two-dimensional code, when scanning with a mobile phone camera, the phone must typically be placed at a relatively short distance, typically about 15 times the width of the two-dimensional code. Therefore, for long-distance recognition (for example, 200 times the width of the two-dimensional code), barcodes and two-dimensional codes are usually not implemented, or very large barcodes and two-dimensional codes must be customized, but this will bring about an increase in cost. And in many cases it is impossible to achieve due to various other restrictions.
CMOS成像器件是目前广泛采用的成像器件,其如图1所示,包括像敏单元(也称为图像传感器)阵列以及一些其他元件。图像传感器阵列可以是光电二极管阵列,每一个图像传感器对应于一个像素。每一列图像传感器都对应于一个列放大器,列放大器的输出信号之后被送往A/D转换器(ADC)进行模数转换,然后通过接口电路输出。对于图像传感器阵列中的任一图像传感器,在曝光开始时现将其清零,然后等待曝光时间过后,将信号值读出。CMOS成像器件通常采用滚动快门成像方式。在CMOS成像器件中,数据的读出是串行的,所以清零/曝光/读出也只能以类似于流水线的方式逐行顺序进行,并在图像传感器阵列的所有行都处理完成后将其合成为一帧图像。因此,整个CMOS图像传感器阵列实际上是逐行曝光的(在某些情况下CMOS图像传感器阵列也可能采用每次多行一起曝光的方式),这导致了各个行之间存在小的时延。由于该小的时延,当光源以一定频率闪动时,会在CMOS成像器件拍摄的图像上呈现出一些不期望 的条纹,影响到拍摄效果。A CMOS imaging device is a widely used imaging device, as shown in FIG. 1, including an array of image sensitive cells (also referred to as image sensors) and some other components. The image sensor array can be a photodiode array, with each image sensor corresponding to one pixel. Each column of image sensors corresponds to a column amplifier, and the output signal of the column amplifier is sent to an A/D converter (ADC) for analog-to-digital conversion and then output through an interface circuit. For any image sensor in the image sensor array, it is now cleared at the beginning of the exposure, and then the signal value is read after waiting for the exposure time. CMOS imaging devices typically employ rolling shutter imaging. In CMOS imaging devices, data readout is serial, so clear/exposure/readout can only be done line-by-line in a pipeline-like manner and will be processed after all rows of the image sensor array have been processed. It is synthesized into one frame of image. Thus, the entire CMOS image sensor array is actually progressively exposed (in some cases CMOS image sensor arrays may also be exposed in multiple lines at a time), which results in small delays between rows. Due to this small delay, when the light source flashes at a certain frequency, some undesired streaks appear on the image taken by the CMOS imaging device, which affects the shooting effect.
人们已经发现了理论上可以利用CMOS成像器件拍摄的图像上的条纹来传递信息(类似于条形码那样),并试图通过条纹来传递尽可能多的信息,但是这通常需要使得CMOS成像器件与光源尽量接近,并最好始终处于大致固定的距离处,并且还需要精细的时间同步、对各个条纹的边界的精确识别、对各个条纹的宽度的精确检测等等,因此,在实践中其稳定性和可靠性并不令人满意,也未获得广泛使用。It has been found that it is theoretically possible to use the fringes on the image taken by the CMOS imaging device to convey information (similar to a bar code) and to try to pass as much information as possible through the stripes, but this usually requires the CMOS imaging device and the light source to be as far as possible Close, and preferably always at a roughly fixed distance, and also requires fine time synchronization, precise identification of the boundaries of individual stripes, accurate detection of the width of each stripe, etc., thus, in practice its stability and Reliability is not satisfactory and is not widely used.
发明内容Summary of the invention
本发明的一个方面涉及一种用于对光源传递的信息进行解码的方法,所述光源被配置为能够工作于至少两种模式,其中,在不同的模式下,当通过滚动快门成像器件对该光源拍摄时所获得的该光源的图像上呈现出不同的预定外观,以表示不同的数据,所述方法包括:One aspect of the invention relates to a method for decoding information conveyed by a light source, the light source being configured to operate in at least two modes, wherein in a different mode, when the image is passed through a rolling shutter The image of the light source obtained when the light source is photographed presents a different predetermined appearance to represent different data, and the method includes:
通过滚动快门成像器件对所述光源进行连续拍摄;Continuously photographing the light source by a rolling shutter imaging device;
获取所述光源的若干帧连续图像;Obtaining a plurality of consecutive frames of the light source;
针对所述光源的每一帧图像,分别提取出该图像的起始部分和结束部分;Extracting a start portion and an end portion of the image for each frame image of the light source;
对提取出的所述起始部分和结束部分进行分析,以确定每个起始部分和结束部分表示的数据;以及The extracted initial portion and the ending portion are analyzed to determine data represented by each of the initial portion and the ending portion;
对每一帧图像的结束部分表示的数据和紧随其后的下一帧图像的起始部分表示的数据执行数据去除操作,以确定出所述光源传递的数据序列。A data removal operation is performed on the data represented by the end portion of each frame image and the data represented by the beginning portion of the next frame image immediately thereafter to determine the data sequence delivered by the light source.
优选地,其中,所述起始部分是所述光源的每一帧图像的最早成像的一部分,所述结束部分是所述光源的每一帧图像的最晚成像的一部分。Advantageously, wherein said starting portion is part of an earliest image of each frame image of said light source, said end portion being part of a latest image of each frame image of said light source.
优选地,其中,所述起始部分和所述结束部分的长度都小于等于所述光源的每一帧图像的总长度的1/2。Preferably, wherein the lengths of the start portion and the end portion are both less than or equal to 1/2 of the total length of each frame image of the light source.
优选地,其中,所述外观涉及图案、颜色或者它们的组合。Preferably, wherein the appearance relates to a pattern, a color, or a combination thereof.
优选地,其中,所述不同的预定外观包括至少一种预定条纹。Preferably, wherein the different predetermined appearance comprises at least one predetermined stripe.
优选地,其中,所述对提取出的所述起始部分和结束部分进行分析以确定每个起始部分和结束部分表示的数据包括:Preferably, wherein the analyzing the extracted initial portion and the ending portion to determine data represented by each of the initial portion and the ending portion comprises:
分析每个起始部分和结束部分的外观;以及Analyze the appearance of each start and end; and
基于所述外观来确定每个起始部分和结束部分表示的数据,其中,如果某个起始部分或结束部分包含不同的预定外观的组合,则认为该起始部分或结束部分表示的数据为“不确定”。Determining data represented by each of the start portion and the end portion based on the appearance, wherein if a certain start portion or end portion includes a combination of different predetermined appearances, the data represented by the start portion or the end portion is considered to be "uncertain".
优选地,其中,所述对每一帧图像的结束部分表示的数据和紧随其后的下一帧图像的起始部分表示的数据执行数据去除操作包括:Preferably, wherein performing the data removal operation on the data represented by the end portion of each frame image and the data indicated by the beginning portion of the next frame image immediately thereafter includes:
如果每一帧图像的结束部分表示的数据与紧随其后的下一帧图像的起始部分表示的数据相同,则保留其中之一;以及Retaining one of the data represented by the end portion of each frame of image is the same as the data represented by the beginning portion of the next frame image immediately following;
如果每一帧图像的结束部分表示的数据与紧随其后的下一帧图像的起始部分表示的数据之一为“不确定”,则保留另一数据。If one of the data represented by the end portion of each frame image and the data indicated by the beginning portion of the next frame image is "unsure", another data is retained.
优选地,上述方法还包括:如果所述光源的第一帧图像的起始部分或所述光源的最后一帧图像的结束部分表示的数据为“不确定”,则删除该数据;否则,保留该数据。Preferably, the method further includes deleting the data if the data represented by the beginning portion of the first frame image of the light source or the end portion of the last frame image of the light source is "unsure"; otherwise, retaining The data.
优选地,其中,所述滚动快门成像器件的帧速率与所述光源的信号频率相等。Preferably, wherein the frame rate of the rolling shutter imaging device is equal to the signal frequency of the light source.
优选地,其中,所述滚动快门成像器件的扫描行的方向大致垂直于所述光源的长度方向。Preferably, wherein the direction of the scanning line of the rolling shutter imaging device is substantially perpendicular to the length direction of the light source.
本发明的另一个方面涉及一种用于对光源传递的信息进行解码的装置,包括滚动快门成像器件、处理器和存储器,所述存储器中存储有计算机程序,所述计算机程序在被所述处理器执行时能够用于实现上述的方法。Another aspect of the invention relates to an apparatus for decoding information transmitted by a light source, comprising a rolling shutter imaging device, a processor and a memory, wherein the memory stores a computer program, the computer program being processed The device can be used to implement the above method when executed.
本发明的另一个方面涉及一种存储介质,其中存储有计算机程序,所述计算机程序在被执行时能够用于实现上述的方法。Another aspect of the invention relates to a storage medium in which is stored a computer program that, when executed, can be used to implement the method described above.
本发明的另一个方面一种用于对光源传递的信息进行解码的装置,所述光源被配置为能够工作于至少两种模式,其中,在不同的模式下,当通过滚动快门成像器件对该光源拍摄时所获得的该光源的图像上呈现出不同的预定外观,以表示不同的数据,所述装置包括:Another aspect of the invention is an apparatus for decoding information conveyed by a light source, the light source being configured to operate in at least two modes, wherein in a different mode, when the image is captured by a rolling shutter The image of the light source obtained when the light source is photographed presents a different predetermined appearance to represent different data, and the apparatus includes:
用于通过滚动快门成像器件对所述光源进行连续拍摄的模块;a module for continuously photographing the light source by a rolling shutter imaging device;
用于获取所述光源的若干帧连续图像的模块;a module for acquiring a plurality of consecutive frames of the light source;
用于针对所述光源的每一帧图像分别提取出该图像的起始部分和结束部分的模块;a module for extracting a start portion and an end portion of the image for each frame image of the light source;
用于对提取出的所述起始部分和结束部分进行分析以确定每个起始 部分和结束部分表示的数据的模块;以及a module for analyzing the extracted start and end portions to determine data represented by each of the start portion and the end portion;
用于对每一帧图像的结束部分表示的数据和紧随其后的下一帧图像的起始部分表示的数据执行数据去除操作以确定出所述光源传递的数据序列的模块。A module for performing a data removal operation on the data represented by the end portion of each frame image and the data represented by the beginning portion of the next frame image to determine the data sequence delivered by the light source.
附图说明DRAWINGS
以下参照附图对本发明的实施例作进一步说明,其中:The embodiments of the present invention are further described below with reference to the accompanying drawings, in which:
图1为CMOS成像器件的示意图;1 is a schematic view of a CMOS imaging device;
图2为CMOS成像器件获取图像的方向图;2 is a pattern of an image acquired by a CMOS imaging device;
图3为根据本发明的一个实施例的光源;Figure 3 is a light source in accordance with one embodiment of the present invention;
图4为根据本发明的另一个实施例的光源;Figure 4 is a light source in accordance with another embodiment of the present invention;
图5为CMOS成像器件的成像时序图;5 is an imaging timing chart of a CMOS imaging device;
图6为CMOS成像器件的另一成像时序图;6 is another imaging timing diagram of a CMOS imaging device;
图7示出了当光源工作于第一模式时在不同阶段在CMOS成像器件上的成像图;Figure 7 shows an image of the CMOS imaging device at different stages when the light source is operating in the first mode;
图8示出了根据本发明的一个实施例当光源工作于第一模式时CMOS成像器件的成像时序图;8 illustrates an imaging timing diagram of a CMOS imaging device when the light source operates in the first mode, in accordance with an embodiment of the present invention;
图9示出了根据本发明的一个实施例当光源工作于第二模式时CMOS成像器件的成像时序图;9 illustrates an imaging timing diagram of a CMOS imaging device when the light source operates in the second mode, in accordance with an embodiment of the present invention;
图10示出了根据本发明的另一个实施例当光源工作于第一模式时CMOS成像器件的成像时序图;10 illustrates an imaging timing diagram of a CMOS imaging device when a light source operates in a first mode in accordance with another embodiment of the present invention;
图11示出了根据本发明的另一个实施例的用于实现与图8不同的条纹的CMOS成像器件的成像时序图;11 shows an imaging timing diagram of a CMOS imaging device for implementing a stripe different from that of FIG. 8 in accordance with another embodiment of the present invention;
图12-13示出了在不同设置下获得的光源的两种有条纹图像;Figures 12-13 show two striped images of a light source obtained at different settings;
图14示出了获得的光源的一种无条纹图像;Figure 14 shows a streak-free image of the obtained light source;
图15示出了在光源的信号频率与CMOS成像器件的帧速率相等的情况下所获得的光源的五帧连续的图像;Figure 15 shows a five-frame continuous image of the light source obtained with the signal frequency of the light source being equal to the frame rate of the CMOS imaging device;
图16中示出了提取图15所示的每一帧图像的起始部分和结束部分的一个实施例;以及One embodiment of extracting the beginning portion and the ending portion of each frame image shown in FIG. 15 is shown in FIG. 16;
图17中示出了提取图15所示的每一帧图像的起始部分和结束部分的 另一个实施例。Another embodiment of extracting the beginning portion and the ending portion of each frame image shown in Fig. 15 is shown in Fig. 17.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图通过具体实施例对本发明进行进一步详细说明。The present invention will be further described in detail below with reference to the accompanying drawings.
本发明的一个实施例涉及一种光通信装置,其能够通过发出不同的光来传输不同的信息。该光通信装置在本文中也被称为“光标签”,两者在整个本申请中可以互换使用。光通信装置包括光源和控制器,该控制器能够通过光源控制信号来控制所述光源工作于两个或更多个模式,所述两个或更多个模式包括第一模式和第二模式,其中,在所述第一模式下,光源控制信号具有第一频率,使得所述光源发出的光的属性以第一频率变化,以传递第一信息,在所述第二模式下,所述光源发出的光的属性以第二频率变化或者不发生改变,以传递与第一信息不同的第二信息。One embodiment of the present invention is directed to an optical communication device capable of transmitting different information by emitting different lights. The optical communication device is also referred to herein as a "light tag" and both are used interchangeably throughout this application. The optical communication device includes a light source and a controller capable of controlling the light source to operate in two or more modes by a light source control signal, the two or more modes including the first mode and the second mode, Wherein, in the first mode, the light source control signal has a first frequency such that an attribute of light emitted by the light source changes at a first frequency to deliver first information, and in the second mode, the light source The attribute of the emitted light changes or does not change at the second frequency to deliver second information different from the first information.
光的属性在本申请中指的是CMOS成像器件能够识别的任何一种属性,例如其可以是光的强度、颜色、波长等人眼可感知的属性,也可以是人眼不可感知的其他属性,例如在人眼可见范围外的电磁波长的强度、颜色或波长改变,或者是上述属性的任一组合。因此,光的属性变化可以是单个属性发生变化,也可以是两个或更多个属性的组合发生变化。当选择光的强度作为属性时,可以简单地通过选择开启或关闭光源实现。在下文中为了简单起见,以开启或关闭光源来改变光的属性,但本领域技术人员可以理解,用于改变光的属性的其他方式也是可行的。需要说明的是,在上述第一模式中以第一频率变化的光的属性可以与在上述第二模式中以第二频率变化的光的属性相同或不相同。优选地,在所述第一模式和第二模式中发生变化的光的属性是相同的。The attribute of light in this application refers to any property that the CMOS imaging device can recognize, for example, it may be an attribute that the human eye can perceive, such as the intensity, color, and wavelength of light, or other attributes that are not perceptible to the human eye. For example, the intensity, color or wavelength of the electromagnetic wavelength outside the visible range of the human eye changes, or any combination of the above properties. Thus, a change in the properties of light can be a single property change, or a combination of two or more properties can change. When the intensity of the light is selected as an attribute, it can be achieved simply by selecting to turn the light source on or off. In the following, for the sake of simplicity, the light source is turned on or off to change the properties of the light, but those skilled in the art will appreciate that other ways to change the properties of the light are also possible. It should be noted that the attribute of the light varying at the first frequency in the first mode may be the same as or different from the attribute of the light changing at the second frequency in the second mode. Preferably, the properties of the light that change in the first mode and the second mode are the same.
当光源以第一模式或第二模式工作时,可以使用CMOS成像器件或者具有CMOS成像器件的设备(例如手机、平板电脑、智能眼镜等)对光源进行成像,也即,通过滚动快门的方式进行成像。在下文中以手机作为CMOS成像器件为例进行说明,如图2所示。该手机的行扫描方向在图2中示出为垂直方向,但本领域技术人员可以理解,依据底层硬件配置的不同,行扫描方向也可以是水平方向。另外,可以理解,本发明的方案适用于任何 采用滚动快门成像方式的成像器件。When the light source operates in the first mode or the second mode, the light source can be imaged using a CMOS imaging device or a device having a CMOS imaging device (eg, a cell phone, a tablet, smart glasses, etc.), that is, by rolling the shutter Imaging. Hereinafter, a mobile phone as a CMOS imaging device will be described as an example, as shown in FIG. 2 . The line scanning direction of the mobile phone is shown as a vertical direction in FIG. 2, but those skilled in the art can understand that the line scanning direction can also be a horizontal direction depending on the underlying hardware configuration. In addition, it will be appreciated that the solution of the present invention is applicable to any imaging device that employs a rolling shutter imaging method.
光源可以是各种形式的光源,只要其某一可被CMOS成像器件感知的属性能够以不同频率进行变化即可。例如,该光源可以是一个LED灯、由多个LED灯构成的阵列、显示屏幕或者其中的一部分,甚至光的照射区域(例如光在墙壁上的照射区域)也可以作为光源。该光源的形状可以是各种形状,例如圆形、正方形、矩形、条状、L状等。光源中可以包括各种常见的光学器件,例如导光板、柔光板、漫射器等。在一个优选实施例中,光源可以是由多个LED灯构成的二维阵列,该二维阵列的一个维度长于另外一个维度,优选地,两者之间的比例约为6-12:1。例如,该LED灯阵列可以由排成一列的多个LED灯构成。在发光时,该LED灯阵列可以呈现为一个大致为长方形的光源,并由控制器控制该光源的操作。The light source can be a light source of various forms as long as one of its properties that can be perceived by the CMOS imaging device can be varied at different frequencies. For example, the light source may be an LED light, an array of a plurality of LED lights, a display screen or a part thereof, and even an illuminated area of light (for example, an illuminated area of light on a wall) may also serve as a light source. The shape of the light source may be various shapes such as a circle, a square, a rectangle, a strip, an L, or the like. Various common optical devices can be included in the light source, such as a light guide plate, a soft plate, a diffuser, and the like. In a preferred embodiment, the light source may be a two-dimensional array of a plurality of LED lamps, one dimension of which is longer than the other dimension, preferably a ratio of between about 6-12:1. For example, the LED light array can be composed of a plurality of LED lamps arranged in a row. The LED light array can be rendered as a substantially rectangular light source when illuminated, and the operation of the light source is controlled by a controller.
图3示出了根据本发明的一个实施例的光源。在使用CMOS成像器件对图3所示的光源进行成像时,优选地使图3所示的光源的长边与CMOS成像器件的扫描行的方向(例如,图2所示的手机的行扫描方向)垂直或大致垂直,以在其他条件相同的情况下成像出尽量多的条纹。然而,有时用户并不了解其手机的行扫描方向,为了保证手机在各种姿态下都能够进行识别,并且在竖屏和横屏下都能够达到最大的识别距离,光源可以为多个长方形的组合,例如,如图4所示的L状光源。Figure 3 illustrates a light source in accordance with one embodiment of the present invention. When imaging the light source shown in FIG. 3 using a CMOS imaging device, it is preferable to make the long side of the light source shown in FIG. 3 and the scanning line direction of the CMOS imaging device (for example, the line scanning direction of the mobile phone shown in FIG. 2) ) Vertical or substantially vertical to image as many stripes as possible under otherwise identical conditions. However, sometimes the user does not understand the line scanning direction of the mobile phone. In order to ensure that the mobile phone can recognize in various postures, and the maximum recognition distance can be achieved under both the vertical screen and the horizontal screen, the light source can be a plurality of rectangular shapes. Combination, for example, an L-shaped light source as shown in FIG.
在另一实施例中,光源可以不局限于平面光源,而是可以被实现为一个立体光源,例如,一个条状的圆柱形光源、立方体光源、等等。该光源例如可以被放置在广场上、悬置于室内场所(例如餐厅、会议室等)的大致中心位置,从而附近的位于各个方向的用户都可以通过手机拍摄该光源,从而获得该光源所传递的信息。In another embodiment, the light source may not be limited to a planar light source, but may be implemented as a stereoscopic light source, for example, a strip-shaped cylindrical light source, a cubic light source, or the like. The light source can be placed, for example, on a square, suspended at a substantially central location of an indoor venue (eg, a restaurant, a conference room, etc.) so that a nearby user in each direction can capture the light source through the mobile phone, thereby obtaining the light source. Information.
图5示出了CMOS成像器件的成像时序图,其中的每一行对应于CMOS成像器件的一行传感器。在CMOS成像传感器阵列的每一行进行成像时,主要涉及两个阶段,分别为曝光时间和读出时间。各行的曝光时间有可能发生重叠,但读出时间不会重叠。FIG. 5 shows an imaging timing diagram of a CMOS imaging device, each of which corresponds to a row of sensors of the CMOS imaging device. When imaging is performed on each line of the CMOS imaging sensor array, two stages are mainly involved, namely, exposure time and readout time. The exposure time of each line may overlap, but the readout time does not overlap.
需要说明的是,图5中仅示意性地示出了少量的行,在实际的CMOS成像器件中,依赖于分辨率的不同,通常具有上千行传感器。例如,对于1080p分辨率,其具有1920×1080个像素,数字1080表示有1080条扫描 行,数字1920表示每行有1920个像素。对于1080p分辨率,每一行的读出时间大致为8.7微秒(即,8.7×10 -6秒)。 It should be noted that only a small number of rows are schematically illustrated in FIG. 5, and in actual CMOS imaging devices, depending on the resolution, there are typically thousands of rows of sensors. For example, for 1080p resolution, it has 1920 x 1080 pixels, the number 1080 indicates 1080 scan lines, and the number 1920 indicates 1920 pixels per line. For 1080p resolution, the read time per line is approximately 8.7 microseconds (ie, 8.7 x 10 -6 seconds).
如果曝光时间过长导致相邻行之间的曝光时间出现大量重叠,则可能在成像时呈现出明显过渡的条纹,例如,在纯黑色像素行与纯白色像素行之间的多条具有不同灰度的像素行。本发明期望能够呈现出尽量清晰的像素行,为此,可以对CMOS成像器件(例如手机)的曝光时间进行设置或调整(例如,通过手机上安装的APP来进行设置或调整),以选择相对较短的曝光时间。在一个优选的实施例中,可以使得曝光时间大致等于或小于每一行的读出时间。以1080p分辨率为例,其每一行的读出时间大致为8.7微秒,在这种情况下,可以考虑将手机的曝光时间调整为大约8.7微秒或更短。图6示出了在这种情况下的CMOS成像器件的成像时序图。在这种情况下,每行的曝光时间基本不发生重叠,或者重叠部分较少,从而可以在成像时获得具有比较清晰的边界的条纹,其更容易被识别出来。需要说明的是,图6仅仅是本发明的一个优选实施例,更长的(例如等于或小于每一行的读出时间的两倍、三倍或四倍等)或更短的曝光时间也是可行的。例如,在本申请的图12和13中所示的有条纹图像的成像过程中,每一行的读出时间大致为8.7微秒,而所设置的每行曝光时长为14微秒。另外,为了呈现出条纹,可将光源的一个周期的时长设置为曝光时长的两倍左右或更长,优选地可以设置为曝光时长的四倍左右或更长。If the exposure time is too long, resulting in a large overlap of exposure time between adjacent lines, it may appear as a significant transitional fringe when imaging, for example, multiple strips between pure black pixel rows and pure white pixel rows have different grays. The pixel row of degrees. The present invention is expected to be able to present pixel lines as sharp as possible. For this reason, the exposure time of a CMOS imaging device (such as a mobile phone) can be set or adjusted (for example, set or adjusted by an APP installed on a mobile phone) to select a relative Short exposure time. In a preferred embodiment, the exposure time can be made approximately equal to or less than the readout time of each row. Taking the 1080p resolution as an example, the readout time of each line is approximately 8.7 microseconds. In this case, it is conceivable to adjust the exposure time of the mobile phone to about 8.7 microseconds or less. Fig. 6 shows an imaging timing chart of the CMOS imaging device in this case. In this case, the exposure time of each line does not substantially overlap, or the number of overlapping portions is small, so that stripes having relatively clear boundaries can be obtained at the time of imaging, which is more easily recognized. It should be noted that FIG. 6 is only a preferred embodiment of the present invention, and a longer (for example, twice or three times, four times or four times the readout time of each row, etc.) or a shorter exposure time is also feasible. of. For example, in the imaging process of the striped image shown in Figs. 12 and 13 of the present application, the readout time per line is approximately 8.7 microseconds, and the exposure time per line set is 14 microseconds. Further, in order to exhibit streaks, the length of one cycle of the light source may be set to about twice or more of the exposure time, and preferably may be set to about four times or more of the exposure time.
图7示出了当使用控制器使光源工作于第一模式时在不同阶段在CMOS成像器件上的成像图,在该第一模式下,以一定频率改变光源发出的光的属性,在本例中为开启和关闭光源。Figure 7 is a view showing an image of a CMOS imaging device at different stages when the light source is operated in the first mode using a controller, in which the property of the light emitted by the light source is changed at a certain frequency, in this example Medium to turn the light source on and off.
图7的上部示出了在不同阶段的光源的状态变化图,下部示出了在不同阶段该光源在CMOS成像器件上的成像图,其中,CMOS成像器件的行方向为垂直方向,并从左向右扫描。由于CMOS成像器件采集图像是逐行扫描的,因此在拍摄高频闪烁信号时,所获得的一帧图像上与光源的成像位置对应的部分会形成如图7下部所示的条纹,具体地,在时段1,光源开启,在该时段中曝光的最左侧部分的扫描行呈现亮条纹;在时段2,光源关闭,在该时段中曝光的扫描行呈现暗条纹;在时段3,光源开启,在该时段中曝光的扫描行呈现亮条纹;在时段4,光源关闭,在该时段中曝 光的扫描行呈现暗条纹。The upper part of Fig. 7 shows a state change diagram of the light source at different stages, and the lower part shows an image of the light source on the CMOS imaging device at different stages, wherein the row direction of the CMOS imaging device is vertical and from the left Scan to the right. Since the image captured by the CMOS imaging device is progressively scanned, when the high-frequency flicker signal is captured, the portion of the obtained image on the image corresponding to the imaging position of the light source forms a stripe as shown in the lower part of FIG. 7, specifically, In time period 1, the light source is turned on, in which the scanning line of the leftmost portion of the exposure exhibits bright streaks; in time period 2, the light source is turned off, in which the scanned lines of the exposure exhibit dark stripes; in time period 3, the light source is turned on, The scanned lines exposed during this time period exhibit bright streaks; in time period 4, the light source is turned off, during which the scanned lines of exposure exhibit dark stripes.
可以通过光源控制信号来设置光源闪烁的频率,或者设置光源每次开启和关闭的时长,来调整出现的条纹的宽度,更长的开启或关闭时间通常对应于更宽的条纹。例如,对于图6所示的情形,如果将光源每次开启和关闭的时长均设置为大致等于CMOS成像器件的每一行的曝光时间(该曝光时间可以通过手机上安装的APP进行设置或者手工设置),则可以在成像时呈现出宽度为仅一个像素的条纹。为了能够实现对光标签的远距离识别,应使条纹越窄越好。但在实践中,由于光线干扰、同步等原因,宽度为仅一个像素的条纹可能不太稳定,或者不太容易识别,因此,为了提高识别的稳定性,优选地实现宽度为两个像素的条纹。例如,对于图6所示的情形,可以通过将光源每次开启或关闭的时长均设置为大致等于CMOS成像器件的每一行的曝光时长的大约2倍,来实现宽度为大约两个像素的条纹,具体如图8所示,其中,图8的上部的信号为光源控制信号,其高电平对应于光源的开启,而低电平对应于光源的关闭。在图8所示的实施例中,将光源控制信号的占空比设置为大约50%,将每一行的曝光时长设置为大致等于每一行的读出时间,但本领域技术人员可以理解,其他设置也是可行的,只要能够呈现出可分辨的条纹即可。为了描述简单起见,图8中使用了光源与CMOS成像器件之间的同步,以使得光源的开启和关闭的时间大致对应于CMOS成像器件的某一行的曝光时长的开始或结束时间,但是本领域技术人员可以理解,即使两者未能如图8那样同步,也可以在CMOS成像器件上呈现出明显的条纹,此时,可能会存在一些过渡条纹,但一定存在光源始终关闭时曝光的行(也即最暗的条纹)与光源始终开启时曝光的行(也即最亮的条纹),两者间隔一个像素。这种像素行的明暗变化(也即条纹)可以被容易地检测出来(例如,通过比较光源成像区域中的一些像素的亮度或灰度)。更进一步,即使不存在光源始终关闭时曝光的行(也即最暗的条纹)和光源始终开启时曝光的行(也即最亮的条纹),如果存在曝光时间内光源开启部分t1小于一定时间长度或占整个曝光时长较小比例的行(也即较暗条纹),和曝光时间内光源开启部分t2大于一定时间长度或占整个曝光时长较大比例的行(也即较亮条纹),且t2-t1>明暗条纹差值阈值(例如10微秒),或t2/t1>明暗条纹比例阈值(例如 2),这些像素行之间的明暗变化也可以被检测出来。上述明暗条纹差值阈值和比例阈值和光标签发光强度、感光器件属性、拍摄距离等相关。本领域技术人员可以理解,其他阈值也是可行的,只要能够呈现出计算机可分辨的条纹即可。当识别出条纹时,可以确定出光源此时所传递的信息,例如二进制数据0或数据1。The frequency of the flashing of the light source can be set by the light source control signal, or the length of the light strip can be adjusted each time the light source is turned on and off, and the longer opening or closing time generally corresponds to a wider stripe. For example, for the case shown in FIG. 6, if the light source is turned on and off each time, the exposure time is set to be substantially equal to the exposure time of each line of the CMOS imaging device (this exposure time can be set by the APP installed on the mobile phone or manually set. ), it is possible to present stripes with a width of only one pixel when imaging. In order to enable long-distance identification of optical tags, the narrower the stripes, the better. However, in practice, the stripe having a width of only one pixel may be less stable or less recognizable due to light interference, synchronization, etc., therefore, in order to improve the stability of recognition, it is preferable to realize a stripe having a width of two pixels. . For example, for the case shown in FIG. 6, the stripe having a width of about two pixels can be realized by setting the duration of each turn on or off of the light source to be approximately equal to about twice the exposure time of each line of the CMOS imaging device. Specifically, as shown in FIG. 8, wherein the signal of the upper portion of FIG. 8 is a light source control signal, the high level corresponds to the turn-on of the light source, and the low level corresponds to the turn-off of the light source. In the embodiment shown in FIG. 8, the duty ratio of the light source control signal is set to about 50%, and the exposure duration of each line is set to be substantially equal to the readout time of each line, but those skilled in the art can understand that other Settings are also possible, as long as they can show distinguishable stripes. For simplicity of description, the synchronization between the light source and the CMOS imaging device is used in FIG. 8 such that the time of turning on and off of the light source substantially corresponds to the start or end time of the exposure time of a certain line of the CMOS imaging device, but the field The skilled person will understand that even if the two are not synchronized as shown in Fig. 8, they can exhibit significant streaks on the CMOS imaging device. At this time, there may be some transition stripes, but there must be a line of exposure when the light source is always off ( That is, the darkest stripe) is the line that is exposed when the light source is always on (ie, the brightest stripe), which is separated by one pixel. The light and dark variations (i.e., fringes) of such pixel rows can be easily detected (e.g., by comparing the brightness or grayscale of some of the pixels in the imaged area of the source). Furthermore, even if there is no line (ie, the darkest stripe) that is exposed when the light source is always off and a line that is exposed when the light source is always on (ie, the brightest stripe), if there is a light-on portion t1 less than a certain time during the exposure time a line having a small proportion of the length of the entire exposure time (ie, a darker stripe), and a line in which the light source opening portion t2 is greater than a certain length of time or a proportion of the entire exposure time (ie, a brighter stripe) during the exposure time, and T2-t1> light and dark stripe difference threshold (for example, 10 microseconds), or t2/t1> light and dark stripe ratio threshold (for example, 2), and the brightness change between these pixel lines can also be detected. The light and dark stripe difference threshold and the ratio threshold are related to the optical label illumination intensity, the photosensitive device property, the shooting distance, and the like. Those skilled in the art will appreciate that other thresholds are also possible as long as computer-resolvable stripes are present. When the streaks are identified, the information conveyed by the light source at this time, such as binary data 0 or data 1, can be determined.
根据本发明的一个实施例的条纹识别方法如下:得到光标签的图像,利用投影的方式分割出光源的成像区域;收集不同配置下(例如,不同距离、不同的光源闪烁频率等)的有条纹图片和无条纹图片;将所有收集的图片统一归一化到一个特定大小,例如64*16像素;提取每一个像素特征作为输入特征,构建机器学习分类器;进行二分类判别以判断是条纹图片还是非条纹图片。对于条纹识别,本领域普通技术人员还可以采用本领域公知的任何其他方法进行处理,对此不再详述。The stripe recognition method according to an embodiment of the present invention is as follows: obtaining an image of the optical label, and dividing the imaging area of the light source by means of projection; collecting stripe in different configurations (for example, different distances, different light source flicker frequencies, etc.) Images and unstripe pictures; normalize all collected pictures to a specific size, such as 64*16 pixels; extract each pixel feature as input feature, build a machine learning classifier; perform two-class discrimination to determine a striped picture Still a non-striped picture. For stripe recognition, one of ordinary skill in the art can also process by any other method known in the art, which will not be described in detail.
对于一个长度为5厘米的条状光源,当使用目前市场上常见的手机,设置分辨率为1080p,在距离其10米远的地方(也即,距离为光源长度的200倍)进行拍摄时,该条状光源在其长度方向上大约会占据6个像素,如果每个条纹宽度为2个像素,则在该6个像素的宽度范围内会呈现出多个明显素的宽度范围内会呈现出至少一个明显的条纹,其可以被很容易地识别出来。如果设置更高的分辨率,或者采用光学变焦,在更远的距离,例如距离为光源长度的300倍或400倍时,也能够识别出条纹。For a strip light source with a length of 5 cm, when using a mobile phone that is currently on the market, setting the resolution to 1080p, when shooting 10 meters away (that is, the distance is 200 times the length of the light source), The strip light source occupies about 6 pixels in its length direction, and if each stripe width is 2 pixels, it will appear in a range of widths of a plurality of apparent pixels within the width of the 6 pixels. At least one distinct stripe that can be easily identified. If a higher resolution is set, or optical zoom is used, the stripe can be recognized at a greater distance, for example, when the distance is 300 or 400 times the length of the light source.
控制器也可以使光源工作于第二模式。在一个实施例中,在第二模式下,光源控制信号可以具有与第一模式不同的另一频率,来改变光源发出的光的属性,例如开启和关闭光源。在一个实施例中,相比于第一模式,在第二模式下控制器可以提高光源的开启和关闭频率。例如,第一模式的频率可以大于或等于8000次/秒,而第二模式的频率可以大于第一模式的频率。对于图6所示的情形,可以将光源配置为在CMOS成像器件的每一行的曝光时间内光源开启和关闭至少一次。图9示出了在每一行的曝光时间内光源开启和关闭只一次的情形,其中,图9的上部的信号为光源控制信号,其高电平对应于光源的开启,而低电平对应于光源的关闭。由于在每一行的曝光时间内,光源都会以相同的方式开启和关闭一次,每个曝光时间获取的曝光强度能量大致均等,因此光源的最终成像的各个像素行之间的亮 度不会存在明显差异,从而不存在条纹。本领域技术人员可以理解,更高的开启和关闭频率也是可行的。另外,为了描述简单起见,图9中使用了光源与CMOS成像器件之间的同步,以使得光源的开启时间大致对应于CMOS成像器件的某一行的曝光时长的开始时间,但是本领域技术人员可以理解,即使两者未能如图9那样同步,在光源的最终成像的各个像素行之间的亮度也不会存在明显差异,从而不存在条纹。当不能识别出条纹时,可以确定出光源此时所传递的信息,例如二进制数据1或数据0。对于人眼而言,本发明的光源工作于上述第一模式或第二模式下时不会察觉到任何闪烁现象。另外,为了避免在第一模式和第二模式之间切换时人眼可能会察觉到的闪烁现象,可以将第一模式和第二模式的占空比设置为大致相等,从而实现在不同模式下的大致相同的光通量。The controller can also operate the light source in the second mode. In one embodiment, in the second mode, the light source control signal can have another frequency than the first mode to change the properties of the light emitted by the light source, such as turning the light source on and off. In one embodiment, the controller can increase the turn-on and turn-off frequencies of the light source in the second mode compared to the first mode. For example, the frequency of the first mode may be greater than or equal to 8000 times/second, and the frequency of the second mode may be greater than the frequency of the first mode. For the situation illustrated in Figure 6, the light source can be configured to turn the light source on and off at least once during the exposure time of each row of the CMOS imaging device. FIG. 9 shows a case where the light source is turned on and off only once during the exposure time of each line, wherein the signal of the upper portion of FIG. 9 is a light source control signal whose high level corresponds to the turn-on of the light source, and the low level corresponds to the light source. The light source is turned off. Since the light source is turned on and off in the same way during the exposure time of each line, the exposure intensity energy obtained at each exposure time is roughly equal, so there is no significant difference in brightness between the individual pixel rows of the final image of the light source. So there are no stripes. Those skilled in the art will appreciate that higher turn-on and turn-off frequencies are also possible. In addition, for simplicity of description, synchronization between the light source and the CMOS imaging device is used in FIG. 9 such that the turn-on time of the light source substantially corresponds to the start time of the exposure time of a certain line of the CMOS imaging device, but those skilled in the art can It is understood that even if the two are not synchronized as in Fig. 9, there is no significant difference in brightness between the respective pixel rows of the final image of the light source, so that no streaks exist. When the streaks are not recognized, the information conveyed by the light source at this time, such as binary data 1 or data 0, can be determined. For the human eye, the light source of the present invention does not perceive any flicker when operating in the first mode or the second mode described above. In addition, in order to avoid the flicker phenomenon that may be perceived by the human eye when switching between the first mode and the second mode, the duty ratios of the first mode and the second mode may be set to be substantially equal, thereby realizing in different modes. The roughly the same luminous flux.
在另一实施例中,在第二模式下,可以向光源提供直流电,以使得光源发出属性基本不会发生改变的光,从而,在通过CMOS图像传感器对光源拍摄时所获得的该光源的一帧图像上不会呈现条纹。另外,在这种情况下,也可以实现在不同模式下的大致相同的光通量,以避免在第一模式和第二模式之间切换时人眼可能会察觉到的闪烁现象。In another embodiment, in the second mode, direct current may be supplied to the light source such that the light source emits light whose properties do not substantially change, thereby obtaining one of the light sources obtained when the light source is photographed by the CMOS image sensor. No streaks appear on the frame image. In addition, in this case, substantially the same luminous flux in different modes can also be achieved to avoid flicker that may be perceived by the human eye when switching between the first mode and the second mode.
上文的图8描述了通过使光源发出的光的强度发生变化(例如,通过开启或关闭光源)来呈现条纹的实施例,在另一实施例中,如图10所示,也可以通过使光源发出的光的波长或颜色发生变化来呈现条纹。在图10所示的实施例中,光源中包括可发出红光的红色灯和可发出蓝光的蓝色灯。图10的上部的两个信号分别为红光控制信号和蓝光控制信号,其中,高电平对应于相应光源的开启,而低电平对应于相应光源的关闭。该红光控制信号和蓝光控制信号的相位偏移180°,也即,两者电平相反。通过红光控制信号和蓝光控制信号,可以使得光源向外交替地发出红色光和蓝色光,从而当采用CMOS成像器件对光源进行成像时可以呈现出红蓝条纹。Figure 8 above describes an embodiment in which stripes are rendered by varying the intensity of the light emitted by the source (e.g., by turning the light source on or off). In another embodiment, as shown in Figure 10, The wavelength or color of the light emitted by the light source changes to present stripes. In the embodiment shown in Fig. 10, the light source includes a red light that emits red light and a blue light that emits blue light. The two signals in the upper portion of FIG. 10 are a red light control signal and a blue light control signal, respectively, wherein a high level corresponds to the turn-on of the corresponding light source and a low level corresponds to the turn-off of the corresponding light source. The red light control signal and the blue light control signal are phase shifted by 180°, that is, the two levels are opposite. The red light control signal and the blue light control signal enable the light source to alternately emit red light and blue light outward, so that when the light source is imaged by the CMOS imaging device, red and blue stripes can be presented.
通过确定CMOS成像器件拍摄的一帧图像上与光源对应的部分是否存在条纹,可以确定每帧图像所传递的信息,例如二进制数据1或数据0。进一步地,通过CMOS成像器件拍摄光源的连续的多帧图像,可以确定出由二进制数据1和0构成的信息序列,实现光源向CMOS成像器件(例如手机)的信息传递。在一个实施方式中,当通过CMOS成像器件拍摄光源 的连续的多帧图像时,可以通过控制器进行控制,使得光源的工作模式之间的切换时间间隔等于CMOS成像器件一个完整帧成像的时间长度,从而实现光源与成像器件的帧同步,即每帧传输1比特的信息。对于30帧/每秒的拍摄速度,每秒钟可以传递30比特的信息,编码空间达到2 30,该信息可以包括例如,起始帧标记(帧头)、光标签的ID、口令、验证码、网址信息、地址信息、时间戳或其不同的组合等等。可以按照结构化方法,设定上述各种信息的顺序关系,形成数据包结构。每接收到一个完整的该数据包结构,视为获得一组完整数据(一个数据包),进而可以对其进行数据读取和校验分析。下表示出了根据本发明的一个实施例的数据包结构: By determining whether or not there is a streak on a portion of the image of one frame taken by the CMOS imaging device corresponding to the light source, information transmitted by each frame of the image, such as binary data 1 or data 0, can be determined. Further, by taking a continuous multi-frame image of the light source by the CMOS imaging device, a sequence of information composed of binary data 1 and 0 can be determined, and information transmission of the light source to the CMOS imaging device (for example, a mobile phone) is realized. In one embodiment, when a continuous multi-frame image of the light source is captured by the CMOS imaging device, control may be performed by the controller such that the switching time interval between the operating modes of the light source is equal to the length of time that a complete frame of the CMOS imaging device is imaged Thereby, the frame synchronization of the light source and the imaging device is realized, that is, information of 1 bit is transmitted per frame. For a shooting speed of 30 frames per second, 30 bits of information can be transmitted per second, and the encoding space reaches 2 30. The information can include, for example, a start frame mark (frame header), an optical tag ID, a password, a verification code. , URL information, address information, timestamps or different combinations thereof, and so on. The order relationship of the above various kinds of information can be set in accordance with a structuring method to form a packet structure. Each time a complete packet structure is received, it is considered to obtain a complete set of data (a packet), which can be read and verified. The following table shows the packet structure in accordance with one embodiment of the present invention:
帧头Frame header 属性(8bit)Attribute (8bit) 数据位(32bit)Data bit (32bit) 校验位(8bit)Check digit (8bit) 帧尾End of frame
在上文的描述中,通过判断每帧图像中在光源的成像位置处是否存在条纹来确定该帧图像所传递的信息。在其他实施例中,可以通过识别每帧图像中在光源的成像位置处的不同条纹来确定该帧图像所传递的不同信息。例如,在第一模式下,通过具有第一频率的光源控制信号来控制光源发出的光的属性以第一频率变化,从而能在通过CMOS图像传感器对光源拍摄时所获得的光源的图像上呈现出第一条纹;在第二模式下,通过具有第二频率的光源控制信号来控制光源发出的光的属性以第二频率变化,从而能在通过CMOS图像传感器对光源拍摄时所获得的光源的图像上呈现出与所述第一条纹不同的第二条纹。条纹的不同可以例如基于不同的宽度、颜色、亮度等或它们的任意组合,只要该不同能够被识别即可。In the above description, the information conveyed by the frame image is determined by judging whether or not there is a streak at the imaging position of the light source in each frame of image. In other embodiments, different information conveyed by the frame image may be determined by identifying different fringes at the imaging location of the light source in each frame of image. For example, in the first mode, the property of the light emitted by the light source is controlled by the light source control signal having the first frequency to be changed at the first frequency so as to be present on the image of the light source obtained when the light source is photographed by the CMOS image sensor. a first stripe; in the second mode, the light source control signal having the second frequency is used to control the property of the light emitted by the light source to vary at a second frequency, thereby enabling the light source obtained when the light source is photographed by the CMOS image sensor A second stripe different from the first stripe is present on the image. The difference in stripes may be based, for example, on different widths, colors, brightnesses, etc., or any combination thereof, as long as the difference can be identified.
在一个实施例中,可以基于不同的光源控制信号频率来实现不同宽度的条纹,例如,在第一模式下,光源可以如图8所示的方式工作,从而实现宽度为大约两个像素的第一种条纹;在第二模式下,可以将图8中的光源控制信号的每个周期中的高电平和低电平的持续时间分别修改为原来的两倍,具体如图11所示,从而实现宽度为大约四个像素的第二种条纹。In one embodiment, stripes of different widths may be implemented based on different light source control signal frequencies. For example, in the first mode, the light source may operate as shown in FIG. 8 to achieve a width of approximately two pixels. a stripe; in the second mode, the durations of the high level and the low level in each period of the light source control signal in FIG. 8 can be respectively changed to twice the original, as shown in FIG. A second stripe with a width of approximately four pixels is implemented.
在另一个实施例中,可以实现不同颜色的条纹,例如,可以将光源设置为其中包括可发出红光的红色灯和可发出蓝光的蓝色灯,在第一模式下,可以关闭蓝色灯,并使红色灯如图8所示的方式工作,从而实现红黑条纹;在第二模式下,可以关闭红色灯,并使蓝色灯如图8所示的方式工作,从 而实现蓝黑条纹。在上述实施例中,在第一模式和第二模式下使用具有相同频率的光源控制信号实现了红黑条纹和蓝黑条纹,但是可以理解,在第一模式和第二模式下也可以使用具有不同频率的光源控制信号。In another embodiment, stripes of different colors may be implemented. For example, the light source may be set to include a red light that emits red light and a blue light that emits blue light. In the first mode, the blue light may be turned off. And the red lamp works as shown in Fig. 8 to realize red and black stripes; in the second mode, the red lamp can be turned off, and the blue lamp works as shown in Fig. 8, thereby realizing blue and black stripes. . In the above embodiment, the red and black stripes and the blue and black stripes are realized using the light source control signals having the same frequency in the first mode and the second mode, but it is understood that the first mode and the second mode may also be used. Light source control signals at different frequencies.
另外,本领域技术人员可以理解,可以进一步地通过实现不止两种条纹来表示不止两种信息,例如,在上述光源中包括红色灯和蓝色灯的实施例中,可以进一步设置第三模式,在该第三模式下以图10所示的方式对红色灯和蓝色灯进行控制以实现红蓝条纹,即第三种信息。显然,可选地,也可以进一步通过不呈现条纹的第四模式来传递另一种信息,即第四种信息。可以任意选择上述四种模式中的多种来进行信息传递,也可以进一步结合其他模式,只要不同的模式产生不同的条纹图案(包括无条纹的图案)即可。In addition, those skilled in the art can understand that more than two kinds of information can be further represented by implementing more than two kinds of stripes. For example, in an embodiment including the red light and the blue light in the above light source, the third mode can be further set. In this third mode, the red and blue lights are controlled in the manner shown in Figure 10 to achieve a red-blue stripe, a third type of information. Obviously, alternatively, another type of information, that is, the fourth type of information, can be further transmitted through the fourth mode in which the stripes are not presented. A plurality of the above four modes may be arbitrarily selected for information transfer, and other modes may be further combined as long as different patterns generate different stripe patterns (including a stripe-free pattern).
图12示出了在针对以每秒16000次的频率闪烁的LED灯(每个周期的持续时间为62.5微秒,其中开启时长和关闭时长各为大约31.25微秒),使用1080p分辨率的成像设备,并将每行曝光时长设置为14微秒的情况下,通过实验得到的图像上的条纹。从图12可以看出,呈现出了大致为2-3像素宽度的条纹。图13示出了将图12中的LED灯闪烁频率调整为每秒8000次(每个周期的持续时间为125微秒,其中开启时长和关闭时长各为大约62.5微秒)后,在其他条件不变的情况下通过实验得到的图像上的条纹。从图13可以看出,呈现出了大致为5-6像素宽度的条纹。图14示出了将图12中的LED灯闪烁频率调整为每秒64000次(每个周期的持续时间为15.6微秒,其中开启时长和关闭时长各为大约7.8微秒)后,在其他条件不变的情况下通过实验得到的图像,其上不存在条纹,其原因是每行曝光时长14微秒中基本上涵盖了LED灯的一个开启时长和一个关闭时长。Figure 12 shows the use of 1080p resolution imaging for LEDs that are flashing at a frequency of 16,000 times per second (each period has a duration of 62.5 microseconds with an on duration and a closure duration of approximately 31.25 microseconds each) The stripe on the image obtained by the experiment, with the exposure time of each line set to 14 microseconds. As can be seen from Figure 12, stripes of approximately 2-3 pixel width are presented. Figure 13 shows that the blinking frequency of the LED lamp in Figure 12 is adjusted to 8000 times per second (the duration of each cycle is 125 microseconds, wherein the opening duration and the closing duration are each about 62.5 microseconds), under other conditions. Streaks on the image obtained by experiment under constant conditions. As can be seen from Figure 13, a stripe of approximately 5-6 pixel width is presented. Figure 14 shows the adjustment of the blinking frequency of the LED lamp of Figure 12 to 64,000 times per second (the duration of each cycle is 15.6 microseconds, wherein the opening duration and the closing duration are each about 7.8 microseconds), under other conditions. The image obtained by experiment without change has no streaks on it, because the length of each line of exposure is 14 microseconds, which basically covers one opening time and one closing time of the LED lamp.
在上文中,为了方便说明,以方波为例描述了具有相应频率的光源控制信号,但本领域技术人员可以理解,光源控制信号也可以使用其他波形,例如正弦波、三角波等。In the above, for convenience of description, the square wave is taken as an example to describe the light source control signal having the corresponding frequency, but those skilled in the art can understand that the light source control signal can also use other waveforms such as a sine wave, a triangular wave or the like.
上文中描述了采用一个光源的情形,在一些实施例中,也可以采用两个或更多个光源。控制器可以独立地控制每一个光源的操作。The use of one light source is described above, and in some embodiments, two or more light sources may also be employed. The controller can independently control the operation of each light source.
在一个实施例中,光标签中还可以包括位于信息传递光源附近的一个 或多个定位标识,该定位标识例如可以是特定形状或颜色的灯,该灯例如可以在工作时保持常亮。该定位标识可以有助于CMOS成像器件(例如手机)的用户容易地发现光标签。另外,当CMOS成像器件被设置为对光标签进行拍摄的模式时,定位标识的成像比较明显,易于识别。因此,布置于信息传递光源附近的一个或多个定位标识还能够有助于手机快速地确定信息传递光源的位置,从而有助于识别对应于信息传递光源的成像区域是否存在条纹。在一个实施例中,在识别是否存在条纹时,可以首先在图像中对定位标识进行识别,从而在图像中发现光标签的大致位置。在识别了定位标识之后,可以基于定位标识与信息传递光源之间的相对位置关系,确定图像中的一个或多个区域,该区域涵盖信息传递光源的成像位置。接着,可以针对这些区域进行识别,以判断是否存在条纹,或存在什么样的条纹。In one embodiment, the optical tag may further include one or more positioning indicia located adjacent the information delivery source, the positioning indicia being, for example, a lamp of a particular shape or color, the lamp being, for example, capable of remaining constantly illuminated during operation. The location identification can help a user of a CMOS imaging device, such as a cell phone, to easily discover optical tags. In addition, when the CMOS imaging device is set to a mode in which the optical tag is photographed, the imaging of the positioning mark is conspicuous and easy to recognize. Thus, the one or more location markers disposed adjacent the information transfer light source can also assist the handset in quickly determining the location of the information transfer light source to facilitate identifying whether the imaged region corresponding to the information transfer light source has streaks. In one embodiment, in identifying whether there are streaks, the location identification may first be identified in the image such that the approximate location of the optical tag is found in the image. After the location identification is identified, one or more regions in the image may be determined based on the relative positional relationship between the location identification and the information delivery light source, the region encompassing an imaging location of the information delivery light source. These areas can then be identified to determine if there are streaks or what stripes are present.
相比于现有技术中二维码大概15倍左右的识别距离,本发明的光标签的至少200倍的识别距离具有明显的优势。该远距离识别能力尤其适合于室外识别,以200倍的识别距离为例,对于街道上设置的一个长度为50厘米的光源,在距离该光源100米范围内的人都可以通过手机与该光源进行交互。另外,本发明的方案不要求CMOS成像设备位于与光标签的固定的距离处,也不要求CMOS成像设备与光标签之间的时间同步,并且不需要对各个条纹的边界和宽度进行精确检测,因此,其在实际的信息传输中具有极强的稳定性和可靠性。Compared with the recognition distance of about 15 times of the two-dimensional code in the prior art, the identification distance of at least 200 times of the optical label of the present invention has obvious advantages. The long-distance recognition capability is especially suitable for outdoor recognition. Taking a recognition distance of 200 times as an example, for a light source with a length of 50 cm set on a street, a person within 100 meters from the light source can pass the mobile phone and the light source. Interact. In addition, the solution of the present invention does not require the CMOS imaging device to be located at a fixed distance from the optical tag, nor does it require time synchronization between the CMOS imaging device and the optical tag, and does not require accurate detection of the boundaries and widths of the individual stripes. Therefore, it has extremely strong stability and reliability in actual information transmission.
在使用光标签传递数据信息时,可以以一定的信号频率基于待传递的信息来控制光标签中的光源在不同的工作模式之间切换,从而持续地传递不同的信息。该信号频率是指光标签的光源每秒钟传递数据的次数。例如,可以配置光标签的光源以30次/秒的信号频率来传递数据。在30次/秒的信号频率的情况下,对于以第一模式传递二进制数据1并且以第二模式传递二进制数据0的情形,光标签中的控制器可以基于待传递的二进制数据序列来确定在各个长度为1/30秒的时间片中光源应该工作于哪种模式。例如,对于二进制数据序列110101,光标签中的光源可以被配置为在连续的6个长度为1/30秒的时间片中依次工作于第一模式、第一模式、第二模式、第一模式、第二模式、第一模式。When the optical tag is used to transmit the data information, the light source in the optical tag can be controlled to switch between different working modes based on the information to be transmitted at a certain signal frequency, thereby continuously transmitting different information. The signal frequency refers to the number of times the light source of the optical tag transmits data per second. For example, a light source of an optical tag can be configured to pass data at a signal frequency of 30 times/second. In the case of a signal frequency of 30 times/second, for the case where binary data 1 is delivered in the first mode and binary data 0 is delivered in the second mode, the controller in the optical tag can determine based on the sequence of binary data to be transmitted. Which mode the light source should operate in each time slice of 1/30 second. For example, for the binary data sequence 110101, the light source in the optical tag can be configured to sequentially operate in the first mode, the first mode, the second mode, and the first mode in six consecutive time slices of length 1/30 second. , the second mode, the first mode.
在CMOS成像器件与光源不进行同步的情况下,当使用CMOS成像 器件对光源进行图像采集时,有可能会发生在对光源进行成像时恰好发生了光源的模式切换,这会使得在光源的图像中呈现出两种条纹图案(包括无条纹的图案)的拼接。这种情况在CMOS成像器件与光源相距较远时发生的概率非常小。例如,当光标签中的光源以预定的信号频率30次/秒传递数据时,该光源的每次数据传递的持续时长为1/30秒,也即大约3.3万微秒。当CMOS成像器件与光源相距较远时,所拍摄的光源的图像的长度方向大约只会占据几十个像素行。如之前所述,CMOS成像器件的每行曝光时长大约为若干微秒(例如,14微秒),并且相邻行的曝光时间之间可能会存在重叠,因此这几十个像素行的总的曝光时长大约为几百微秒。相比于光源在每个模式中持续大约3.3万微秒的信息传递,该总的曝光时长恰好落在光源的模式切换时刻的概率是非常小的。而当CMOS成像器件与光源相距很近时,例如,所拍摄的光源的图像的长度方向大约占据上千个像素行时,因为上千个像素行的总的曝光时长比较长,因此该总的曝光时长恰好落在光源的模式切换时刻的概率会明显提高。为了解决上述问题,可以使得CMOS成像器件(例如手机)在拍摄时的采样频率(也即帧速率)大于等于信号频率的两倍,例如,如果光源以30次/秒的信号频率传递数据,则可以将CMOS成像器件配置为以至少60帧/秒的帧速率进行拍摄。In the case where the CMOS imaging device is not synchronized with the light source, when the CMOS imaging device is used for image acquisition of the light source, it may happen that the mode switching of the light source occurs when the light source is imaged, which causes the image at the light source The splicing of two stripe patterns (including a stripe-free pattern) is presented. This situation is very unlikely to occur when the CMOS imaging device is far from the source. For example, when a light source in an optical tag transmits data at a predetermined signal frequency of 30 times/second, each data transfer of the light source has a duration of 1/30 second, that is, approximately 33,000 microseconds. When the CMOS imaging device is far from the light source, the length direction of the image of the captured light source will occupy only about a few tens of pixel rows. As described earlier, the exposure time of each line of the CMOS imaging device is about several microseconds (for example, 14 microseconds), and there may be an overlap between exposure times of adjacent lines, so the total of these tens of pixel rows The exposure time is approximately a few hundred microseconds. Compared to the light source, which lasts about 33,000 microseconds of information transfer in each mode, the probability that the total exposure time falls just at the mode switching moment of the light source is very small. When the CMOS imaging device is close to the light source, for example, when the length direction of the image of the captured light source occupies about thousands of pixel rows, since the total exposure time of thousands of pixel rows is relatively long, the total The probability that the exposure time falls just at the mode switching moment of the light source will be significantly improved. In order to solve the above problem, the sampling frequency (that is, the frame rate) of the CMOS imaging device (for example, a mobile phone) can be made to be greater than or equal to twice the signal frequency, for example, if the light source transmits data at a signal frequency of 30 times/second, The CMOS imaging device can be configured to take a picture at a frame rate of at least 60 frames per second.
但在某些情况下,为了提高光源的信号频率或者为了降低对CMOS成像器件的帧速率要求,希望即使在光源的信号频率与CMOS成像器件的帧速率相等的情况下也能够实现数据传递。下文介绍了一种实现方法。However, in some cases, in order to increase the signal frequency of the light source or to reduce the frame rate requirement for the CMOS imaging device, it is desirable to enable data transfer even when the signal frequency of the light source is equal to the frame rate of the CMOS imaging device. An implementation method is described below.
图15示出了在光源的信号频率与CMOS成像器件的帧速率相等的情况下所获得的光源的五帧连续的图像。光源的图像可以通过由CMOS成像器件对光标签进行连续拍摄,并从所拍摄的每一帧图像中提取出光源的图像来获得。在图15所示的实施例中,光源的图像中的白色部分表示第一种条纹图案,该第一种条纹图案对应于光源的用于传递二进制数据1的第一模式,光源的图像中的灰色部分表示第二种条纹图案,该第二种条纹图案对应于光源的用于传递二进制数据0的第二模式。从图15可以看出,在光源的第二帧、第三帧和第五帧图像中都出现了两种条纹图案,这意味着在这些帧中对光源进行成像时恰好发生了光源的工作模式的切换。在光源的第一帧和第四帧图像的成像期间没有发生光源的工作模式的切换,但 是可以理解,第一帧和第四帧图像的成像期间实际上涉及光源在两个连续的时间片中的两次数据传递,只是在这两个连续的时间片中光源的工作模式或所传递的数据是相同的(在该实施例中,都为第一模式)。可以理解,图15中的五帧连续的图像实际上涉及了光源在信息传递期间的六个连续的时间片,或者六个连续的工作模式。并且可以理解,从光源的第一帧图像的成像开始时刻到第五帧图像的成像结束时刻涵盖了四个完整的时间片(也即,第二、三、四、五时间片),因为第一帧图像的成像开始时刻位于第一时间片期间,而第五帧图像的成像结束时刻位于第六时间片期间。Figure 15 shows a five-frame continuous image of the light source obtained with the signal frequency of the light source equal to the frame rate of the CMOS imaging device. The image of the light source can be obtained by continuously photographing the optical tag by the CMOS imaging device and extracting an image of the light source from each frame of the captured image. In the embodiment shown in FIG. 15, the white portion of the image of the light source represents a first type of fringe pattern corresponding to the first mode of the light source for transmitting binary data 1, in the image of the light source The gray portion represents a second stripe pattern corresponding to the second mode of the light source for delivering binary data 0. As can be seen from Fig. 15, two stripe patterns appear in the second frame, the third frame, and the fifth frame image of the light source, which means that the light source operating mode happens when the light source is imaged in these frames. Switching. Switching of the operating mode of the light source does not occur during imaging of the first and fourth frame images of the light source, but it will be appreciated that the imaging period of the first and fourth frame images actually involves the light source in two consecutive time slices The two data passes are only the working mode of the light source or the data transmitted in the two consecutive time slices are the same (in this embodiment, both are the first mode). It will be appreciated that the five consecutive frames in Figure 15 actually relate to six consecutive time slices of the source during information transfer, or six consecutive modes of operation. And it can be understood that four complete time slices (ie, second, third, fourth, and fifth time slices) are covered from the imaging start time of the first frame image of the light source to the imaging end time of the fifth frame image, because The imaging start time of one frame of image is located during the first time slice, and the imaging end time of the fifth frame image is located during the sixth time slice.
为了解码出光源的上述多帧图像表示的工作模式序列或数据序列,提出了一种解码方法,其包括:In order to decode the working mode sequence or the data sequence of the multi-frame image representation of the light source, a decoding method is proposed, which includes:
通过CMOS成像器件对包含光源的光标签进行连续拍摄。通过该连续拍摄,可以获得包含光源的一系列连续图像。The optical tag containing the light source is continuously photographed by a CMOS imaging device. By this continuous shooting, a series of continuous images containing the light source can be obtained.
获取光源的若干帧连续图像。可以采用本领域已知的各种方法来获得光源的若干帧连续图像,例如,可以从所拍摄的包含光源的一系列连续图像中确定出光源的成像位置,从而提取出光源的若干帧连续图像。Get several consecutive frames of the light source. Several frames of continuous images of the light source can be obtained using various methods known in the art, for example, the imaging position of the light source can be determined from a series of successive images of the captured light source, thereby extracting several consecutive frames of the light source .
针对光源的每一帧图像,分别提取出该图像的起始部分和结束部分。因为CMOS成像器件是逐行扫描的,因此,光源的每一帧图像并非同时成像的,而是具有先后次序。图像的起始部分是指图像的最早成像的一部分,图像的结束部分是指图像的最晚成像的一部分。每个CMOS成像器件具有固有的扫描方式,该扫描方式是可以提前知悉的。在图15所示的实施例中以及下文的描述中,假设CMOS成像器件的扫描行方向为竖直方向,并从左侧的行开始扫描。因此,在图15所示的实施例中,位于图像的左侧端部的部分是起始部分,而位于图像的右侧端部的部分为结束部分。该起始部分和结束部分的长度被选择为小于等于光源的每一帧图像的总长度的1/2,以保证起始部分和结束部分中至少有一个中不存在条纹图案的组合。起始部分和结束部分的长度优选地是相等的,但并不是必须相等。For each frame of the light source, the beginning and end portions of the image are extracted separately. Because the CMOS imaging device is progressively scanned, each frame of the source is not imaged simultaneously, but in a prioritized order. The beginning of the image refers to the portion of the earliest image of the image, and the end portion of the image refers to the portion of the image that is the latest image. Each CMOS imaging device has an inherent scanning mode that can be known in advance. In the embodiment shown in FIG. 15 and the following description, it is assumed that the scanning line direction of the CMOS imaging device is a vertical direction, and scanning is started from the left side line. Therefore, in the embodiment shown in Fig. 15, the portion located at the left end of the image is the starting portion, and the portion located at the right end of the image is the ending portion. The lengths of the start portion and the end portion are selected to be less than or equal to 1/2 of the total length of each frame image of the light source to ensure that there is no combination of stripe patterns in at least one of the start portion and the end portion. The lengths of the starting portion and the ending portion are preferably equal, but not necessarily equal.
对提取出的起始部分和结束部分进行分析,以确定每个起始部分和结束部分表示的数据。例如,对于图15所示的实施例,如果起始部分或结束部分中仅有第一种条纹图案,则可以确定其表示二进制数据1;如果起始部分或结束部分中仅有第二种条纹图案,则可以确定其表示二进制数据 0。如果某个起始部分或结束部分中同时存在两种条纹图案,则无法确定其表示的数据,在此可以将其称为“不确定”,并在下文中以“*”表示。The extracted start and end sections are analyzed to determine the data represented by each of the start and end sections. For example, for the embodiment shown in FIG. 15, if there is only the first stripe pattern in the start portion or the end portion, it can be determined that it represents binary data 1; if there is only the second stripe in the start portion or the end portion The pattern can be determined to represent binary data 0. If there are two stripe patterns in a certain starting part or ending part, the data represented by it cannot be determined, which can be referred to as "unsure" here, and is indicated by "*" hereinafter.
对每一帧图像的结束部分表示的数据和紧随其后的下一帧图像的起始部分表示的数据执行数据去除操作,以确定出光源所传递的数据序列。该数据去除操作例如可以包括如下规则:如果两个数据相同,则保留其中之一;如果其中一个数据为“不确定”,则保留另一数据。A data removal operation is performed on the data represented by the end portion of each frame image and the data indicated by the beginning portion of the next frame image to determine the data sequence delivered by the light source. The data removal operation may, for example, include the rule that if the two data are the same, one of them is retained; if one of the data is "unsure", another data is retained.
图16中示出了提取图15所示的每一帧图像的起始部分和结束部分的一个实施例。在该实施例中,提取虚线A左侧的图像作为起始部分,并提取虚线B右侧的图像作为结束部分,其中,起始部分和结束部分的长度相等,均为光源的每一帧图像的总长度的1/4。由此,获得了十个起始部分和结束部分。在该实施例中,每个起始部分或结束部分中都不存在条纹图案的组合。通过对这十个起始部分和结束部分进行分析,可以确定出这十个起始部分和结束部分所表示的相应的数据序列:1、1、1、0、0、1、1、1、1、0。将每一结束部分表示的数据和紧随其后的起始部分表示的数据作为一组,获得四组数据,分别为(1、1)、(0、0)、(1、1)、(1、1)。通过对其中的每一组数据执行数据去除操作,可以获得数据序列:1、0、1、1,该数据序列即为从光源的第一帧图像的成像开始时刻到第五帧图像的成像结束时刻涵盖的四个完整时间片(也即,第二、三、四、五时间片)所传递的数据。One embodiment of extracting the start portion and the end portion of each frame image shown in Fig. 15 is shown in Fig. 16. In this embodiment, the image on the left side of the broken line A is extracted as the start portion, and the image on the right side of the broken line B is extracted as the end portion, wherein the lengths of the start portion and the end portion are equal, and each of the images of the light source is 1/4 of the total length. Thus, ten initial parts and ending parts are obtained. In this embodiment, there is no combination of stripe patterns in each of the starting portion or the ending portion. By analyzing the ten initial and ending parts, the corresponding data sequence represented by the ten initial parts and the ending part can be determined: 1, 1, 1, 0, 0, 1, 1, 1, 1, 0. Taking the data represented by each end portion and the data indicated by the immediately preceding part as a group, four sets of data are obtained, which are (1, 1), (0, 0), (1, 1), ( 1, 1). By performing a data removal operation on each of the sets of data, a data sequence can be obtained: 1, 0, 1, 1, which is the end of imaging from the imaging start time of the first frame image of the light source to the fifth frame image. The data transmitted by the four complete time slices (ie, the second, third, fourth, and fifth time slices) covered at the moment.
图17中示出了提取图15所示的每一帧图像的起始部分和结束部分的另一个实施例。在图17的实施例中,仍提取虚线A左侧的图像作为起始部分,并提取虚线B右侧的图像作为结束部分,但与图16所示的方式不同的是,起始部分和结束部分的长度更长,并因而使得一些起始部分中存在条纹图案的组合。通过对这十个起始部分和结束部分进行分析,可以确定出这十个起始部分和结束部分所表示的相应的数据序列:1、1、*、0、*、1、1、1、*、0。将每一结束部分表示的数据和紧随其后的起始部分表示的数据作为一组,获得四组数据,分别为(1、*)、(0、*)、(1、1)、(1、*)。通过对其中的每一组数据执行数据去除操作,可以获得同样的数据序列:1、0、1、1,该数据序列即为从光源的第一帧图像的成像开始时刻到第五帧图像的成像结束时刻涵盖的四个完整时间片(也即,第二、三、四、 五时间片)所传递的数据。Another embodiment of extracting the start portion and the end portion of each frame image shown in Fig. 15 is shown in Fig. 17. In the embodiment of Fig. 17, the image on the left side of the broken line A is still extracted as the start portion, and the image on the right side of the broken line B is extracted as the end portion, but different from the manner shown in Fig. 16, the start portion and the end The length of the portion is longer and thus there is a combination of stripe patterns in some of the starting portions. By analyzing the ten initial and ending parts, the corresponding data sequence represented by the ten initial parts and the ending part can be determined: 1, 1, *, 0, *, 1, 1, 1, *, 0. Taking the data represented by each end portion and the data indicated by the immediately preceding part as a group, four sets of data are obtained, which are (1, *), (0, *), (1, 1), ( 1,*). By performing a data removal operation on each of the sets of data, the same data sequence can be obtained: 1, 0, 1, 1, which is the image from the imaging start time of the first frame image of the light source to the fifth frame image. The data transmitted by the four complete time slices (ie, the second, third, fourth, and fifth time slices) covered by the end of imaging.
本领域技术人员可以理解,对于图16和图17所示的实施例,实际上也可以进一步判断出第一时间片和第六时间片所传递的数据,因为第一帧图像的起始部分表示数据1,第五帧图像的结束部分表示数据0,无论第一帧图像之前的一帧图像的结束部分以及第六帧图像的起始部分如何,在执行了数据去除操作后都是保留数据1和0,也即,第一时间片和第六时间片所传递的数据分别为数据1和0。如果第一帧图像的起始部分或第五帧图像的结束部分的数据在之前的步骤中被判定为“不确定”,则可以简单地将其删除。因此,针对第一帧图像的起始部分和最后一帧图像的结束部分的数据去除规则可以是:如果其表示的数据为“不确定”,则删除该数据;否则,保留该数据。It will be understood by those skilled in the art that for the embodiment shown in FIG. 16 and FIG. 17, the data transmitted by the first time slice and the sixth time slice can be further determined, because the initial portion of the first frame image represents Data 1, the end portion of the fifth frame image represents data 0, regardless of the end portion of the image of one frame before the image of the first frame and the beginning portion of the image of the sixth frame, the data is retained after the data removal operation is performed. And 0, that is, the data transmitted by the first time slice and the sixth time slice are data 1 and 0, respectively. If the data of the beginning portion of the first frame image or the end portion of the fifth frame image is judged as "unsure" in the previous step, it can be simply deleted. Therefore, the data removal rule for the start portion of the first frame image and the end portion of the last frame image may be: if the data it represents is "unsure", the data is deleted; otherwise, the data is retained.
上文以本发明的光标签为例描述了对光标签中的光源传递的信息进行解码的方法,但本领域技术人员可以理解,上述解码方法并不局限于本发明的光标签,而是可以适用于任何如下光源:该光源被配置为能够工作于至少两种模式,其中,在不同的模式下,当通过CMOS图像传感器对该光源拍摄时所获得的该光源的图像上呈现出不同的预定外观。该外观例如可以涉及图案、颜色或者它们的组合。例如,对于一种简单地通过在不同的模式下发射不同颜色的光来传递信息的光源,当通过CMOS图像传感器对该光源拍摄时,在光源的不同的模式下会获得光源的不同颜色的图像。可以理解,当通过CMOS图像传感器对该光源拍摄时,同样有可能在拍摄该光源的一帧图像时恰好发生了模式切换,从而在光源的一帧图像上出现颜色跳变。显然,本发明的上述解码方法可以适用于对该光源的解码。The optical tag of the present invention is used as an example to describe a method for decoding information transmitted by a light source in an optical tag. However, those skilled in the art can understand that the above decoding method is not limited to the optical tag of the present invention, but may be Suitable for any light source configured to be capable of operating in at least two modes, wherein in different modes, different images are presented on the image of the light source obtained when the light source is photographed by the CMOS image sensor Exterior. This appearance may, for example, relate to a pattern, a color, or a combination thereof. For example, for a light source that simply transmits information by emitting different colors of light in different modes, when the light source is photographed by a CMOS image sensor, images of different colors of the light source are obtained in different modes of the light source. . It can be understood that when the light source is photographed by the CMOS image sensor, it is also possible that a mode switching occurs just when one frame of the light source is taken, so that a color jump occurs on one frame of the light source. Obviously, the above described decoding method of the present invention can be applied to the decoding of the light source.
本说明书中针对“各个实施例”、“一些实施例”、“一个实施例”、或“实施例”等的参考指代的是结合所述实施例所描述的特定特征、结构、或性质包括在至少一个实施例中。因此,短语“在各个实施例中”、“在一些实施例中”、“在一个实施例中”、或“在实施例中”等在整个说明书中各地方的出现并非必须指代相同的实施例。此外,特定特征、结构、或性质可以在一个或多个实施例中以任何合适方式组合。因此,结合一个实施例中所示出或描述的特定特征、结构或性质可以整体地或部分地与一个或多个其他实施例的特征、结构、或性质无限制地组合,只要该组合不是非 逻辑性的或不能工作。另外,本申请附图中的各个元素仅仅为了示意说明,并非按比例绘制。References in the specification to "individual embodiments," "some embodiments," "one embodiment," or "an embodiment" or "an" In at least one embodiment. Thus, appearances of the phrases "in the various embodiments", "in some embodiments", "in one embodiment", or "in an embodiment" example. Furthermore, the particular features, structures, or properties may be combined in any suitable manner in one or more embodiments. Thus, the particular features, structures, or properties shown or described in connection with one embodiment may be combined, in whole or in part, with the features, structures, or properties of one or more other embodiments without limitation, as long as the combination is not Logical or not working. In addition, the various elements in the drawings of the present application are only for the purpose of illustration and illustration.
由此描述了本发明的至少一个实施例的几个方面,可以理解,对本领域技术人员来说容易地进行各种改变、修改和改进。这种改变、修改和改进意于在本发明的精神和范围内。Having thus described several aspects of at least one embodiment of the present invention, it is understood that various changes, modifications and improvements can be readily made by those skilled in the art. Such changes, modifications, and improvements are intended to be within the spirit and scope of the invention.

Claims (13)

  1. 一种用于对光源传递的信息进行解码的方法,所述光源被配置为能够工作于至少两种模式,其中,在不同的模式下,当通过滚动快门成像器件对该光源拍摄时所获得的该光源的图像上呈现出不同的预定外观,以表示不同的数据,所述方法包括:A method for decoding information conveyed by a light source, the light source being configured to operate in at least two modes, wherein, in a different mode, when the light source is photographed by a rolling shutter imaging device The image of the light source exhibits a different predetermined appearance to represent different data, the method comprising:
    通过滚动快门成像器件对所述光源进行连续拍摄;Continuously photographing the light source by a rolling shutter imaging device;
    获取所述光源的若干帧连续图像;Obtaining a plurality of consecutive frames of the light source;
    针对所述光源的每一帧图像,分别提取出该图像的起始部分和结束部分;Extracting a start portion and an end portion of the image for each frame image of the light source;
    对提取出的所述起始部分和结束部分进行分析,以确定每个起始部分和结束部分表示的数据;以及The extracted initial portion and the ending portion are analyzed to determine data represented by each of the initial portion and the ending portion;
    对每一帧图像的结束部分表示的数据和紧随其后的下一帧图像的起始部分表示的数据执行数据去除操作,以确定出所述光源传递的数据序列。A data removal operation is performed on the data represented by the end portion of each frame image and the data represented by the beginning portion of the next frame image immediately thereafter to determine the data sequence delivered by the light source.
  2. 根据权利要求1所述的方法,其中,所述起始部分是所述光源的每一帧图像的最早成像的一部分,所述结束部分是所述光源的每一帧图像的最晚成像的一部分。The method of claim 1 wherein said starting portion is part of an earliest image of each frame image of said light source, said end portion being part of a latest image of each frame image of said light source .
  3. 根据权利要求1所述的方法,其中,所述起始部分和所述结束部分的长度都小于等于所述光源的每一帧图像的总长度的1/2。The method of claim 1, wherein the length of the start portion and the end portion are both less than or equal to 1/2 of a total length of each frame image of the light source.
  4. 根据权利要求1所述的方法,其中,所述外观涉及图案、颜色或者它们的组合。The method of claim 1 wherein the appearance relates to a pattern, a color, or a combination thereof.
  5. 根据权利要求1所述的方法,其中,所述不同的预定外观包括至少一种预定条纹。The method of claim 1 wherein said different predetermined appearances comprise at least one predetermined stripe.
  6. 根据权利要求1-5中任一项所述的方法,其中,所述对提取出的所述起始部分和结束部分进行分析以确定每个起始部分和结束部分表示的数据包括:The method according to any one of claims 1 to 5, wherein the analyzing the extracted start portion and end portion to determine data represented by each of the start portion and the end portion comprises:
    分析每个起始部分和结束部分的外观;以及Analyze the appearance of each start and end; and
    基于所述外观来确定每个起始部分和结束部分表示的数据,其中,如果某个起始部分或结束部分包含不同的预定外观的组合,则认为该起始部 分或结束部分表示的数据为“不确定”。Determining data represented by each of the start portion and the end portion based on the appearance, wherein if a certain start portion or end portion includes a combination of different predetermined appearances, the data represented by the start portion or the end portion is considered to be "uncertain".
  7. 根据权利要求6所述的方法,其中,所述对每一帧图像的结束部分表示的数据和紧随其后的下一帧图像的起始部分表示的数据执行数据去除操作包括:The method according to claim 6, wherein said performing data removal operation on said data indicated by an end portion of each frame image and data indicated by a start portion of a next frame image immediately thereafter comprises:
    如果每一帧图像的结束部分表示的数据与紧随其后的下一帧图像的起始部分表示的数据相同,则保留其中之一;以及Retaining one of the data represented by the end portion of each frame of image is the same as the data represented by the beginning portion of the next frame image immediately following;
    如果每一帧图像的结束部分表示的数据与紧随其后的下一帧图像的起始部分表示的数据之一为“不确定”,则保留另一数据。If one of the data represented by the end portion of each frame image and the data indicated by the beginning portion of the next frame image is "unsure", another data is retained.
  8. 根据权利要求6所述的方法,还包括:如果所述光源的第一帧图像的起始部分或所述光源的最后一帧图像的结束部分表示的数据为“不确定”,则删除该数据;否则,保留该数据。The method according to claim 6, further comprising deleting the data if the data indicated by the start portion of the first frame image of the light source or the end portion of the last frame image of the light source is "undefined" ; otherwise, retain the data.
  9. 根据权利要求1-5中任一项所述的方法,其中,所述滚动快门成像器件的帧速率与所述光源的信号频率相等。The method according to any one of claims 1 to 5, wherein the frame rate of the rolling shutter imaging device is equal to the signal frequency of the light source.
  10. 根据权利要求1-5中任一项所述的方法,其中,所述滚动快门成像器件的扫描行的方向大致垂直于所述光源的长度方向。The method according to any one of claims 1 to 5, wherein the direction of the scanning line of the rolling shutter imaging device is substantially perpendicular to the length direction of the light source.
  11. 一种用于对光源传递的信息进行解码的装置,包括滚动快门成像器件、处理器和存储器,所述存储器中存储有计算机程序,所述计算机程序在被所述处理器执行时能够用于实现权利要求1-10中任一项所述的方法。An apparatus for decoding information conveyed by a light source, comprising a rolling shutter imaging device, a processor, and a memory, wherein the memory stores a computer program that can be used to implement when executed by the processor The method of any of claims 1-10.
  12. 一种存储介质,其中存储有计算机程序,所述计算机程序在被执行时能够用于实现权利要求1-10中任一项所述的方法。A storage medium having stored therein a computer program, which when executed, can be used to implement the method of any of claims 1-10.
  13. 一种用于对光源传递的信息进行解码的装置,所述光源被配置为能够工作于至少两种模式,其中,在不同的模式下,当通过滚动快门成像器件对该光源拍摄时所获得的该光源的图像上呈现出不同的预定外观,以表示不同的数据,所述装置包括:An apparatus for decoding information conveyed by a light source, the light source being configured to operate in at least two modes, wherein, in a different mode, when the light source is photographed by a rolling shutter imaging device The image of the light source exhibits a different predetermined appearance to represent different data, the device comprising:
    用于通过滚动快门成像器件对所述光源进行连续拍摄的模块;a module for continuously photographing the light source by a rolling shutter imaging device;
    用于获取所述光源的若干帧连续图像的模块;a module for acquiring a plurality of consecutive frames of the light source;
    用于针对所述光源的每一帧图像分别提取出该图像的起始部分和结束部分的模块;a module for extracting a start portion and an end portion of the image for each frame image of the light source;
    用于对提取出的所述起始部分和结束部分进行分析以确定每个起始 部分和结束部分表示的数据的模块;以及a module for analyzing the extracted start and end portions to determine data represented by each of the start portion and the end portion;
    用于对每一帧图像的结束部分表示的数据和紧随其后的下一帧图像的起始部分表示的数据执行数据去除操作以确定出所述光源传递的数据序列的模块。A module for performing a data removal operation on the data represented by the end portion of each frame image and the data represented by the beginning portion of the next frame image to determine the data sequence delivered by the light source.
PCT/CN2018/117868 2017-12-19 2018-11-28 Method and apparatus for decoding information transmitted by optical source WO2019120052A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711374731.2 2017-12-19
CN201711374731.2A CN109936713B (en) 2017-12-19 2017-12-19 Method and apparatus for decoding information conveyed by a light source

Publications (1)

Publication Number Publication Date
WO2019120052A1 true WO2019120052A1 (en) 2019-06-27

Family

ID=66983554

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/117868 WO2019120052A1 (en) 2017-12-19 2018-11-28 Method and apparatus for decoding information transmitted by optical source

Country Status (2)

Country Link
CN (1) CN109936713B (en)
WO (1) WO2019120052A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114389694A (en) * 2022-01-05 2022-04-22 大连理工大学 Light source waveform design method easy to recognize in visible light navigation communication integration

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110492934B (en) * 2019-07-12 2022-05-13 华南师范大学 Noise suppression method for visible light communication system
CN112422931B (en) * 2019-08-22 2022-08-12 北京外号信息技术有限公司 Optical communication device and method for transmitting and receiving information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243029A (en) * 2013-04-09 2014-12-24 珠海横琴华策光通信科技有限公司 Method and device for transmitting/obtaining identification information through visible light signals and method and device for carrying out positioning through visible light signals
WO2016001339A1 (en) * 2014-07-03 2016-01-07 Koninklijke Philips N.V. Communicating barcode data
CN105740936A (en) * 2014-12-12 2016-07-06 方俊 Optical tag, method and apparatus for identifying optical tag
WO2016175984A1 (en) * 2015-04-28 2016-11-03 Qualcomm Incorporated Coherent decoding of visible light communication (vlc) signals
CN106663308A (en) * 2014-07-24 2017-05-10 苹果公司 Invisible optical label for transmitting information between computing devices

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009148466A1 (en) * 2008-06-05 2009-12-10 Relume Technologies, Inc. Networked light control system
WO2015075937A1 (en) * 2013-11-22 2015-05-28 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Information processing program, receiving program, and information processing device
CN106372700B (en) * 2016-08-30 2019-05-03 西安小光子网络科技有限公司 Cursor label apparatus and its recognition methods of a kind of combination visible light and black light
CN106932770A (en) * 2017-02-18 2017-07-07 广东顺德中山大学卡内基梅隆大学国际联合研究院 A kind of indoor locating system and method based on LED
CN106877929B (en) * 2017-03-14 2019-05-31 大连海事大学 A kind of mobile terminal camera visible light communication method and system of compatible multi-model
CN107196705B (en) * 2017-04-18 2019-08-30 东莞信大融合创新研究院 A kind of data demodulation method and device based on visible light communication
CN107104733B (en) * 2017-05-02 2019-12-03 中国人民解放军信息工程大学 A kind of data transmission method for uplink based on visible light communication, apparatus and system
CN107483114B (en) * 2017-08-05 2019-06-04 深圳市光域物联科技有限公司 Multichannel indicator light data parallel Transmission system and method
CN107490374B (en) * 2017-09-19 2020-10-16 成都零点科技有限公司 LED-based indoor positioning coding device and system and video decoding device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243029A (en) * 2013-04-09 2014-12-24 珠海横琴华策光通信科技有限公司 Method and device for transmitting/obtaining identification information through visible light signals and method and device for carrying out positioning through visible light signals
WO2016001339A1 (en) * 2014-07-03 2016-01-07 Koninklijke Philips N.V. Communicating barcode data
CN106663308A (en) * 2014-07-24 2017-05-10 苹果公司 Invisible optical label for transmitting information between computing devices
CN105740936A (en) * 2014-12-12 2016-07-06 方俊 Optical tag, method and apparatus for identifying optical tag
WO2016175984A1 (en) * 2015-04-28 2016-11-03 Qualcomm Incorporated Coherent decoding of visible light communication (vlc) signals

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114389694A (en) * 2022-01-05 2022-04-22 大连理工大学 Light source waveform design method easy to recognize in visible light navigation communication integration
CN114389694B (en) * 2022-01-05 2023-07-28 大连理工大学 Easily-identified light source waveform design method in visible light navigation communication integration

Also Published As

Publication number Publication date
CN109936713A (en) 2019-06-25
CN109936713B (en) 2020-08-21

Similar Documents

Publication Publication Date Title
WO2018041136A1 (en) Optical communication device and system and corresponding information transferring and receiving method
WO2019120052A1 (en) Method and apparatus for decoding information transmitted by optical source
CN109936712B (en) Positioning method and system based on optical label
US11328136B2 (en) Optical communication device and method for transmitting and receiving information
US10990774B2 (en) Optical communication device and system, and corresponding information transmitting and receiving methods
WO2019120053A1 (en) Optical communication apparatus having reference light source, and corresponding information transmitting and receiving methods
WO2019214643A1 (en) Method for guiding autonomously movable machine by means of optical communication device
TWI702805B (en) System and method for guiding a machine capable of autonomous movement
US10523365B2 (en) Discrimination method and communication system
CN106372701A (en) Optical label coding and identification method
WO2019120051A1 (en) Optical label security determination method and system
US20210135753A1 (en) Detecting coded light
WO2022142852A1 (en) Optical communication apparatus and corresponding information transmission method
CN110378327B (en) Target detection device and method with auxiliary significant features added
WO2021031879A1 (en) Optical communication device and information transmitting and receiving method

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: 18890908

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: 18890908

Country of ref document: EP

Kind code of ref document: A1