OpenCV Writing Images

OpenCV Reading Images In Hindi

Python OpenCV

OpenCV Reading Images – OpenCV Me imread Method Ka Use Kar Ke Aap Kisi Image Ko Read Kar Sakte Hai. Image Ko Read Karne Ka Matlab Ki Aap Image Ko Apne Codes Me Use Kar Sakte Hai.

Agar Aap OpenCV Ko Poora A-Z Learn Karna Chahte Hai To Aapko, Sabse Pahle Aapko OpenCV Ke Previous Post Ko Read Karna Chahiye –

Must Reads

Upar Bataye Gaye Posts Ko Padhne Ke Baad Aap Is Post Ko Padhe – Recommended

OpenCV Reading Images In Hindi

OpenCV Me Image Ko Read Karne Ke Liye imread Method Ka Use Karna Padta Hai. Is Method Ka Use Karke Aap Image Ko Kisi Variable Me Load Kar Sakte Hai.

Phir Aap Image Ko Apne Program Ke Kisi Bhi Function Me Use Kar Sakte Hai.

OpenCV Me Image Ko Read Karne Ke Liye imread Method Ka Bahut Jayada Istemal Hota Hai, Isliye Ye Ek Bahut Important Method Hai.

Example No 1

import cv2

img = cv2.imread('master.jpg')
cv2.imshow('Master Programming ', img)

cv2.waitKey(0)
cv2.destroyAllWindows()

Output:

Example 1 Result

Step 1 >> import cv2
Sabse Pahle Humne cv2 Ko import Kiya Hai

Step 2 >> img = cv2.imread(‘master.jpg’)
Phir Humne Ek img Variale Ko Create Kiye Hai Aur cv2.imread Method Ka Use Karke master.jpg Ko Read Kiya

Step 3>> cv2.imshow(‘Master Programming’,img)
Ab Humne cv2.imshow Method Ke Use Kiya, And First Parameter Ke Liye ‘Master Programming’ Likha And Second Parameter Me Pahle Banaye Hue img variable Ko Pass Kara Diya.

Step 4 >> cv2.waitkey(0)
Iska Use Karke Result Me Aaye Hue Window Ko Hold Kiye Jata Hai. 0 Ko Parameter Me Dene Se Ye Close Nahi Hoga.

Step 5 >> cv2.destroyAllWindows()
Iske Use Program Me Running Sabhi Codes Ko Memory Se Release Kiya Jata Hai And Program Ko Stop Ho Jata Hai.

Example No 2

Masterprogramming Android App

RESULT

Masterprogramming Android App

Example No 3

Masterprogramming Website

RESULT

Masterprogramming Website

Friends Mujhe Umeed Hai Ki Aapko OpenCV Reading Image In Hindi Ke Bare Mai 100% Jankari Ho Gayi Hogi | Agar Aapko Learn Karne Main Dikkat Aa Rahi Hai To Aap Mere Se Contact Kar Sakte Hai

Leave a Reply

Your email address will not be published. Required fields are marked *