| 67 | **Main Idea |
| 68 | |
| 69 | 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: |
| 70 | [[Image()]] |
| 71 | [[Image()]] |
| 72 | [[Image()]] |
| 73 | |
| 74 | These histograms show the number of occurrences in the 5-sec camera footage for each type of colored pixel value with no noise. |
| 75 | -Red/Green |
| 76 | -The number of occurrences is mostly 0 because most of the camera footage is dark, though there are some high red/green pixel values due to some white light being present when the LED flashes on. |
| 77 | -Blue |
| 78 | -The occurrences of blue pixel values is significantly higher because the LED emits blue light. |
| 79 | |
| 80 | The RGB histograms were made without noise, compared to the histogram on the right when there was significant amount of noise present. These histograms show the extent of how noise can effect the camera feed. |