New approach

Sketching for the new ideas, was quick since now we had a goal that we strived for. In the end we continued with out last sketch with the wrist control, but from different angle. Instead of having two wrists on the same person, we decided to implement someone’s else wrist. Basically if two or more people are in the frame it takes two random right wrists and it counts the distance between them.

New idea – sketches

But then we switched to add another factor that can not be controlled sometimes by intention. The brightness of the room. From out tinkering we already had a previous working code that detected the brightness of the room. Now the next challenge was to connect both sketches together. The problem was mostly since they were working on different bases. One was detecting the poses through a library and the other one was working based on pixels and frames. Also we wanted them to be connected with data that can be used as a condition for the detection in the poses.

In the first part of the code it, detects the bright pixels in the frame. It counts out the data and it gets processed through few functions until we get to the range of people.

Then that range of people is used to question whenever the amount of people required to show up on camera is fulfilled. After it is confirmed and the last person has some kind of movement, it takes coordinates of left ear and left wrist from random people within the frame and calculates the distance according to it.

In the end since we were running out of time, we decided to manipulate the colour of a div, with the processed data. If we had more time we might have been able to create better interaction experience overall.

Leave a comment