This repository showcases two impactful projects I created using Python and OpenCV:
- An animation video emphasizing the critical message, "Don't Drink & Drive."
- A fun and interactive GIF capturing the frustrations of coding and the need to de-stress.
The animation tells a compelling story that begins in a bar ๐ป, transitions to a risky decision to drive ๐, and ends with a tragic accident ๐ฅ. It aims to raise awareness about the dangers of drunk driving and deliver a powerful social message.
- Scene Design: Roads, vehicles, and characters brought to life with OpenCV functions like
cv2.line,cv2.circle, andcv2.rectangle. - Impactful Messaging: The animation displays key messages like "Don't Drink & Drive" using
cv2.putText. - Interactive Elements: Mouse events implemented using
cv2.setMouseCallbackfor dynamic scene creation. - Frame Display: Seamless animation created using
cv2.imshowandcv2.waitKey.
This fun and engaging GIF captures the emotional rollercoaster of coding frustrations ๐. It features a creative interaction where a keyboard turns into a drum ๐ฅ, symbolizing the need to de-stress during tough debugging sessions.
- Dynamic Interaction: Mouse-based input to create animations.
- GIF Creation: Frames are looped to simulate a smooth and visually appealing animation.
- Key OpenCV Functions:
cv2.line,cv2.circlefor drawing shapes.cv2.putTextfor adding text to frames.cv2.imshow,cv2.waitKeyfor frame-by-frame visualization.
- Programming Language: Python
- Library: OpenCV
Key OpenCV functions include:
cv2.line,cv2.circle,cv2.rectangle: For creating shapes and designing scenes.cv2.putText: For displaying messages.cv2.setMouseCallback: For interactive mouse-based inputs.cv2.imshow,cv2.waitKey: For real-time frame visualization.