Team Status Report for April 23, 2022

The most significant risks are not being able to get the SVG writer working because in order to integrate all of the vectorization and the communication we need to be able to write the components out in an SVG file to send to connected peers since SVG files send faster than JPEGs and PNGs. This method involves looping through all of components and writing out in the SVG format. We do not project this to be a very high risk since it’s a matter of parsing through information and writing out as a string in a particular format.

We did not change our design much but we did add additional steps that were unaccounted for in our original design including cropping the image to remove the background and adding features for moving points individually as well as grouping lines together.

Here is our current schedule.

Team Status Report for April 16, 2022

The most significant risks are not being able to get the SVG parser completed in time since that’s going to be an important part of the project as we need to be able to translate and resize the parts on the screen. We’re working on that and are going to have two people working on that to make sure that we can get it done but we need to be able to get obtain the piece of paper from the picture first before it works.

We had a change that there was no longer a need to add a feature that allows users to specify which other users they’re sending the image to instead of just sending it to everyone at once. We decided to cut it since there was no elegant way to implement it with our current implementation of everything else. This wasn’t a very important part of our project though as it wasn’t even on the design report.

We are really close to being able to obtain the piece of paper from the image and from there we should be able to get the SVG parser working.

Team Status Report for April 9, 2022

Currently, the most significant risk remains similar to that of last week’s, which is the method that we use to display the different components of the SVG file on the whiteboard such that we can also be able to edit them. Our current solution for that is to parse each line of the SVG file into either a line or polygon, and then use a PyGUI library to display the line or polygon onto the whiteboard, adjusted for proportions.

A change that we had to make was that we want to be able to edit out the background whenever a user holds up a piece of paper up to the camera, so that the background doesn’t get vectorized and added to the SVG file. No additional costs will be incurred because of this added feature.

We are on track. We were able to make good progress on converting the SVG file into editable components and should be able to complete that next week. We were also able to get sending an SVG through the GUI working and will work on the receiver code in the coming week. Next week we also hope to fully integrate our SVG parser with code to display objects on the whiteboard, and also make some progress on eliminating the background when a user holds up a drawing for the app to vectorize.

 

Team Status Report

The most significant risk as of now is identifying an efficient method to display the different components of the .svg file onto the whiteboard. We need to display the components in such a way that it is easy for a user to edit each component individually. Current methods and our backup plan involves taking each independent object and outputting each one as a separate .png file onto our whiteboard. We could also write our own parser to iterate through the objects of a .svg file and draw each component as it’s individual object. More research will need to be done to decide on a method.

The biggest change we may make is that we may implement the goal of straightening lines as a feature on our GUI such that the user can explicitly mark which lines they would like to be straight in order to reduce the complexity of the computer vision algorithm on the pre processing side. This will incur no additional costs.

We are a little behind however there have been no changes to our schedule since we are aiming to get back on track by the end of this week.

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.

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.

Team Status Report for 2/26

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?

The most significant risks currently are ensuring that the images can be vectorized efficiently since the latencies have not currently  been tested although it looks promising since the algorithm Vtracer uses also includes line simplification which would reduce the number of point per primitives. If Vtracer is not fast enough then we will also consider PoTrace or and reverting back to vectorizing with Computer Vision using a temporal approach

System Design Changes:

This week we pivoted our design to do our vectorization on the software side with the help of Vtracer, a Python .PNG to .SVG converter. We considered using other .SVG converting packages like PoTrace but decided to go with a Vtracer due to it’s support for colored images in case we do want to extend for our stretch goals of adding colored diagrams and it also maintains better fidelity of the original image when compared to PoTrace. This change in decision does not incur any additional costs to our project. We are also looking into methods to remove having the user need to agree to receive a message from a peer in order to make the user interaction smoother. This is still currently being researched but should not cause any major changes to the system.

The schedule has not changed. Currently our message passing is successful and within our latency bounds and our CV is able to detect roughly straight lines without much difficulty.

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.

Team Status Report for Feb 12, 2022

During the past week, our team mainly focused on finalizing our project design and proposal presentation. We also considered some technical challenges that we could come across while working on the project.

One main significant risk that could be posed is if the server code takes too long sending images or vectorized files, since we are unsure of how long it would take to transfer all of the data in those files from client to server to four other clients. One way to manage this risk is to make sure we have to wait until the server code is working and then test it.

Another challenge will be ensuring that we are able to accurately recreate the hand drawn image as a vectorized one. We will need to research computer vision algorithms that can recognize lines that are not perfectly straight as lines. This is something that we intend to do in the coming week.

The main thing we accomplished this week was the proposal presentation on Monday, which went very well. No changes have been made to the existing design of the system that was presented on Monday, and we are on schedule so far to complete the deliverables as laid out in the Gantt chart in the coming weeks.