I did not get to do a lot of work this week because I was not in a very good condition for many days in the week. This week, I visited the lab several times to take photos of the edge cases (including when the poor quality photo, castling, and checkmate state) and test it. I added a helper to fully handle a castling move in our main file, and I updated test cases on castling for the chess game logic. There were some confusion on the coordinate since we changed our camera orientation, so I checked the coordinate conversion between function for consistency. I am planning on investing a lot more time on capstone for tomorrow and next week. I plan to go to the lab tomorrow to take more samples to test, and planning on working with everyone on finalizing integration.
Demi’s Status Report for 12/4
This week I mainly worked on making the full game work. I added a function for user to press the push button after moving for the AI, to allow our CV to compare two frames between the human player’s move. I added code for the human player to press the button at the start of the game to capture the initial board state. I also made some changes to how the LEDs light up and tested them. After human and computer players’ moves, we check for the game end state. When it is checkmate, all the LEDs light up in the color of the winner of the game, either red or blue. I also unified the paths for the captured and cropped images. There also was an issue with our new webcam setup and image orientation, which I fixed by rotating the images to the correct orientation before handing it over to the CV pipeline.
Next week I plan to do end to end testing and work on the final video and report.
Team status report for 12/04
This week we worked on finalising our integration and doing e2e testing. Yoorae worked on adding castling and correctness check to coordinate conversion. Demi and Anoushka worked on making the full game and retries work. Demi also added a push button for the user to press after moving the AI and Anoushka added logic to update the internal state after this.
We are on track and do not see any significant risks. We will be working on generating final metrics and writing the final report this week.
Anoushka’s status report for 12/04
This week was not very productive for me because I was very sick Sunday- Thursday. I managed to get some more testing done for CV, including figuring out timing and accuracy. I also added code to update the game state once the AI move is returned from stockfish. There were some issues with coordinates in stockfish vs our board and the orientation of our pictures with the new webcam stand, but it is done now. I also added skeletal logic for retries, which I will insert into the main codebase when Demi adds the push button for retries. Overall however, I am still on track and working on testing. I plan to test more e2e runs this week before the demo. I will also spend time on the final report and video.