摘要:
An electronic device according to various embodiments comprises: a distance sensor; a first camera; a second camera having a different angle of view from the first camera; and at least one processor, comprising processing circuitry, wherein at least one processor, individually and/or collectively, may obtain a photographing request, obtain, from the distance sensor, a distance between a subject included in an angle-of-view area of the distance sensor and the distance sensor in response to the photographing request, determine the first camera to be used for photographing on the basis of the distance to the subject, and photograph the subject on the basis of a region of interest (ROI) of the distance sensor that is set on the basis of the determined angle of view of the first camera and the distance to the subject.
摘要:
An electronic device includes a housing including a front surface and a rear surface; a display provided in the housing and exposed through the front surface of the housing; an illuminance sensor provided below a sensor area in an active area of the display, the active area being an area of the display in which visual information is to be displayed; and a processor connected to the display and the illuminance sensor, wherein the processor is configured to: determine an illuminance value based on data received from the illuminance sensor; obtain color information of an image displayed in the active area; determine a first color value of the active area and a second color value of the sensor area based on the color information; adjust the illuminance value based on the first color value and the second color value; and configure a luminance of the display based on the adjusted illuminance value.
摘要:
An electronic device is provided. The electronic device includes a housing including a front surface and a rear surface facing, a display exposed through a portion of the front surface, an illuminance sensor disposed between the display and the rear surface to overlap an area of the display when viewed from above the front surface, a processor positioned inside the housing and operatively connected with the display, and a memory positioned inside the housing and operatively connected with the processor, wherein the memory stores instructions configured to, when executed, enable the processor to receive first illuminance data measured using the illuminance sensor, identify display parameter information associated with the first illuminance data, obtain second illuminance data based on at least a part of the display parameter information and the first illuminance data, and adjust a brightness of the display based on at least a part of the second illuminance data.
摘要:
An electronic device and method utilizes an external sensor group to facilitate miniaturization the device and repair/replacement of external sensors. An interface connected to an external sensor package including at least one sensor. A processor that when the external sensor package is connected through the interface, determines from which group the external sensor package is included in among pre-configured groups and controls the performance of a function corresponding to the determined group.
摘要:
An electronic device and method for fingerprint authentication are disclosed. The electronic device may include a sensor unit including a first sensor area for detecting a fingerprint via a swipe operation and a second sensor area for detecting the fingerprint via a touch operation, and at least one processor, which may implemented the method. The method may include detecting a touch input to the sensor unit and activating one of the first sensor area and the second sensor area according to whether the touch input is the swipe operation or the touch operation, and storing fingerprint information obtained through the activated first sensor area or second sensor area.
摘要:
A gesture recognition method and apparatus are provided. The gesture recognition method includes extracting one or more vector values from an input gesture; generating a pattern of a vector based on the extracted one or more vector values; comparing the generated pattern to one or more patterns of stored vectors; and determining a type of the input gesture based on the comparing.
摘要:
Various embodiments of the disclosure relate to a device and method of controlling an optical sensor module in an electronic device. The electronic device includes: a housing: a display disposed in an internal space of the housing to be at least partly visible from outside through the housing and including a plurality of signal lines; an optical sensor module disposed in the internal space below the display and overlapping the display, and including a first light emitting element overlapping a first signal line of the display, a second light emitting element overlapping a second signal line different from the first signal line of the display, and a light receiving element configured to collect light from the first light emitting element and/or the second light emitting element that is reflected and received from an external object; and a processor operatively connected to the display and the optical sensor module. The processor is configured to control the first light emitting element based on an off-time point of time of the first signal line corresponding to brightness of the display such that the first light emitting element emits light at a first light-emitting point of time, and to control the second light emitting element based on a time difference between off-time points of time of the first signal line and the second signal line such that the second light emitting element emits light at a second light-emitting point of time different from the first light-emitting point of time.
摘要:
Provided is an electronic device. The electronic device includes a housing that includes a front side and a back side, a display, an illuminance sensor overlapping at least one active area of the display in a top view from above the front side, at least one processor, and a memory. The memory stores instructions that, when executed, cause the at least one processor, while the display is in operation, to change a brightness of a screen displayed on the display, to identify display parameter information associated with the changed brightness, to set a measuring time of the illuminance sensor, based at least partially on the identified display parameter information, to acquire raw data measured during the measuring time by the illuminance sensor at a specified period, to generate intermediate data using the acquired raw data, and to calculate an illuminance value using the generated intermediate data.
摘要:
Various embodiments of the disclosure relate to a proximity-illuminance sensor and an electronic device including the same to increase the accuracy of the illuminance sensor and addressing crosstalk issues. According to an embodiment, an electronic device comprises a transparent member, a scattering member disposed under a portion of the transparent member to scatter light incident at a designated angle from an outside of the electronic device through the transparent member, a light receiving element disposed under the portion and configured to obtain scattered light which is scattered by the scattering member from at least a part of incident light, and a control circuit configured to determine a brightness of the incident light based on, at least, the scattered light obtained through the light receiving element. The electronic device may be implemented in various manners according to embodiments of the disclosure.
摘要:
An electronic device and method utilizes an external sensor group to facilitate miniaturization the device and repair/replacement of external sensors. An interface connected to an external sensor package including at least one sensor. A processor that when the external sensor package is connected through the interface, determines from which group the external sensor package is included in among pre-configured groups and controls the performance of a function corresponding to the determined group.