Changes between Version 59 and Version 60 of Other/Summer/2023/Latency
- Timestamp:
- Aug 9, 2023, 2:29:39 PM (16 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Other/Summer/2023/Latency
v59 v60 46 46 47 47 The bulk of this week was spent developing a Python script that created artificial videos of black and white frames alternating every half a second. This program comes with adjustable noise to mimic the camera’s change from black to colored frames with noise. Using OpenCV, we were able create the code successfully. 48 49 48 **Week 5 presentation: [https://docs.google.com/presentation/d/1eFaGVwyJf6AOELmQVRvLJxMywu_rgNEc2hIgDxk3BDA/edit#slide=id.p]** 50 49 … … 58 57 59 58 This week was shortened to a considerable margin to the point where we couldn't make much progress. However, we were able to plan for the following weeks by creating many artificial videos of varying amounts of noise as well as a plan to create histogram to plot the number of occurrences each hex byte appeared in order to visualize how noise affects packets using the Python library Matplotlib. 59 60 [[Image()]] 60 61 61 62 **Week 6 presentation: [https://docs.google.com/presentation/d/1IwPrkkpvbTHO3LuBZ2Umuxp5rz9jwKTqmml3EoJ7wAA/edit]** … … 72 73 73 74 Following up on our plan from week 6, we worked on plotting histograms of the hex byte data. This had a rough start as when uploading the artificial videos to the node, the node ended up corrupting the video, making it impossible to use. As a result, we uploaded frames from the video to the node in order to compute it. After this, several histogram scripts were developed, each functioning in a different way. Ultimately, we decided upon creating three separate graphs for each color (RGB) of how often certain values occurred. After testing these with the JPEG images, we then used it on the camera where we changed LED setup to take up more of the camera’s view as well as used FFMPEG to get video into one MJPEG or many JPEG files. The resulting histograms were the following: 75 74 76 [[Image(https://cdn.discordapp.com/attachments/750525976105975828/1138556199319642233/Screenshot_2023-08-08_153319.png)]] 75 77 [[Image(https://cdn.discordapp.com/attachments/750525976105975828/1138556199709708428/Screenshot_2023-08-08_153427.png)]] 76 78 [[Image(https://cdn.discordapp.com/attachments/750525976105975828/1138556200162709524/Screenshot_2023-08-08_153516.png)]] 79 80 Noise Histogram 81 [[Image(https://cdn.discordapp.com/attachments/750525976105975828/1138841186170314792/Screenshot_2023-08-09_102734.png)]] 77 82 78 83 These histograms show the number of occurrences in the 5-sec camera footage for each type of colored pixel value with no noise. … … 82 87 -The occurrences of blue pixel values is significantly higher because the LED emits blue light. 83 88 84 The RGB histograms were made without noise, compared to the histogram on the rightwhen there was significant amount of noise present. These results show that the amount of noise in our camera can heavily affect our data set.89 The RGB histograms were made without noise, compared to the histogram on the bottom when there was significant amount of noise present. These results show that the amount of noise in our camera can heavily affect our data set. 85 90 86 91 **Week 7 presentation: [https://docs.google.com/presentation/d/1oPe0z3FzBUPzzFf-zcCJgz43jQIHqMHRg1BsnYJdaCU/edit]**