摘要:
A method and apparatus for counting the steps taken by a walker is provide. The method includes detecting an acceleration value generated by a step taken by a walker at every first stated interval, calculating a standard deviation of detected acceleration values at every second stated interval, determining a walking mode corresponding to the calculated standard deviation among first through Nth walking modes as a walking pattern of the walker, in which N is a positive integer that is larger than 1, checking if there is at least one absolute value that is larger than a threshold acceleration value corresponding to the determined walking mode among the absolute values of the detected acceleration values, and incrementing a count value as a step taken by the walker if there is at least one absolute value that is larger than the threshold acceleration value among the absolute values of the detected acceleration values.
摘要:
A method and apparatus for counting the steps taken by a walker, where the method includes detecting an acceleration value generated by a step taken by a walker at every first stated interval, calculating a standard deviation of detected acceleration values at every second stated interval, determining a walking mode corresponding to the calculated standard deviation among first through Nth walking modes as a walking pattern of the walker, in which N is a positive integer that is larger than 1, checking if there is at least one absolute value that is larger than a threshold acceleration value corresponding to the determined walking mode among the absolute values of the detected acceleration values, and incrementing a count value as a step taken by the walker if there is at least one absolute value that is larger than the threshold acceleration value among the absolute values of the detected acceleration values.
摘要:
A method of calibrating a compass sensor in consideration of a magnetic environment is provided. The method includes (a) acquiring magnetic force data by rotating a compass sensor 360 degrees, the compass sensor including a biaxial magnetometer, (b) fitting the acquired magnetic force data to an ellipse function, (c) transforming the acquired magnetic force data and the ellipse function into a circle which is centered on an origin, and (d) calculating a distortion factor based on an inclination of a major axis of the ellipse function or the acquired magnetic force data to a horizontal axis, the distortion factor indicating the degree to which a magnetic field is distorted.
摘要:
An apparatus and method for providing content is provided, which performs a web service initialization through a provided local offline web server and manages a plurality of content provided through a multithreaded web service. The apparatus for providing content includes a communication unit receiving one or more sets of content; a thread creation unit creating one or more threads that are given to the content to process a work; and a page creation unit having a frame per thread and creating an image page for playing the content on a web browser.
摘要:
A method of calibrating a compass sensor in consideration of a magnetic environment is provided. The method includes (a) acquiring magnetic force data by rotating a compass sensor 360 degrees, the compass sensor including a biaxial magnetometer, (b) fitting the acquired magnetic force data to an ellipse function, (c) transforming the acquired magnetic force data and the ellipse function into a circle which is centered on an origin, and (d) calculating a distortion factor based on an inclination of a major axis of the ellipse function or the acquired magnetic force data to a horizontal axis, the distortion factor indicating the degree to which a magnetic field is distorted.
摘要:
An apparatus and method for providing content is provided, which performs a web service initialization through a provided local offline web server and manages a plurality of content provided through a multithreaded web service. The apparatus for providing content includes a communication unit receiving one or more sets of content; a thread creation unit creating one or more threads that are given to the content to process a work; and a page creation unit having a frame per thread and creating an image page for playing the content on a web browser.