This media is not supported in your browser
VIEW IN TELEGRAM
#ایده_پردازی #سورس_کد #FunOpenCV
تبدیل چهره به نقاشی و رسم با ماژول turtle
❤️میلاد حضرت زهرا سلام الله علیها و روز مادر و روز زن مبارک❤️
Congratulations on the anniversary of the birth of Lady Fatimah Zahra (as).
💎Image to draw
using OpenCV and python
Stages: Read image 👉 Convert to gray👉 Filter👉 Draw sketch👉 Extract silhouette👉 Draw turtle
Thanks to: S.D.Rad
🔻share with your friends🔻
🔹@OpenCV_olc🔹
تبدیل چهره به نقاشی و رسم با ماژول turtle
❤️میلاد حضرت زهرا سلام الله علیها و روز مادر و روز زن مبارک❤️
Congratulations on the anniversary of the birth of Lady Fatimah Zahra (as).
💎Image to draw
using OpenCV and python
Stages: Read image 👉 Convert to gray👉 Filter👉 Draw sketch👉 Extract silhouette👉 Draw turtle
Thanks to: S.D.Rad
🔻share with your friends🔻
🔹@OpenCV_olc🔹
👍10🔥3❤1
Media is too big
VIEW IN TELEGRAM
#ایده_پردازی #FunOpenCV
تبدیل چهره به نقاشی با خودکار🖌
با کمک پردازش تصویر و پایتون
Pen drawing by OpenCV and python
💻After optimizing the previous version
Stages: Read image 👉Filter👉 Draw
🔻share with your friends🔻
🔹@OpenCV_olc🔹
تبدیل چهره به نقاشی با خودکار🖌
با کمک پردازش تصویر و پایتون
Pen drawing by OpenCV and python
💻After optimizing the previous version
Stages: Read image 👉Filter👉 Draw
🔻share with your friends🔻
🔹@OpenCV_olc🔹
👍3❤2🔥2👏1🤩1
This media is not supported in your browser
VIEW IN TELEGRAM
#ایده_پردازی #FunOpenCV
تبدیل چهره به نقاشی (ویرایش سوم)
❤️میلاد امیرالمؤمنین امام علی علیه السلام و روز پدر و روز مرد مبارک باد❤️
Pen drawing by OpenCV and python💻
Congratulations on the anniversary of the birth of the Commander of the Faithful, Imam Ali (as)❤️
Thanks to: S.Arman
🔻share with your friends🔻
🔹@OpenCV_olc🔹
تبدیل چهره به نقاشی (ویرایش سوم)
❤️میلاد امیرالمؤمنین امام علی علیه السلام و روز پدر و روز مرد مبارک باد❤️
Pen drawing by OpenCV and python💻
Congratulations on the anniversary of the birth of the Commander of the Faithful, Imam Ali (as)❤️
Thanks to: S.Arman
🔻share with your friends🔻
🔹@OpenCV_olc🔹
❤7👍1👏1🤩1
This media is not supported in your browser
VIEW IN TELEGRAM
#ایده_پردازی #FunOpenCV
تبدیل عکس به نقاشی (ویرایش چهارم)
💻 Read image ➡️ Filter ➡️ AI ➡️ pen drawing by OpenCV➡️ color
Thanks for your great feedback for these type of posts. Let's use colors in this version👌
Thanks to: M. Hmt🙏
🔻share with your friends🔻
🔹@OpenCV_olc🔹
تبدیل عکس به نقاشی (ویرایش چهارم)
💻 Read image ➡️ Filter ➡️ AI ➡️ pen drawing by OpenCV➡️ color
Thanks for your great feedback for these type of posts. Let's use colors in this version👌
Thanks to: M. Hmt🙏
🔻share with your friends🔻
🔹@OpenCV_olc🔹
👍4👌1💯1
This media is not supported in your browser
VIEW IN TELEGRAM
#ایده_پردازی #FunOpenCV
نوروز 1402 مبارک باد❤️
بهترینها رو برای همه آرزو کنیم.
Happy Nowruz 1402 🥳
📄This is the first stage of a project that we are working on it. In this step the image will be converted into characters.
🔻share with your friends🔻
🔹@OpenCV_olc🔹
نوروز 1402 مبارک باد❤️
بهترینها رو برای همه آرزو کنیم.
Happy Nowruz 1402 🥳
📄This is the first stage of a project that we are working on it. In this step the image will be converted into characters.
🔻share with your friends🔻
🔹@OpenCV_olc🔹
👍5🎉4❤2👏1🤩1
This media is not supported in your browser
VIEW IN TELEGRAM
#FunOpenCV #ایده_پردازی
ریاضی + پردازش تصویر + هنر😎👌
Math + OpenCV + Art
💻Fractals are complex geometric shapes that exhibit self-similarity at different scales and found in many natural phenomena (coastlines, snowflakes). They can also be generated mathematically using iterative algorithms.
🔻share with your friends🔻
🔹@OpenCV_olc🔹
ریاضی + پردازش تصویر + هنر😎👌
Math + OpenCV + Art
💻Fractals are complex geometric shapes that exhibit self-similarity at different scales and found in many natural phenomena (coastlines, snowflakes). They can also be generated mathematically using iterative algorithms.
🔻share with your friends🔻
🔹@OpenCV_olc🔹
👍6❤2👌1🆒1
This media is not supported in your browser
VIEW IN TELEGRAM
#FunOpenCV #سورس_کد
این 3خط کد پایتون رو اجرا کنین، نقاشی تام هالند رو با ماژول turtle رسم میکنه😂🐢
|-------------------------------------------------|
from sketchpy import library
Tom = library.tom_holland()
Tom.draw()
|-------------------------------------------------|
🐍Run this code, it will draw an image of Mr.Holland using turtle module🐢
🔻share with your friends🔻
🔹@OpenCV_olc🔹
این 3خط کد پایتون رو اجرا کنین، نقاشی تام هالند رو با ماژول turtle رسم میکنه😂🐢
|-------------------------------------------------|
from sketchpy import library
Tom = library.tom_holland()
Tom.draw()
|-------------------------------------------------|
🐍Run this code, it will draw an image of Mr.Holland using turtle module🐢
🔻share with your friends🔻
🔹@OpenCV_olc🔹
👍32❤25🐳17🎉11👏9🤩8🔥6🥰4😁4
This media is not supported in your browser
VIEW IN TELEGRAM
#FunOpenCV
کاربرد اصلی کامنتگذاری در کد😂
Bug fixing using comments😂
🔻share with your friends🔻
🔹@OpenCV_olc🔹
کاربرد اصلی کامنتگذاری در کد😂
Bug fixing using comments😂
🔻share with your friends🔻
🔹@OpenCV_olc🔹
👍42😁18🤣7💯1
This media is not supported in your browser
VIEW IN TELEGRAM
#سورس_کد #FunOpenCV
🎮 کنترل بازی با کمک پردازش تصویر
📎دانلود سورس کد (Github)
🎮 Control the game using Image Processing and python
🔻share with your friends🔻
🔹@OpenCV_olc🔹
🎮 کنترل بازی با کمک پردازش تصویر
📎دانلود سورس کد (Github)
🎮 Control the game using Image Processing and python
🔻share with your friends🔻
🔹@OpenCV_olc🔹
👍35💯22👌17👨💻2❤1
This media is not supported in your browser
VIEW IN TELEGRAM
#سورس_کد #FunOpenCV
🎮 ساخت بازی مبتنی بر پردازش تصویر و کنترل با حرکت دستها
📎دانلود سورس کد (Github)
🎮Game Ball in The Box and Control Pan Tilt Servo
🔻share with your friends🔻
🔹@OpenCV_olc🔹
🎮 ساخت بازی مبتنی بر پردازش تصویر و کنترل با حرکت دستها
📎دانلود سورس کد (Github)
🎮Game Ball in The Box and Control Pan Tilt Servo
🔻share with your friends🔻
🔹@OpenCV_olc🔹
❤27🔥16👌4👍2⚡1
This media is not supported in your browser
VIEW IN TELEGRAM
#سورس_کد #FunOpenCV #نکته
🎮 ساخت بازی 2048 با پایتون
📎 دانلود سورس کد
📄 Creating a 2048 Game in python
🔻share with your friends🔻
🔹@OpenCV_olc🔹
🎮 ساخت بازی 2048 با پایتون
📎 دانلود سورس کد
📄 Creating a 2048 Game in python
🔻share with your friends🔻
🔹@OpenCV_olc🔹
👍12🔥2💯2
2048Game_MhOlyaei.py
5.4 KB
#سورس_کد #FunOpenCV #نکته
🎮 کدهای بازی 2048 با پایتون
(مشاهده ویدیوی اجرای کد)
📄 2048 Game in python
🔻share with your friends🔻
🔹@OpenCV_olc🔹
🎮 کدهای بازی 2048 با پایتون
(مشاهده ویدیوی اجرای کد)
📄 2048 Game in python
🔻share with your friends🔻
🔹@OpenCV_olc🔹
🥰6🙏3❤2👍2🔥2👏2👨💻1
This media is not supported in your browser
VIEW IN TELEGRAM
#سورس_کد #FunOpenCV
یلداتون مبارک❤️🍉
به سبک پایتونی😂
🔻share with your friends🔻
🔹@OpenCV_olc🔹
یلداتون مبارک❤️🍉
به سبک پایتونی😂
#Created on Thu Dec 21 19:05 2023
#@author: mh.olyaei@yahoo.com
import matplotlib.pyplot as plt
import numpy as np
watermelon = 10*np.ones((15,15))
watermelon[4:9, 7:11], watermelon[7:11, 4:9] = 9, 9
watermelon[6:11, 6:8], watermelon[3:10, 8:10] = 9, 9
[watermelon.__setitem__((i, j), 9) for i in range(15) for j in range(15) if i + j == 11 and i<10 and j<10 or i==9 and j==3]
[watermelon.__setitem__((i, j), 6) for i in range(15) for j in range(15) if i + j == 20 and i<13 and j<13]
[watermelon.__setitem__((i, j), 5) for i in range(15) for j in range(15) if i + j == 21 and i<13 and j<13]
watermelon[1,10:12] = [6,5]
watermelon[2,11:13] = [6,5]
watermelon[3:9,[12,13]] = [6, 5]
watermelon[12,3:8], watermelon[13,4:9] = 6,5
watermelon[[10,11,12],[1,2,3]] = [6,6,6]
watermelon[[11,12],[1,2]] = [5,5]
watermelon[[9,8,6,4],[4,6,8,9]] = [1,1,1,1]
plt.imshow(watermelon, cmap = "nipy_spectral")
plt.show()
plt.title('@OpenCV_olc')
🔻share with your friends🔻
🔹@OpenCV_olc🔹
👍30😍3❤🔥2❤2🍓2
#سورس_کد #FunOpenCV
▌│█║▌║▌║ بارکدخوان با پایتون
💻Creating a Barcode reader using the Python language
🔻share with your friends🔻
🔹@OpenCV_olc🔹
▌│█║▌║▌║ بارکدخوان با پایتون
"""
Created on Thu Dec 28 12:55:48 2023
@author: mh.olyaei@yahoo.com
"""
from pyzbar.pyzbar import *
import cv2
img = cv2.imread("barcode(3).png")
Barcode = decode(img)
print("Decode:", Barcode[0].data)
cv2.imshow("img", img)
cv2.waitKey(0)
💻Creating a Barcode reader using the Python language
🔻share with your friends🔻
🔹@OpenCV_olc🔹
🔥21👌14👍4❤🔥1👨💻1
#هوش_مصنوعی #FunOpenCV
ساخت کاراکترهای سهبعدی 😍
👨👩وارد دیزاینر مایکروسافت بشین و با پرامپت زیر کاراکترهای سهبعدی جالب و مناسب شبکههای اجتماعی طراحی کنین.
📎 لینک دیزاینر مایکروسافت
برای دوستان خود فوروارد کنین.
💎Prompt:Create a 3D illustration of a boy animated character sitting casually on top of a social media logo "Telegram". The background of the image is a social media profile page with a user name " @OpenCV_olc " and a profile picture that match.
🔻share with your friends🔻
🔹@OpenCV_olc🔹
ساخت کاراکترهای سهبعدی 😍
👨👩وارد دیزاینر مایکروسافت بشین و با پرامپت زیر کاراکترهای سهبعدی جالب و مناسب شبکههای اجتماعی طراحی کنین.
📎 لینک دیزاینر مایکروسافت
برای دوستان خود فوروارد کنین.
💎Prompt:
🔻share with your friends🔻
🔹@OpenCV_olc🔹
🔥10👍8😁7❤6🎉4🥰1👏1🙏1
This media is not supported in your browser
VIEW IN TELEGRAM
#سورس_کد #FunOpenCV
🎮 ساخت بازی هزارتو با پایتون
📎 دانلود سورس کد (pygame)
🕹Maze game by Python
🔻share with your friends🔻
🔹@OpenCV_olc🔹
🎮 ساخت بازی هزارتو با پایتون
📎 دانلود سورس کد (pygame)
🕹Maze game by Python
🔻share with your friends🔻
🔹@OpenCV_olc🔹
👍20🔥2👨💻1
This media is not supported in your browser
VIEW IN TELEGRAM
#سورس_کد #ارسالی_از_کاربران
#ایده_پردازی #FunOpenCV
✏️ نقاشی مجازی با کمک پردازش تصویر
💻 دانلود سورس کد (Github)
🎨 Creating virtual paintings with OpenCV and python
🙏Thanks to: Z.Jahani
🔻share with your friends🔻
🔹@OpenCV_olc🔹
#ایده_پردازی #FunOpenCV
✏️ نقاشی مجازی با کمک پردازش تصویر
💻 دانلود سورس کد (Github)
🎨 Creating virtual paintings with OpenCV and python
🙏Thanks to: Z.Jahani
🔻share with your friends🔻
🔹@OpenCV_olc🔹
❤31👍3😍2🔥1👏1
This media is not supported in your browser
VIEW IN TELEGRAM
#پایتون #سورس_کد #نکته #FunOpenCV
👨💻 تولید دیتاهای فیک با پایتون
💎 در بعضی از پروژهها نیاز داریم تا اطلاعات اولیه زیادی رو ایجاد کنیم. میتونین با ماژول faker اینکار رو راحت انجام بدین.
👨💻 Generate fake data like name, email, etc with random information
🔻share with your friends🔻
🔹@OpenCV_olc🔹
👨💻 تولید دیتاهای فیک با پایتون
💎 در بعضی از پروژهها نیاز داریم تا اطلاعات اولیه زیادی رو ایجاد کنیم. میتونین با ماژول faker اینکار رو راحت انجام بدین.
👨💻 Generate fake data like name, email, etc with random information
from faker import Faker
fake = Faker()
p = fake.profile()
print(p)
🔻share with your friends🔻
🔹@OpenCV_olc🔹
💯17👍3🔥3😎2
#پایتون #سورس_کد #FunOpenCV
🪨📄✂ بازی سنگ، کاغذ قیچی با پایتون
🎮 Rock, Paper, Scissors by Python
🔻share with your friends🔻
🔹@OpenCV_olc🔹
🪨📄✂ بازی سنگ، کاغذ قیچی با پایتون
🎮 Rock, Paper, Scissors by Python
from random import randint
t = ["Rock", "Paper", "Scissors"]
computer = t[randint(0,2)]
player = False
while player == False:
print("Rock, Paper, Scissors?")
player = input()
if player == computer:
print("Tie!")
elif player == "Rock":
if computer == "Paper":
print("You lose!")
else:
print("You win!")
elif player == "Paper":
if computer == "Scissors":
print("You lose!")
else:
print("You win!")
elif player == "Scissors":
if computer == "Rock":
print("You lose...")
else:
print("You win!")
else:
print("Check your input! ")
player = False
computer = t[randint(0,2)]
🔻share with your friends🔻
🔹@OpenCV_olc🔹
❤25👍7🔥1
#پایتون #سورس_کد #FunOpenCV
🖋 تبدیل رشته به متن دستنویس
✒️ Convert text to handwritten
🔻share with your friends🔻
🔹@OpenCV_olc🔹
🖋 تبدیل رشته به متن دستنویس
✒️ Convert text to handwritten
import pywhatkit
pywhatkit.text_to_handwriting('Hello, My Name is Python', save_to='out.png'')
🔻share with your friends🔻
🔹@OpenCV_olc🔹
👍6❤1