awacke1 commited on
Commit
30111a2
Β·
verified Β·
1 Parent(s): e50e82a

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +2 -7
requirements.txt CHANGED
@@ -1,9 +1,4 @@
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
- pydub # πŸŽ™οΈ Audio maestro mixing tunes like a pro! | 🎀🌩️ AudioSegment.from_file("sound.wav") - Grabs audio like a sonic thief! | πŸ”ŠπŸ“‘ sound.export("out.mp3") - Spits out tracks like a beat factory! | πŸŽΆπŸ’Ύ sound.reverse() - Flips sound like a time-travel DJ!
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!
 
1
  streamlit # 🌟 The shiny star of our web app galaxy!
 
 
 
 
 
2
  pandas # 🐼 Data-wrangling panda for our file history circus!
3
+ opencv-python # πŸ“Έ Snap-happy king of camera wizardry!
4
+ pillow # πŸ–ΌοΈ Pixel-pushing pillow for image fluffing!