Changes between Version 59 and Version 60 of Other/Summer/2023/Latency


Ignore:
Timestamp:
Aug 9, 2023, 2:29:39 PM (16 months ago)
Author:
Ayush_Iyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Other/Summer/2023/Latency

    v59 v60  
    4646
    4747The 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 
    4948**Week 5 presentation: [https://docs.google.com/presentation/d/1eFaGVwyJf6AOELmQVRvLJxMywu_rgNEc2hIgDxk3BDA/edit#slide=id.p]**
    5049
     
    5857
    5958This 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()]]
    6061
    6162**Week 6 presentation: [https://docs.google.com/presentation/d/1IwPrkkpvbTHO3LuBZ2Umuxp5rz9jwKTqmml3EoJ7wAA/edit]**
     
    7273
    7374Following 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
    7476[[Image(https://cdn.discordapp.com/attachments/750525976105975828/1138556199319642233/Screenshot_2023-08-08_153319.png)]]
    7577[[Image(https://cdn.discordapp.com/attachments/750525976105975828/1138556199709708428/Screenshot_2023-08-08_153427.png)]]
    7678[[Image(https://cdn.discordapp.com/attachments/750525976105975828/1138556200162709524/Screenshot_2023-08-08_153516.png)]]
     79
     80Noise Histogram
     81[[Image(https://cdn.discordapp.com/attachments/750525976105975828/1138841186170314792/Screenshot_2023-08-09_102734.png)]]
    7782
    7883These histograms show the number of occurrences in the 5-sec camera footage for each type of colored pixel value with no noise.
     
    8287          -The occurrences of blue pixel values is significantly higher because the LED emits blue light.
    8388
    84 The RGB histograms were made without noise, compared to the histogram on the right 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.
     89The 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.
    8590
    8691**Week 7 presentation: [https://docs.google.com/presentation/d/1oPe0z3FzBUPzzFf-zcCJgz43jQIHqMHRg1BsnYJdaCU/edit]**