Bbabo NET

Science & Technology News

The craftsman has assembled a robot that guesses words for him in Wordblitz

The craftsman presented a robotic plotter that independently plays Wordblitz and finds new words. The project is written in Python, and Raspberry Pi and the OpenCV library are used for the machine vision system.

The details of the plotter itself are made of MDF and cut with a laser cutter. The device has only two degrees of freedom, which allow you to move the manipulator along the plane of the smartphone screen. The tip of the manipulator is a regular ballpoint pen with a piece of cotton wool and foil at the end. The device can be improved by replacing the pen with a regular stylus.

The Raspberry Pi microcomputer with a branded camera is responsible for recognizing the playing field and letters. To accurately and quickly detect a smartphone, the developer used a frame of ArUco markers. The software part of the robotic plotter is written in Python using OpenCV. The system reads the field, finds words on it, and then sends commands to the plotter, which presses the tiles with letters in the required sequence.

The developer noted that the device works with some errors and does not always correctly detect letters. For example, if you place the phone with a large inclination, then the letters will be determined incorrectly, and the plotter itself makes a lot of unnecessary movements and does not look for the most optimal path to each tile.

The source code of the project and detailed recommendations are published in an open repository on GitHub. It is important to note that the system is designed for the French language and to work with other languages, you need to connect separate dictionaries.

The craftsman has assembled a robot that guesses words for him in Wordblitz