Computing module, system, eye wear and computer-implemented method for determining location
Through the spectrophotometer and calculation module combined with accelerometer and Fourier transform technology, the problem of distinguishing indoors and outdoors in the absence of ultraviolet rays is solved, and accurate positioning detection under any time and condition is achieved to meet low power and small machinery requirements.
Patent Information
- Application Number
- CN202380027869.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-04-01
- Filing Date
- 2023-03-13
- Publication Date
- 2024-11-01
AI Technical Summary
The prior art is difficult to accurately distinguish indoor and outdoor environments at any time, weather and seasonal conditions, especially when the environment lacks ultraviolet rays, traditional ambient light sensors and ultraviolet light sensor combinations cannot work effectively.
A spectrophotometer is used to receive power density data of at least two spectral components, and the position of the optical device is determined through a calculation module. Combined with accelerometer and Fourier transform technology, the characteristics of artificial light sources are detected to achieve accurate discrimination between indoors and outdoors.
Accurately detect the position of eye wear under any conditions, meet the needs of low power and small mechanical volumes of smart frames, can identify specific artificial lighting patterns and set specific actions according to the patterns, improving the accuracy and reliability of positioning detection .
Smart Images

Figure CN118891497A_ABST
Abstract
Description
Technical Field
[0001] Various aspects of the present disclosure relate generally to the field of determining the positioning of an optical device. Background Art
[0002] Eyewear and glasses are examples of optical devices. Smart eyewear or glasses are a specific type of eyewear or glasses that include active lenses and an electronic module. The electronic module can control the active lenses. Active lenses are lenses whose physical parameters (e.g., transmission coefficient or reflection coefficient) can be modified as needed. Typically, active lenses are powered by electricity, and modifications to the current or voltage that powers the active lenses will modify these physical parameters.
[0003] Smart eyewear may also be used to determine the time a child spends outdoors (for myopia control purposes), or to enable specific features (e.g., for low vision, visual aids may be enabled only when outdoors). In this case, the smart eyewear may include conventional non-active lenses.
[0004] In order to collect data or adapt physical parameters, determine time spent outdoors, or enable specific functions, the eyewear needs to obtain information representing the environment surrounding the user wearing the eyewear. For example, the eyewear needs to know whether the user wearing the eyewear is indoors or outdoors.
[0005] This differentiation between indoors and outdoors can be achieved using an ambient light sensor (ALS) and / or an ultraviolet light (UV) sensor. However, this combination of sensors can only provide accurate differentiation when there is enough UV light in the environment. Therefore, this solution may not be suitable for all places and depends on the season.
[0006] Therefore, a new type of computing module or eyewear is needed that can accurately distinguish indoor conditions from outdoor conditions at any time of the day, in any weather and seasonal conditions, in any situation and location. Summary of the invention
[0007] A simplified overview is presented below to provide a basic understanding of the different aspects of the present disclosure. This overview is not an extensive review of all expected aspects, and is neither intended to point out the key or important elements of all aspects, nor to describe the scope of any or all aspects. The only purpose is to present some concepts of one or more aspects in a simplified form as a preface to a more detailed description presented later.
[0008] One aspect of the present disclosure is a computing module for determining the position of an optical device. The computing module is configured to: receive data representing the power density of at least two spectral components of light received by the spectrophotometer from a spectrophotometer of the optical device; and determine the position using the power density of the at least two spectral components.
[0009] The calculation module allows detecting the positioning of the eyewear, more specifically whether it is indoor positioning or outdoor positioning.
[0010] The calculation module allows at least three types of functions: 1. Strengthen the distinction between indoor and outdoor positioning 2. Detecting the user’s location based on the characteristics of the artificial light in which the user is immersed (office, home, etc.…) 3. Detection of artificial instantaneous light such as car lights Furthermore, the computing module meets the smart frame integration constraints, such as low power requirements and small available mechanical volume. It also provides a way to detect specific artificial lighting patterns to recognize the pattern and set specific actions based on the recognized pattern.
[0011] Another aspect of the disclosure is an eyewear. The eyewear includes a spectrophotometer and a computing module for determining positioning. The computing module is configured to: receive data from the spectrophotometer representing power densities of at least two spectral components of light received by the spectrophotometer; and determine positioning using the power densities of the at least two spectral components.
[0012] Another aspect of the disclosure is a system including an eyewear and a portable device. The eyewear includes a spectrophotometer. The portable device includes a computing module for determining a position fix. The computing module is configured to: receive data from the spectrophotometer representing power densities of at least two spectral components of light received by the spectrophotometer; and determine a position fix using the power densities of the at least two spectral components.
[0013] Another aspect of the present disclosure is a computer-implemented method for determining the position of an optical device. The method includes the steps of: receiving data representing the power density of at least two spectral components of light received by the spectrophotometer from a spectrophotometer of the optical device; and determining the position using the power density of the at least two spectral components. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] For a more complete understanding of the description provided herein and the advantages thereof, reference is now made to the following brief description taken in conjunction with the accompanying drawings and detailed description, wherein like reference numerals represent like parts.
[0015] Figure 1 Represents the system.
[0016] Figure 2 Represents an optical device.
[0017] Figure 3 Indicates eyewear.
[0018] Figure 4 Denotes augmented reality eyewear.
[0019] Figure 5 Represents an optical device including a removable clip.
[0020] Figure 6 Indicates the method used to determine positioning.
[0021] Figure 7 Indicates the ratio of cool / warm colors depending on the light environment.
[0022] Figure 8 Another embodiment of a method for determining a position is shown.
[0023] FIG. 9 - a to FIG. 9 - c show the Fourier transform of different light sources.
[0024] Fig.10 Another embodiment of a method for determining a position is shown.
[0025] Fig.11 Another way to express the method used to determine positioning is to say:
[0026] Figures 12-a to 12-c show the evolution of different parameter values under different circumstances. DETAILED DESCRIPTION
[0027] The detailed description set forth below in conjunction with the accompanying drawings is intended as a description of different possible embodiments, rather than being intended to represent the only embodiments that can implement the concepts described herein. For the purpose of providing a thorough understanding of the different concepts, the detailed description includes specific details. However, it is clear to those skilled in the art that these concepts can be implemented without these specific details. In some cases, well-known structures and components are shown in block diagram form to avoid blurring such concepts.
[0028] Figure 1 A system 101 is shown, which comprises an optical device 102 and a computing module 103 .
[0029] The optical device 102 includes a spectrophotometer 102-a and may also include a light sensor 102-b, such as an ambient light sensor (ALS) or an ultraviolet light sensor. A spectrophotometer is a device that accurately measures electromagnetic energy of light of a specific wavelength. In an embodiment, the optical device may include two light sensors 102-b, one being an ambient light sensor (ALS) and the other being an ultraviolet light sensor.
[0030] A spectrophotometer may be used, the two channels of which are used to determine the power density of the first spectral component and the power density of the second spectral component of the two spectral components respectively, being calibrated together. Thus, the ratio between the power densities will not depend on the spectrophotometer.
[0031] The power density may be obtained by integrating the power of the received light in the first spectral component and the second spectral component of the two spectral components.
[0032] The purpose of this calibration may be to make both channels have the same gain or detection sensitivity.
[0033] This calibration can be achieved by placing the spectrophotometer in front of a solar source.
[0034] To make calibration easier, both channels of the spectrophotometer can be implemented on the same die.
[0035] Once integrated into the sensor's housing, each channel is further calibrated to compensate for any remaining offset.
[0036] Therefore, when illuminated by the same light stimulus, the ratio between the powers of different channels will always be equal.
[0037] In some embodiments, the optical device 102 includes an accelerometer 102-c to detect acceleration of the optical device 102. The accelerometer 102-c may be part of an inertial measurement unit (IMU).
[0038] The computing module 103 may be a standalone module, such as a smart phone or a computer. The computing module 103 may also be a virtual machine located on a cloud network or a server that is not located at the same location as the user of the system 101 .
[0039] exist Figure 2 In the embodiment presented, the optical device 102 comprises a calculation module 103 .
[0040] The computing module 103 includes a memory 103 - a and a processor 103 - b .
[0041] Examples of processor 103-b include a microprocessor, a microcontroller, a graphics processing unit (GPU), a central processing unit (CPU), an application processor, a digital signal processor (DSP), a reduced instruction set computing (RISC) processor, a system on a chip (SoC), a baseband processor, a field programmable gate array (FPGA), a programmable logic device (PLD), a state machine, gated logic, discrete hardware circuits, and other suitable hardware configured to perform the various functions described throughout the present disclosure.
[0042] The memory 103-a is a computer-readable medium. By way of example and not limitation, such a computer-readable medium may include a random access memory (RAM), a read-only memory (ROM), an electrically erasable programmable ROM (EEPROM), an optical disk storage device, a magnetic disk storage device, other magnetic storage devices, a combination of the above types of computer-readable media, or any other medium that can be used to store computer-executable code in the form of instructions or data structures that can be accessed by the processor 303-a of the computing module 303.
[0043] Figure 3 An eyewear EY is shown as an example of an optical device 102. The eyewear EY includes two lenses L1 and L2, and a frame F. The frame F includes two arms or temples A1 and A2, and a front portion F1. The front portion F1 includes a right frame R1 and a left frame R2 connected together by a bridge B. The front portion F1 and the two arms A1 and A2 are connected using two hinges H1 and H2. The hinges H1 and H2 allow a user to fold the arms A1 and A2 along the front portion F1. The frames R1 and R2 of the frame F1 are configured to receive and hold the lenses L1 and L2. One or both of the lenses L1 or L2 may be electrochromic lenses, and the transmittance or reflectance on the electrochromic lenses may be controlled.
[0044] Figure 4 An augmented reality eyewear ARE is shown as another example of the optical device 102. The augmented reality eyewear ARE also includes two lenses L1 and L2, and a frame F. The frame F includes two arms or temples A1 and A2, and a front part F1. The front part F1 includes a right frame R1 and a left frame R2 connected together by a nose bridge B. The front part F1 and the two arms A1 and A2 are connected using two hinges H1 and H2. The hinges H1 and H2 allow the user to fold the arms A1 and A2 along the front part F1. The frames R1 and R2 of the frame F1 are configured to receive and hold the lenses L1 and L2. In addition, the augmented reality eyewear ARE includes a screen SCR, typically a see-through display or a transparent display.
[0045] exist Figure 5In the embodiment shown, the optical device 102 comprises a removable clip CLP. The removable clip CLP comprises a computing module 103, a spectrophotometer 102-a, a light sensor 102-b and an accelerometer 102-c.
[0046] The memory 103-a is configured to store a computer program comprising instructions which, when executed by the processor 103-b, cause the computing module 103 to perform a method for determining the position of the optical device 102. The method Figure 6 and includes the following steps: - receiving 501 from the spectrophotometer 102 - a of the optical device 102 data representative of the power density of at least two spectral components of the received light, - Using the power densities of the at least two spectral components to determine 502 a position location.
[0047] The step of determining 502 the location allows determining whether the optical device 102 is located indoors or outdoors.
[0048] In an embodiment, the computing module 103 is configured to determine the location using a model trained with a set of model data including power densities of at least two spectral components of light associated with the location (indoors or outdoors). The set of model data may include data related to the spectrum and data obtained from a weather station.
[0049] In another embodiment, the calculation module 103 is configured to determine the positioning further by determining a ratio of a power density of a first spectral component of the at least two spectral components to a power density of a second spectral component of the at least two spectral components, and comparing the ratio with a threshold.
[0050] The first spectral component of the at least two spectral components is between 400 nm and 535 nm, and the second spectral component of the at least two spectral components is between 536 nm and 704 nm. The threshold is between 0.5 and 0.7, for example, between 0.55 and 0.65, more specifically 0.6. When the ratio is higher than the threshold, the location is outdoor, and when the ratio is lower than the threshold, the location is indoor.
[0051] In other words, the visible spectrum is divided into two parts, the first group extends from violet light starting at 400 nm to green light ending at 535 nm, and the second group extends from yellow-green light starting at 535 nm to red light ending at 704 nm, and by applying the ratio between the irradiances of the first group and the second group, the cold and warm color index is set.
[0052] Figure 7Represents the ratio of cold / warm colors depending on the light environment (indoor or outdoor). The ratio represents an indicator for distinguishing whether the wearer is located outside or inside, more precisely for evaluating the topology of the outdoor environment (such as urban or non-urban) and the indoor light source (such as natural light source or artificial light source). The threshold of the indicator is defined within the range of a specific set of sensor integrations, the threshold being between 0.5 and 0.7, for example between 0.55 and 0.65, more precisely 0.6, above which it is considered as an indoor situation and below which it is considered as an outdoor situation. The value can also evolve using data provided by the user during feedback. Therefore, the value can be learned through use and data feedback, so that the correct distinction between inside and outside can be confirmed.
[0053] Figure 8 Another embodiment of a method for determining the positioning of the optical device 102 is shown. In this embodiment, the method further comprises the following steps: - receiving 601 from the light sensor 102 - b of the optical device 102 , second data representative of the time evolution of the amount of received light, - determining a Fourier transform 602 of the second data, - Determining 603 a frequency associated with at least one peak in the Fourier transform.
[0054] The step of determining the position 502 also uses this frequency.
[0055] In some embodiments, a sensor called a flicker detector is used. The sensor includes a light sensor 102-b and a dedicated computing module that is configured to: - receiving 601 from the light sensor 102 - b second data representing the time evolution of the amount of received light, - determining a Fourier transform 602 of the second data, - Determining 603 a frequency associated with at least one peak in the Fourier transform.
[0056] The step of determining the location 502 also includes comparing the peak frequency of the Fourier transform with a predetermined range. The predetermined range may be between 50 Hz and 150 Hz, and corresponds to the flicker frequency of most commercially available indoor light sources. Advantageously, the frequency range may be between 75 Hz and 125 Hz, for example, 100 Hz. When the frequency is within the predetermined range, the location is indoors, otherwise the location is outdoor.
[0057] In other embodiments, a plurality of frequencies are determined and compared to one or more predetermined frequency ranges.
[0058] In other words, detection of indoor or outdoor positioning can be achieved using a flicker detector. Most commercially available indoor light sources generate light via a series of pulses of a constant frequency or a frequency when harmonics are present, where the main frequency is high enough (usually >50 Hz) not to disturb the user due to retinal retention. If the frequency of these pulses is high enough, the user will not be disturbed by these pulses because human photoreceptors operate at lower frequencies. When the light is detected to have pulses, it can be considered with a high probability that the optical device 102 is located indoors.
[0059] Figure 9-a shows the time evolution of the light emitted by a halogen lamp without dimming using a dashed line and the Fourier transform of this time evolution at the bottom. The main harmonic of the Fourier transform is around 100 Hz with a relative amplitude of 185.
[0060] FIG9-b shows the time evolution of the light emitted by the halogen lamp under dimming using a dotted line, and the Fourier transform of this time evolution is shown at the bottom. The main harmonic of the Fourier transform is still around 100 Hz, with an amplitude reduced to about 135. In addition, the 2nd, 3rd and 4th harmonics with relatively low amplitudes due to the dimming mechanism of the halogen lamp are also shown.
[0061] Figure 9-c shows the time evolution of the light emitted by the LED light source using a dotted line and the Fourier transform of this time evolution at the bottom. The main harmonic of the Fourier transform is centered around 100 Hz and has an amplitude of about 175.
[0062] Using this embodiment, it is possible to detect whether the optical device 102 is close to an artificial light source. Using the frequency associated with the peak of the Fourier transform, the type of light source (halogen, LED, etc. ...) can also be determined. The spectrum associated with various scenarios can also be used to populate a database of spectrum signals for specific positioning. This database can then be used to distinguish different situations.
[0063] Adding the data from the spectrophotometer 102 - a to the Fourier transform of the signal received from the light sensor 102 - b enhances the detection capability by bringing more parameters to characterize the light source (eg, detecting a specific illumination based on its characteristic light pattern).
[0064] Fig.10 Another embodiment of a method for determining the positioning of the optical device 102 is shown. In this embodiment, the method comprises the following steps: - detecting 901 a modification of the amount of light received by the light sensor, And when a modification is detected, the following steps are performed: - Turn on the 902 spectrophotometer, - Determine 502 the position using the first data received from the spectrophotometer 102 - a and the second data received from the light sensor 102 - b .
[0065] The step of determining location 502 may be implemented as described above.
[0066] Fig.10 The advantage of the method is that the autonomy of the optical device 102 is maximized by minimizing the electrical consumption of the optical device 102. The light sensor 102-b (ALS) requires less power to work than the spectrophotometer 102-a. The light sensor 102-b is the only sensor that is always powered on. The spectrophotometer 102-a is turned off most of the time and is powered on only when the light sensor 102-b detects a modification in the measured light. As soon as a modification in the light environment is observed, the spectrophotometer 102-a is powered on to start acquiring data. The method may also include the step of modifying the wake-up threshold. For example, the wake-up threshold may depend on the percentage of increase or decrease in light received by the light sensor 102-b. For an increase greater than 25% or 50%, the spectrophotometer 102-a turns on.
[0067] In an embodiment, when the measured light is above a "light upper threshold," the light conditions are too abundant to be indoors, and thus, the spectrophotometer 102-a remains in a low-power or off mode to avoid additional power consumption.
[0068] The data from the light sensor 102-b and the ratio of cool / warm colors obtained from the spectrophotometer 102-a may be used in combination to detect whether the user is outdoors or indoors. Given the analysis of the light conditions, the algorithm may further detect whether the user is outdoors in an urban environment, in a clear landscape, or in low natural light conditions with artificial lighting. The decision algorithm may also detect whether the user is indoors in natural light, artificial light, or both. Artificial light may be detected by the ratio of cool / warm colors and enhanced by a method of obtaining a Fourier transform of the time evolution of the amount of light received by the light sensor 102-b.
[0069] Using the method of the present disclosure, it is then possible to detect the position of the wearer, more precisely whether he is in natural light and / or artificial light, in any season or weather conditions and location on the earth.
[0070] Differentiating between indoor and outdoor can also lead to detecting situations where the wearer may be in a vehicle, since car windows also cut off UV. However, UV spectral density information is not sufficient to detect this type of activity.
[0071] In this case, the use of the accelerometer 102 - c and specific algorithms that process the data from the accelerometer 102 - c allow for the detection of specific driving / transportation conditions.
[0072] To save energy, in an embodiment, the start condition triggers the turning on of the accelerator 102 - c and the acquisition and processing of data from the accelerator 102 - c .
[0073] The activation condition may be the detection of outdoor conditions provided by a ratio of cool / warm colors while detecting a reduced amount of UV radiation or an absence of UV radiation.
[0074] Fig.11 The method for determining the positioning of the optical device 102 is expressed in another way.
[0075] In some embodiments, computing module 103 is configured to use artificial light characteristics of a transportation vehicle (train, subway, airplane, wearer's own vehicle) to more accurately determine positioning.
[0076] In an embodiment, the computing module is configured to: - determine whether the user is driving or just in the car, - Use a flicker detector to detect oncoming opposing car lights. The intensity of the flicker signal can be compared with the intensity of a conventional light sensor. This conventional light sensor gives the absolute value of the photometric amplitude directed towards the user.
[0077] The dynamics of the signal from the flicker detector is directly linked to artificial light sources, while the data from the conventional light sensor includes all kinds of light. Therefore, the increasing or decreasing amplitude of the signal from the flicker detector can be compared with the dynamics of the signal from the conventional light sensor to detect oncoming car lights regardless of the amplitude of the outdoor natural light.
[0078] Using this embodiment, the optical device 102 can give the user the best optical contrast while driving, using, for example, active lenses embedded with specific filters (colored filters or tinted filters). For example, these filters will not be enabled until a light source that may disturb the driver is detected, resulting in clear glasses.
[0079] Given data from the ALS, spectrophotometer, and flicker detector, specific features of artificial light can also be detected. For example, the output of sensor fusion can lead to detecting whether a person inside is near a window or completely away from any window.
[0080] In an environment affected by a monochromatic environment, the ratio of cold / warm colors indicates an outlier. Therefore, using only a spectrophotometer it is possible to infer that an occupant is indoors.
[0081] Comparing the data from the ALS and the UV sensor can also detect the user's position relative to the sun. In fact, for most landscapes (except snow and sand), the reflectivity of UV is quite low, while the reflectivity of brightness is higher, so the ratio of brightness to UV can at least indicate whether the wearer is looking towards the sun or away from it.
[0082] Given the fusion of ALS, flicker detector and also spectral analysis, it is also possible to detect outdoor artificial light at night (total brightness is low but spectral signal from flicker detector is high).
[0083] According to an embodiment, the computing module 103 can detect a characteristic flicker of artificial lighting. Using this characteristic, it can then be detected that the user is outside with artificial lighting at night. The characteristic can be based on a specific spectrum corresponding to artificial lighting (such as neon / LED / incandescent lamps). As shown in Figure 9, the flicker detector can detect artificial lighting because the signal is modulated by a dimmer. Therefore, the flicker detector will detect a series of specific harmonics that will never appear in the case of natural light.
[0084] In some other embodiments, the method for determining positioning may be implemented in the following manner: - using, for example, an ALS to determine the amount of light received, When the amount of light received is above a threshold: - determining the ratio between the amount of UVA received and the amount of UVB received, When the ratio is greater than the UV ratio threshold, the user is located outdoors, and when the ratio is less than the UV ratio threshold, the user is located indoors.
[0085] More specifically, the ratio between UVA and visible light and / or the ratio between UVB and visible light can be compared to a UV ratio threshold. Using the ratio between UVB and visible light allows for better discrimination between indoor and outdoor conditions. The UV ratio threshold can be set to 0.005.
[0086] In another embodiment, the ratio is compared to a non-confidence range of UV ratio thresholds.
[0087] When the ratio is greater than the upper limit of the range, the user is located outdoors.
[0088] When the ratio is less than the lower limit of the range, the user is located indoors.
[0089] When the ratio is between the lower limit and the upper limit, the optical device 102 is configured to use a spectrophotometer and a flicker detector to distinguish between indoor and outdoor. For example, the flicker detector can measure a signal that matches artificial lighting and / or the spectral ratio obtained by the spectrophotometer has a value indicating indoor conditions or outdoor conditions. The flicker detector can also distinguish driving conditions.
[0090] In other embodiments, when the amount of UVA received is insufficient to obtain a meaningful UVA to UVB ratio but the amount of light received is above a threshold, the optical device 102 or the computing module 103 is configured to turn on the flicker detector and / or the spectral detector to assess whether it is outdoor conditions or indoor conditions.
[0091] In an embodiment, the method of determining the location comprises the following steps: - define a list of possible positionings characterized by situations (including indoor / outdoor situations, etc., see above), - associating each of these situations with values of a plurality of parameters. These parameters are parameters related to light level (e.g. obtained by the ALS and light sensor 102-b), ultraviolet light level (e.g. obtained by a UV light sensor), spectral light relative distribution (e.g. obtained by a spectrophotometer), flicker of light (e.g. obtained by a flicker detector), For flicker related data of the light data, the parameter may be defined as the ratio of flicker light / total light, or the flicker intensity for a specific frequency range.
[0092] For each of these parameters and for each case, the method comprises the step of assigning a probability curve giving the probability of having the current value of the parameter in a given case.
[0093] Figures 12-a to 12-c show the evolution of parameter values in different situations. In these figures, the blue curve shows the evolution of parameter values in daytime outdoor situations. The red curve shows the evolution of parameter values in nighttime driving situations. The green curve shows the evolution of parameter values in indoor situations.
[0094] Fig. 12-a shows the evolution of the probability of light level.
[0095] FIG. 12 - b shows the evolution of the probability of the ratio between the amount of scintillation light and the total amount of light.
[0096] Fig. 12-a shows the evolution of the probability of UV light level.
[0097] The method ultimately comprises the steps of summing the probabilities of each possible situation and deciding as the correct situation the situation that gives the highest total probability.
[0098] In other embodiments, the method is implemented by machine learning to learn how to associate parameter values with situations.
Claims
1. A computing module (103) for determining a positioning of an optical device (102), the computing module (103) being configured to: - receiving from a spectrophotometer (102-a) of said optical device (102) data representing power densities of at least two spectral components of light received by said spectrophotometer (102-a), - using power densities of said at least two spectral components to determine said position.
2. The calculation module (103) according to claim 1, The calculation module (103) is configured to determine the positioning further by determining a ratio of a power density of a first spectral component of the at least two spectral components to a power density of a second spectral component of the at least two spectral components, and comparing the ratio with a threshold value.
3. The calculation module (103) according to claim 2, - a first spectral component of the at least two spectral components is between 400 nm and 535 nm, - a second spectral component of the at least two spectral components is between 536 nm and 704 nm, - the threshold value is between 0.5 and 0.7, for example between 0.55 and 0.65, When the ratio is higher than the threshold, the location is outdoor, and when the ratio is lower than the threshold, the location is indoor.
4. The calculation module (103) according to any one of claims 1 to 3, The data is first data, The calculation module (103) is configured to: - receiving from a light sensor (102-b) of the optical device (102) second data representative of the time evolution of the amount of light received by the light sensor (102-b), - determining the Fourier transform of said second data, - determining a frequency associated with at least one peak in said Fourier transform, and - said frequency is also used to determine said position.
5. The calculation module (103) according to claim 4, The calculation module (103) is configured to compare the frequency with a predetermined range.
6. The calculation module (103) according to claim 5, The calculation module (103) is configured to: - detecting a modification in the amount of light received by said light sensor (102-b), - and when the modification is detected, the calculation module (103) is further configured to: - turning on the spectrophotometer (102-a), - determining said positioning using said first data received from said spectrophotometer (102-a) and said second data received from said light sensor (102-b).
7. The calculation module (103) according to claim 1, The calculation module (103) is configured to determine the location further using a model trained with a set of model data, the set of model data comprising power densities of at least two spectral components of light associated with the location.
8. An eyewear (EY) comprising a spectrophotometer and a computing module (103) for determining the positioning of the eyewear (EY), the computing module (103) being configured to: - receiving from said spectrophotometer (102-a) data representing power densities of at least two spectral components of light received by said spectrophotometer (102-a), - using power densities of said at least two spectral components to determine said position.
9. A system (101) comprising an eyewear (EY) and a portable device, The eyewear (EY) comprises a spectrophotometer (102-a), The portable device comprises a computing module (103) for determining the positioning of the eyewear (EY), the computing module being configured to: - receiving from said spectrophotometer (102-a) data representing power densities of at least two spectral components of light received by said spectrophotometer (102-a), - using power densities of said at least two spectral components to determine said position.
10. A computer-implemented method for determining a position of an optical device (102), the method The following steps are involved: - receiving (501) from a spectrophotometer (102-a) of said optical device (102) data representing power densities of at least two spectral components of light received by said spectrophotometer (102-a), - determining (502) said position using power densities of said at least two spectral components.
11. The method according to claim 10, The step of determining (502) the positioning include: A ratio of a power density of a first spectral component of the at least two spectral components to a power density of a second spectral component of the at least two spectral components is determined, and the ratio is compared to at least one threshold value.
12. The method according to claim 11, - the first spectral component is between 400 nm and 535 nm, - the second spectral component is between 536 nm and 704 nm, - the threshold value is between 0.5 and 0.7, for example between 0.55 and 0.65, - When the ratio is above the threshold, the location is outdoor, and when the ratio is below the threshold, the location is indoor.
13. The method according to any one of claims 10 to 12, The data is first data, The method also The following steps are involved: - receiving (601) from a light sensor (102-b) of the optical device (102) second data representing the time evolution of the amount of light received by the light sensor (102-b), - determining a Fourier transform of said second data (602), - determining a frequency associated with at least one peak in said Fourier transform (603), The step of determining the position (502) also uses the frequency.
14. The method according to claim 13, The method also The following steps are involved: - detecting (901) a modification in the amount of light received by said light sensor (102-b), And when the modification is detected, the computing module is further configured to perform the following steps: - opening (902) the spectrophotometer (102-a), The step of determining the position (502) also uses the first data received from the spectrophotometer and the second data received from the light sensor.
15. The method according to claim 10, The step of determining (502) the location also uses a model trained with a set of model data including power densities of at least two spectral components of light associated with a location.
