added icon for extra fun

This commit is contained in:
Floris 2022-05-05 07:40:27 -04:00
parent 7c940fba67
commit 71e26f8b5d
4 changed files with 5 additions and 3 deletions

View File

@ -11,7 +11,8 @@ import numpy as np
class VideoCamera(object):
def __init__(self, flip = False, file_type = ".jpg", photo_string= "stream_photo"):
self.vs = PiVideoStream(resolution=(1920, 1080), framerate=30).start()
# self.vs = PiVideoStream(resolution=(1920, 1080), framerate=30).start()
self.vs = PiVideoStream().start()
self.flip = flip # Flip frame vertically
self.file_type = file_type # image type i.e. .jpg
self.photo_string = photo_string # Name to save the photo

View File

@ -3,7 +3,7 @@
#Desc: This web application serves a motion JPEG stream
# main.py
# import the necessary packages
from flask import Flask, render_template, Response, request
from flask import Flask, render_template, Response, request, send_from_directory
from camera import VideoCamera
import os

BIN
static/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
@ -136,7 +137,7 @@ body {
</div>
<div class="top-right-logo">
<a></a>Arya Stream </a>
<a></a>Raspberry Pi - Camera Stream</a>
</div>