Team Status Report for Mar 26, 2022

Currently the biggest risk that I see facing the project is an issue where I think that there’s a possibility of the client-side server code not being able to handle a user receiving a diagram from another user until they perform an action as they are stuck in a loop in the code and they can’t leave it until they perform said action. This isn’t a risk yet as the code for the server and the code for the GUI hasn’t been combined yet but currently the best solution that I can see for this is having it such that only one user can send and modify images and the other users can’t as anything else would require quite the large shift of the current plan.

We haven’t really spoken about the use of a back button in our design but after some initial frustration with the current GUI layout we are going to add one. The current method of testing requires us to run the code and go to the desired app page and if we want to go backwards we need to close out of the window and relaunch it.

There have been no changes for the schedule of the project this week as everything is going smoothly.

We have added some additional layouts to the GUI and can even display what the computer camera can see.

Ronald’s Status Report for March 26, 2022

Personally this week I created two screens for the GUI for the application although I’ve been having some issues with centering the items on the page. One of the pages is for the person creating the room to go to where they get given a random entry number and the other is for the people not creating the room to go to where they must input a number.

Our progress is still on schedule I believe as we still have plenty of time to finish working on the frontend.

This week I will be attempting to integrate the application GUI code with the backend server code to create the option for multiple users to communicate with each other. I will also add a back button as moving through the pages can be annoying.

Team Status Report for Mar 19, 2022

What are the most significant risks that could jeopardize the success of the project? How are these risks being managed? What contingency plans are ready?

So far, a risk that we have discussed this week is the issue of our app not being able to recognize perfectly straight lines as lines, since people are generally not going to be able to draw completely perfect lines. We discussed the merits of a temporal approach, but decided against that because it would require the user to have a camera mounted over their drawing, and defeats the primary purpose of our project (since we’re trying to make the whole experience easier than having to make the diagram digitally). We then settled on a different solution, which is that the user can circle where the corners of the line are and the program would automatically draw a line between them. We also added a stretch goal of snapping a not completely straight vertical or horizontal line to be perfectly at 0º or 90º.

Were any changes made to the existing design of the system (requirements, block diagram, system spec, etc)? Why was this change necessary, what costs does the change incur, and how will these costs be mitigated going forward?

There are no updates to the schedule for our project. We did, however, add an additional design page for our GUI/frontend. This page will contain all of the received images of the user (up to a 100 images). Our example of what this would look like is below:

There will be an “Open Image” button, as shown in the last column, that the user can click on whenever they decide to open it. The image name is the name that was given by the sender. We also want to display the sender of the image so that the user can keep track of which image came from who, reducing the amount of external communication (the sender wouldn’t have to send a text to the user to notify that they were the one who sent the image). This also helps users keep track when multiple users are sending images to each other within one session. Currently, we’ve been working on our frontend/GUI and our code for vectorizing a diagram.

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.

Ronald’s Status Report for Mar 19, 2022

This week I spent working partly on the ethics assignment and partly reading the documentation for PyGUI and helping Lisa in the creation of a super basic frontend for the application. An image of what it currently looks like will be linked.

Our progress is currently still on schedule we have until the 9th of April to finish all of the GUI stuff and I believe that that should be enough time to get all of that done.

This week I hope to multiple working pages for the GUI instead of just the home page that doesn’t actually link to anything else.

Ronald’s Status Report for Feb 26, 2022

This week I haven’t done much of the writing I’ve been looking into PyGUI and trying to learn how it works so that in the following weeks I can help Lisa out in writing the GUI code for the program.

As of this moment we are still on schedule but the coming weeks will be much better for gauging how on schedule we are as right now it is just the beginnings of the next steps of the project.

Next week I would like to have a shell of what the GUI will look like, maybe it won’t be super interact-able but it’ll have the right looks or vice versa.

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.

Denise’s Status Report for Feb 19, 2022

This week I took a look at several algorithms to reduce the amount of points within a line such as the Douglas–Peucker algorithm, and the Visvalingam–Whyatt algorithm. The Douglas-Peuker algorithm has a faster runtime however the Visvalingam–Whyatt algorithm is more straightforward in terms of complexity, making it a viable back up. I also researched ways to convert an SVG file to an array of points and back such that the user can send their diagrams as SVG files to display to connected peers, but also be able to modify the primitives on their end which would be easier as an array of points.

I also worked on the use case, use case requirements, solution approach on the slides and mocked up the GUI using Figma. Currently we are on schedule. Next week I will be working with Lisa to finalize our vectorization approach and start writing code to convert files into SVGs. We will also be taking a look into how we can compare frames to subtract the lines drawn in previous frames using a temporal approach.

Team Status Report for Feb 19, 2022

This week a lot of the work done by the team was spent on getting the Design Proposal presentation. Sizable progress was then made on the sockets server for sending the code to various users.

The biggest risk that jeopardizes our project is currently converting the image to uniform lines and polygons within our latency requirement. Currently there are many lines generated by our CV software but in order to improve the usability of our project we need to reduce the lines such that we only have a single line for each connected component that the user drew. This would also make rendering more efficient since the software will not need to process as many lines. We are taking look into using temporal information ie having the user draw a line/polygon 1 by 1 and then hold it up to the camera after each line. We are also looking for algorithms that can simplify the number of points within lines. One backup plan is to take the image as a PNG and convert it to a SVG using potrace or a similar python library.

As of now there have been no changes to the current design of the system. The current schedule has been updated to look like this so that we can slot in some time for leniency.

Ronald got the server working and was able to test sending an image to Denise which works so in the coming week he is going to run more tests to see how long it takes for many different vectors to send and ensure that we are reaching our latency goal for the server.

This is why one of the risks is the server being slower than we would like because we will have to find some other way to send the svg files and not much research has been done into that.

Ronald’s Status Report for Feb 19, 2022

This week I begun the actual programming work on the server and was able to finish it a week ahead of schedule which allows us to slot in some leeway time into the overall project plan. Using sockets and some other python libraries I was able to send jpeg images and svg vectors to myself and while connected to my personal at home wifi I was able to send a jpeg to my roommate. Then I checked if it would work while connected to campus wifi and I was able to send a jpeg to Denise, my teammate.

The project is currently slightly ahead of schedule since the server software was finished quicker than anticipated but there is still the issue of integrating everything together but that will have to come later.

For next week I would like to do some testing on the latency of sending image vectors and would like to get some work started on the GUI for the application that users will use to send the actual images to each

other.