Back to Browse

How to Make a Progress Bar in Python #1

320 views
May 11, 2022
4:38

How to Make a Progress Bar in Python In this video i am talking about how to make progress bar using cv2 import cv2 import time val = 0 num = 30 def printVlPars(): copyImage = img.copy() global val val += 1 cv2.putText(copyImage, f'{str(val)}%',(295, copyImage.shape[0]-135), cv2.FONT_HERSHEY_COMPLEX, 0.8, (255, 255, 255), 2) cv2.imshow(wndName, copyImage) img = cv2.imread(r'C:\Users\FYOPRJ\Pictures\Black2.png') cv2.rectangle(img,(30,60), (270,30), (255,255,255), 5) wndName = 'Image' for i in range(0, 25): time.sleep(0.2) num += 10 for j in range(0, 4): printVlPars() cv2.rectangle(img,(30,60), (num, 30), (255,255,255),cv2.FILLED) if cv2.waitKey(1) & 0xFF == ord('q'): break time.sleep(2) cv2.destroyAllWindows() More Videos link: How to Make Oscilloscope Using Smartphone | Mobile Oscilloscope Using Raspberry Pi Pico:https://youtu.be/5P-s4WGd0dc How to Plot Real Time Data from Arduino Uno using Python: https://youtu.be/EEwN0Pxg3rs Square Pulse Wave Graph in Python | How to plot graph in Python using matplotlib and numpy: https://youtu.be/w_-d4w1k87U How to Make Dice Roll With GIF And Images in Python | Dice Rolling GUI: https://youtu.be/m4hPRJ-UcZk #ProgressBarPython #ProgressBar #FYOPRJ

Download

0 formats

No download links available.

How to Make a Progress Bar in Python #1 | NatokHD