Deeplens: My deeplens was working at one point, and it didn't the next day. The ubuntu auto update feature is neat, until it breaks :) Also: it took me a while to figure out you can run multiple lambda functions at the same time on the Deeplens. Mind blown!
Privacy issues (setup timing and control): A coworker asked if he/she could be excluded from the test. I understand the implications. Fortunately, this was just a POC and for fun, but it did spark a good conversation and discussion about Privacy concerns with these kinds of technologies. We ended up setting a timer so that the detection is only done between 08.00 and 10.00.
Slack API (timeout is very short): I learned the hard way that you have to reply in the Slack api within a couple milliseconds, or it does not work. I ended up calling another call asynchronously to get everything working correctly.
Polly: I have the generating of mp3's ready, I can play these locally just fine. I haven't figured out yet how to play these on the DeepLens itself.
Accomplishments that I'm proud of
It works! It's really cool to see all the lambda functions trigger each other and do their thing, without running any servers. Really awesome stuff!
What I learned
- Slack API
Make S3 upload async: Currently the S3 upload is blocking, which on itself is fine, as it won't upload a gazillion images of the same person. But it does lock up the stream momentarily. I envision just writing the files to a local (tmp) folder somewhere, and have another lambda function upload those, or even better: detect faces on the device directly.
Don't trigger multiple times: Whenever a person walks by the camera slowly, or walks back within a minute, you'll get multiple postings to Slack. I want to add a feature where it's storing the last datetime a person was detected in Dynamo, and whenever we see that person again within X time, don't post to slack.
Do face detection on device: Would be really nice if I have the time to make this work directly on the device.
Make Slack app public: Currently you need to setup your own "dev" slack app to get the integration to work. It would be nice if I can publish my app, and I can just point to the right App.
Add Amazon Polly: I have been working on the Polly api, I have the generating of the mp3's working, but I currently haven't found a way to play the mp3 on the deeplens. I have some speakers available ;)
Mark a person as 'active': Currently, it's not allowed to mark a person as active through the slack api without getting explicit permission from the user itself. Seeing as I didn't want to intrude my fellow co-workers, this hasn't been added yet.
Mark a persons status: Same as above, the end users need to approve of this individually. It would be nice if we could mark the current office location in their status.