Lisa’s Status Report for April 23, 2022

This week, I was able to get the whiteboard working so that it could now take in the camera feed as input and vectorize it. It detects the lines using computer vision, which then gets passed into the vectorizer to produce the output that we see in the whiteboard. Originally, without the computer vision method, the vectorized image was showing up as several smaller lines (as I showed during the demo on Monday), but I fixed the issue using computer vision to detect the lines beforehand.

I also created a “Erase all” feature that erases the entire whiteboard, and a “group lines” feature. The “group lines” feature will group together all the lines that the user selects into one line.

The biggest accomplishment this week was getting both rotating and scaling to work. The video below shows how it works. I can’t upload a video but we will be showing a video of the feature during our presentation in the coming week. One issue that doesn’t have to do with functionality but more user usability is that you cant drag too fast, otherwise the GUI will not be able to update the line fast enough to keep up with the mouse clicks. I will try to modify this next week

Finally, I worked on the presentation slides for this week, mainly the vectorizing part of the solution approach, and providing an updated schedule.

Next week, in addition to working on the issue I mentioned earlier, I’ll also work on integrating my code with Denise and Ronald’s and work on some of the stretch goals. So far, we are on schedule.

Lisa’s Status Report for April 9, 2022

This week I implemented function that took a parsed SVG file (which Denise wrote the code for) and drew lines on the whiteboard. The function takes in a list that consists of the line endpoints and also parses the parsed SVG file to obtain the width and height of the image by extracting the values from the second line of the SVG file. I also wrote code that simply displays the vectorized image on the whiteboard for now, but would like to replace it with code that allows translation of the elements (and also only displays lines and polygons).

We had to modify the schedule a bit for now, which we discussed during the demo on Monday. Next week, I hope to complete integrating the SVG parser with the code for creating translatable and scalable elements on the whiteboard.

Lisa’s Status Report for April 2, 2022

This week I worked with Denise on combining vectorization logic with the GUI. We also discussed on how to handle identifying lines as straight lines, and ended on the solution of handling it by letting the user identify which lines should be straight after processing the image.

We are a little behind schedule. One setback this week is converting the vectorized SVG file to something that can be displayed on the whiteboard on the GUI. We’ll have to parse the SVG file and use the GUI interface to display the objects on the whiteboard. For now, we’re trying to stick to just getting lines to show up on the whiteboard for the demo, and we’ll try to work with other shapes in the coming weeks. We’ve made a lot of progress on this setback though, and should be able to get back on track by next week.

Next week, we want to be able to be able to complete a full vectorize-to-GUI pipeline. We also want to try to implement sending and receiving vectorized images between users within the GUI.

 

Lisa’s Status Report for March 26, 2022

On Monday, I went to the ethics discussion during class. Prior to the ethics discussion, I had completed the ethics paper and done the two required readings. During class, we thought of and discussed ethical issue with different teams’ projects.

We are on schedule so far. This week, I mostly worked on the GUI/frontend, particularly the whiteboard portion of it. An image of the what the whiteboard UI looks like right now is shown below.

On the left is the whiteboard, which will contain the vectorized imaged. On the right there is a title that says “Camera Feed” and 3 buttons: “Receive”, “Send”, and “Vectorize Image”. The user can click on the “send” button to send the contents of the vectorized image to another user. The “receive” button can be used to check for any received messages in the inbox. And the “vectorize image” button will be used by the user once they are ready to vectorize the image that they are holding up.

Next week, I want to be able to actually display the vectorized contents of the image on the whiteboard. Once Ronald implements being able to create and host a session through the GUI, we will then try to implement being able to send and receive messages. We will try to get started on a basic UI framework for the user’s inbox.

Lisa’s Status Report for Mar 19, 2022

This week, I worked with Ronald on the GUI frontend for the project. Specifically, I read the PySimpleGUI documentation and created a very basic home page for the GUI. I’ve attached an image of what it looks like below.

Ronald and I then discussed how to split up the basic frontend of the GUI, and what we aimed to accomplish for the GUI by Monday. I’m in charge of also making the whiteboard interface for the GUI (including the send and review buttons on the whiteboard)

So far, our progress is on schedule. Next week, Ronald and I would like to get most of the functional aspects of the GUI done (we’ll focus on making it more user-friendly and aesthetic in the week after). Specifically, the main things we want to get done next week are developing the whiteboard interface for the GUI and ensuring that we can start a server session through the GUI.

Lisa’s Status Report for Feb 26, 2022

This week I mainly focused on the design presentation. I was the presenter for the design review presentation, so I also spent a few hours preparing and practicing for the presentation on Wednesday. For the presentation slide deck, I mainly worked on the image filtering portions (like OpenCV and line detection), modified the Gantt chart, and added helpful visuals as well. While preparing for the presentation, I spoke with both Denise and Ronald on the aspects of the project that they were more familiar with (like the image vectorizing and the sockets software)

For the actual implementation of the project, I looked into alternate approaches for line detection in the image filtering/vectorizing aspect (as opposed to relying on the hough detection algorithms in OpenCV, which weren’t as reliable) of our project and discussed them with Denise. I also looked into PyGui so that Ronald and I can start working on developing the user interface starting next week. We also intend to get a basic framework up by the end of next week for the user interface. So far, we are on schedule.

Lisa’s Status Report for Feb 19, 2022

This week, I worked on developing code for the computer vision section of the project – mainly, line detection. Denise and I discussed the intersection between what the computer vision algorithm would output and what the vectorizing code would need in order to vectorize the individual lines. We settled on an implementation that allows the computer vision code to send a list of line endpoints to the vectorizing code that she will develop. I also noticed that my current code for line detection occasionally classified one line as two different lines – one thing I will have to work on next week is fine tuning parameters to ensure that lines don’t get double counted. Part of this lies in the cv2.houghLines() function in my code and the parameters it takes in, but it also will also require further checks in the algorithm. I’ve also worked in the presentation for the design proposal this week. So far, we are on schedule.

Lisa’s Status Report for Feb 12, 2022

For this week, my team and I mostly worked on the Proposal Presentation.

For the presentation, I worked on creating visuals, such as one that illustrated how our application worked, and another that served as a block diagram that demonstrated both the different technical components of our project and the associated latencies. I also did research on the different use case requirements for the computer vision portion of our project, and thought of different technical challenges that we could encounter. I also created the Gantt chart in our presentation and set up the project website.

I also started working on writing a line detection program in Python using OpenCV. Next week, I hope to complete a basic functioning line detection program, and perhaps get started on detection lines that are not as straight (since our project will be dealing with hand drawn lines).