Spaces:
Sleeping
Sleeping
Create requirements.txt
Browse files- 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!
|