awacke1 commited on
Commit
daafe64
Β·
verified Β·
1 Parent(s): 3cbf6c1

Create requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +9 -0
requirements.txt ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ streamlit # 🌟 The shiny star of our web app galaxy!
2
+ opencv-python # πŸ“Έ Snap-happy king of camera wizardry! | πŸ“·πŸŽ₯ cap = cv2.VideoCapture(0) - Snags your webcam faster than a paparazzi at a celebrity meltdown! | πŸ–ŒοΈβœ¨ cv2.imwrite("snap.jpg", cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)) - Saves a grayscale masterpiece like Picasso on a budget! | πŸ•΅οΈβ€β™‚οΈπŸ” edges = cv2.Canny(frame, 100, 200) - Turns your pic into a crime scene outlineβ€”edges so sharp they cut!
3
+ pyaudio # πŸŽ™οΈ Audio ninja slicing sound waves like butter! | 🎀🌩️ stream = pyaudio.PyAudio().open(rate=44100, channels=1, format=pyaudio.paInt16, input=True) - Unleashes audio magic like a thunderstorm karaoke night! | πŸ•΅οΈβ€β™€οΈπŸ“‘ info = pyaudio.PyAudio().get_device_info_by_index(0) - Spies on your mic like a nosy neighbor with a walkie-talkie! | πŸŽΆπŸ’Ύ data = stream.read(1024) - Grabs sound bites quicker than a hungry DJ at a buffet!
4
+ imageio # πŸ–ΌοΈ Lightweight champ of pixel-pushing antics! | πŸ“ΉπŸ‘€ reader = imageio.get_reader('<video0>') - Peeks at your webcam like a shy artist stealing glances! | πŸ–¨οΈπŸ˜‚ imageio.imwrite("pic.jpg", frame, quality=85) - Squeezes your pic into a JPEG tighter than skinny jeans after Thanksgiving! | 🎞️🀑 imageio.mimwrite("gif.gif", [frame1, frame2], fps=5) - Stitches frames into a GIF like a clown juggling pixels!
5
+ pyav # 🎬 FFmpeg-powered AV maestro, bow down! | πŸŽ₯πŸ”₯ container = av.open('/dev/video0') - Kicks off video capture like a rockstar smashing a guitar solo! | 🎬🍿 frames = [f for f in av.open('vid.mp4').decode(video=0)] - Rips apart video frames like a movie critic on a rampage! | πŸ–€βœ¨ graph = av.filter.Graph().add("negate").pull() - Flips colors like a moody teenager dyeing their hair!
6
+ moviepy # πŸŽ₯ Video editing diva strutting her stuff! | πŸŽžοΈπŸ’ƒ clip = mp.ImageSequenceClip([frame1, frame2], fps=15) - Twirls frames into a video like a diva on a dance floor! | πŸ“πŸ‘‘ clip = mp.VideoFileClip("vid.mp4").resize((320, 240)) - Shrinks your vid like a royal tailor fitting a gown! | 🎬🀝 final = mp.concatenate_videoclips([clip1, clip2]) - Glues clips together like a matchmaking grandma at a wedding!
7
+ pandas # 🐼 Data-wrangling panda for our file history circus!
8
+ wave # 🌊 Wave rider for audio file shenanigans!
9
+ numpy # πŸ”’ Number-crunching sidekick, always ready to rumble!