Showing posts with label activity tracker. Show all posts
Showing posts with label activity tracker. Show all posts

Thursday, November 21, 2019

Using an Activity Tracker as a Wireless Key


You don’t even need to say Open sesame!

Many of us wear an Activity Tracker (AT) most of the working day, partly because we have thrown our watches away! The ATs communicate with our cell phones by Bluetooth. We usually also carry our cell phone on our person. Women tend to carry purses or small handbags and put their cell phones in them. There is enough technology in the world to create a secure locking mechanism to enable the presence of these two devices to open an electronic lock on our door and to help us login into our computing devices. The cellphone and AT form a fine pair, complementing each other. One can put in special hardware such as a chip containing a private key into the AT. It would be difficult to hack such a system. The cell phone can come from any one of several manufacturers. It can run apps, display an invoice, and verify the user by finger print, face recognition or a PIN.  The cell phone also can use the WLAN and the cellular network.

The proposed system requires careful design if it is to be reasonably secure. Let us anticipate possible problems.

Firstly, the fact that I am inside the house should not open my front door to all and sundry. There must be a distance limiting mechanism which prevents the electronic key working beyond one metre or so. The front door should recognize me only if I am close to it and outside the house. The system should work only if I had identified myself to my cell phone within the previous 24 hours by entering a PIN or by my fingerprint or face recognition. Otherwise it should issue an alert.  If I move away from my Laptop, the system should not log me out, but temporarily lock up my keyboard and shut down the display till I return, when it should turn these on again.

The system should have good enough cryptographic protection to ensure that the chances of my door and laptop being opened by some stranger’s AT should be negligible. Ideally, the system should enable me to share it with my family members. The system should be resistant to hacking.

It would be valuable if a log is maintained on my cell phone or on the cloud showing a record of each time any of my locks was opened by the system. A bonus would be a photo record of every person who entered my home or used my Laptop.

The next step could be to extend the use of this system to make e-payments at POS terminals, and over the Internet. One way would be to equip each AT with a chip that encrypts text strings involved in transactions with my private key. Anyone with my ID string associated with that text string should be able use my public key and decrypt that text string.

The security mechanism should ideally be common to all credit cards and debit cards one uses. One should be able to create a common book-keeping mechanism to build a common account of all expenses incurred through this mechanism.

Widespread use of this mechanism should reduce risks in the payments industry. It should also significantly reduce processing costs, besides opening the doors for new entities to compete with the traditional “card issuers”.
Creating a cryptographically secure mechanism like the one described above for authenticating oneself over the web is essential. With Internet giants such as Google Inc buying AT companies, one can anticipate some developments like this. What would this imply for the world of business? How would it impact the credit card and debit card issuers? What would it mean for banks and their customers?  How can a company prepare itself to be a front-runner in the use of this technology?     
Srinivasan Ramani


Thursday, June 02, 2016

A Computer Vision Challenge

Some people type into some food log a list of items they ate and get an estimate daily calorie intake. Some, find it impractical. My daughter says that she would like her activity tracker look at her plate of food at each meal and update its log! I thought it was crazy to ask for that when I heard it two years ago. I am wiser now, and think this can be achieved by a number of steps of innovation. As a first step, I announce this challenge, named Preethi’s Challenge in honor of the original thinker!


1.   The challenge is to recognize the items and quantities of food from their photographs. I visualize that you would use a tablet to take the picture and run the app on the same device. However, you are free to do it any other way, like using a webcam or a smart phone for picture taking and a laptop to run the app.
2.   If you have bought ready-to-eat food and its container has a bar code to identify it, the app is welcome to scan it and use the info.
3.   The app would use pictures with training information entered into “learning software” that will use machine learning techniques to recognize the food item and estimate its quantity and calorie content.
4.   You will train the app, giving it photographs of named objects annotating them with weight and information like calories/hundred-grams. Don’t worry about the training effort. Training one app would serve millions of users who are going to use copies of that app!
5.   You can use a standard plate of known diameter.
6.   You could also have only one item of food on the plate at a given time (at least at the start of the project).
7.   A good solution is to have the photographs taken by looking down, say at 45 degrees below the horizontal. This would give information about the item of food in X, Y and Z dimensions. The plate’s outline provides information on the scale. If the app finds it difficult to estimate calories from that photograph, it could ask you for a second photograph taken from another angle.
8.   The app should calculate the calorie content to some reasonable accuracy, say 10%.
9.   You can allow the app to ask for additional information when it finds it necessary, for instance, when it sees a plate with vegetables. It could ask, say, if it is boiled potatoes.
10.If you want to cheat, you could use a small plate that sits on a kitchen weighing device showing the total weight in digital form. Your app should recognize the numbers.  It could of course use stored information on the weight of the plate and deduct that.
11.You can make a second version of the app, which should take in more complex photographs, say with multiple food items, to make the app easier to use.

One last word: Use every trick you can think of to make this an easy-to-use app. Technology alone may not provide the best solution!

Saturday, February 06, 2016

Possible risks in using LED light to monitor your heart rate Post No 2

I had written a post in this blog about possible skin-cancer risk posed by LED radiation used by activity trackers to monitor heart rate. Visit http://newstudentresearch.blogspot.in/2015/12/possible-risks-in-using-led-light-to.html  Today, my wife and I took a photograph of the tanned spot the tracker has created on my wrist. I notice that there is damage to the skin - it is not mere tanning. See the photograph below.