← concepts · the commons
phone screen
2 moment(s) that assert this concept — showing 1–2 of 2
single sourceRests on a single channel — treat as a lead, verify independently
↣ how this spread over time →atomic14 · youtube
1The phone screen is located by identifying the brightest object in a greyscale image using a pixel threshold and filtering by aspect ratio and size.
“The brightest object in the image should be the phone so we apply a simple threshold to each pixel of the image. This gives us blobs of pixels that could be the phone. We examine each of these blobs and create a rectangle that approximates the shape. We then filter out any shapes that are the wrong aspect ratio or are too small. The largest one that remains should be the phone screen.”
spoken · 135s · 2022-02-21
atomic14 · youtube
2Once the screen and printer bed are located, the robot can map coordinates from the phone screen to the image for keyboard key localization.
“Since we know the size of the phone's screen and we now have the corners of the screen in the image we have enough information to create a transform from points on the phone screen to points on the image. This transform lets us locate where the grid boxes and the keyboard keys are in the image.”
spoken · 164s · 2022-02-21