Pure Software code
 
www.puresoftwarecode.com

SOFTWARE Institute
Teach YourSelf
125 Software Programming Training Courses
For Free Download


CHRISTIANITY Institute
HUMANITIES Institute
Art Institute

All more the 500 Subjects, All for Free Download.
Lebanon  
Python Programming Courses
Software Institute / OpenCV  
 
  Home : Software Institute : Python Opencv Page 2 Home

 
 
1-  Py-MediaPipe-FaceMesh Python program, Flip the image horizontally for a selfie-view display
 
  1. Py-MediaPipe-FaceMesh Python program, Flip the image horizontally for a selfie-view display
       For webcam input

     
  2. Create a new Python project In Visual Studio 2022
    1. the Microsoft Visual Studio (... or 2019 or 2022) is a powerful IDE for Python language
    2. Open/Run Microsoft Visual Studio 2022
    3. To view Python templates, search for python.
       Select the Python Application template, and select Next.
    4. Create a new Python project In Visual Studio 2022
              On the Configure your new project screen  -   (specify a name and file location for the project, and then select Create)
              Project name: Py-MediaPipe-FaceMesh
              Location: C:\Users\...\source\repos    (default location for
      Visual Studio 2022)
       


  3. The new project opens in Visual Studio 2022  - (Visual Studio 2022 Compiler - IDE, to compile Python project / file )
    1. The Visual Studio Solution Explorer window shows the project structure
    2. Python Project Properieties - Py-MediaPipe-FaceMesh
      • Projct Folder: C:\Users\...\source\repos\Py-MediaPipe-FaceMesh
      • Startup File: Py_MediaPipe_FaceMesh.py
      • Project file: Py-MediaPipe-FaceMesh.sln
    3. Download Python Project : Py-MediaPipe-FaceMesh.zip - (9.5 KB zip file)   Download
    4. Project consist of:
       One Python Form - (Py_MediaPipe_FaceMesh.py )

     

    Download Python Project : Py-MediaPipe-FaceMesh.zip - (9.5 KB zip file)   Download    

     

  4. Install opencv and mediapipe in Python on Windows Operating System, Using Command Prompt
     
     1- Install  opencv  in Python on Windows Operating System, Using Command Prompt
             Note: cv2 the same as OpenCV
              In the Command prompt, use the following pip command to install the opencv library
                   
    pip install opencv-python   
     
     
     2- Install mediapipe in Python on Windows Operating System, Using Command Prompt
           pip install mediapipe

     

     2- Install  opencv  CV in Python on Windows Operating System, Using Command Prompt
             Note: cv2 the same as OpenCV
              In the Command prompt, use the following pip command to install the opencv library
                   
    pip install opencv-python   
     
     
     
  5. Source Code of Python Project - Py-MediaPipe-FaceMesh:

    Download this Source Code at python  file: Py_MediaPipe_FaceMesh.py  - (2.5 KB Python file)   download     

       Py_MediaPipe_FaceMesh.py Python Code,  Flip the image horizontally for a selfie-view display.

     

     
  6. Debug Py-MediaPipe-FaceMesh project, 0 Errors 
     
     
     
  7. Output of Python Project - Py-MediaPipe-FaceMesh:
     

     

   
2-  Py-Opencv-FHLandmarks Python program, Face and Hand Landmarks Using Opencv
 
  1. Py-Opencv-FHLandmarks Python program, Face and Hand Landmarks Using Opencv
    • Install the required modules of library
    •  Initializing Holistic model Of Hand Landmark
    • Detecting Face and Hand landmarks,  using webcam = cv2.VideoCapture(0)
        1- Capture the frames continuously
        2- Convert the BGR image
        3- Draw the detected landmarks
        4- Display the resulting
     
  2. Create a new Python project In Visual Studio 2022
    1. the Microsoft Visual Studio (... or 2019 or 2022) is a powerful IDE for Python language
    2. Open/Run Microsoft Visual Studio 2022
    3. To view Python templates, search for python.
       Select the Python Application template, and select Next.
    4. Create a new Python project In Visual Studio 2022
              On the Configure your new project screen  -   (specify a name and file location for the project, and then select Create)
              Project name: Py-Opencv-FHLandmarks
              Location: C:\Users\...\source\repos    (default location for
      Visual Studio 2022)
       


  3. The new project opens in Visual Studio 2022  - (Visual Studio 2022 Compiler - IDE, to compile Python project / file )
    1. The Visual Studio Solution Explorer window shows the project structure
    2. Python Project Properieties - Py-Opencv-FHLandmarks
      • Projct Folder: C:\Users\...\source\repos\Py-Opencv-FHLandmarks
      • Startup File: Py-Opencv-FHLandmarks.py
      • Project file: Py-Opencv-FHLandmarks.sln
    3. Download Python Project : Py-Opencv-FHLandmarks.zip - (12.5 KB zip file)   Download
    4. Project consist of:
       One Python Form - (Py_Opencv_FHLandmarks.py )

     

    Download Python Project : Py-Opencv-FHLandmarks.zip - (12.5 KB zip file)   Download    

     

     

  4. Install opencv, mediapipe and time in Python on Windows Operating System, Using Command Prompt
     
    1- Install  opencv  CV in Python on Windows Operating System, Using Command Prompt
             Note: cv2 the same as OpenCV
               pip install opencv-python 
     
     2- Install mediapipe in Python on Windows Operating System, Using Command Prompt
           pip install mediapipe
     
     3- Install time in Python on Windows Operating System, Using Command Prompt
           pip install lime
     
     
  5. Source Code of Python Project -Py-Opencv-FHLandmarks :

    Download this Source Code at python  file: Py_Opencv_FHLandmarks.py  - (3.89 KB Python file)   download   

       Py_Opencv_FHLandmarks.py Python Code, Face and Hand Landmarks Using Openc with  Webcam

     

     
  6. Debug Py-Opencv-FHLandmarks project, 0 Errors 
     
     
  7. Output of Python Project -Py-Opencv-FHLandmarks, is Using the Webcam of PC :
     
    1-  Output info,Info and Hand Ladmark Key Names
     
       
       
    2-  the Face and the Hands Tracking Images Models Output:
     
    2.1-

     Face and Right Hand Landmarks Image 1

     
       
    2.2-

     Face and Right Hand Landmarks Image 2

     
       
    2.3-

     Face and Left Hand Landmarks Image 1

     
       
    2.4-

     Face and Left Hand Landmarks Image 2

     
     

 
 
Python Opencv Pages   -   1    2    3     
 
 www.puresoftwarecode.com  :  CHRISTIANITY Institute  HUMANITIES Institute  ART Institute & Others
 SOFTWARE Institute - "All Courses Free"    History of the MARONITES in Arabic  Basilica Architecture, in the Shape of a Cross

 Python, Teach yourSelf  Programs in 6 pages

 Holy BIBLE in 22 Languages and Studies ...  Le HANDICAP c'est quoi ?   (in French)  
 Machine Learning Projects in Python - 12 samples  220 Holy Christian ICONS  Drugs and Treatment in English, french, Arabic  Old Traditional Lebanese houses
 Opencv Python Projects with Source Code - 7 samples  Catholic Syrian MARONITE Church   Classification of Wastes from the Source in Arabic  5 DRAWING Courses & 3 Galleries
 Matplotlib in Python Projects - 4 samples  HOLY MASS of  Maronite Church - Audio in Arabic  Christianity in the Arabian Peninsula in Arabic  Meteora, Christianity Monasteries - En, Ar, Fr
 VISUAL STUDIO 2019, C# Programs, in English  VIRGIN MARY, Mother of JESUS CHRIST GOD  Summary of the Lebanese history in Arabic  Monasteries of Mount Athos & Pilgrimage
   SAINTS of the Church  LEBANON EVENTS 1840 & 1860, in Arabic  Carved Rock Churches, Lalibela - Ethiopia
VISUAL STUDIO 2010 in English  Saint SHARBEL - Sharbelogy in 10 languages, Books  Great FAMINE in LEBANON 1916,  in Arabic   4 Different STUDIES
 VISUAL STUDIO .NET, Windows & ASP in En  Catholic RADIO in Arabic, Sawt el Rab  Great FAMINE and Germny Role 1916,  in Arabic   SOLAR Energy & Gas Studies
 VISUAL STUDIO 6.0 in English  Saint SHARBEL Family - Evangelization  Armenian Genocide 1915  in Arabic  Personal Protective Equipment
 Microsoft ACCESS in English  Читать - БИБЛИЯ и Шарбэль cвятой, in Russe  Sayfo or Assyrian Genocide 1915 in Arabic  WELCOME to LEBANON
   Apparitions of  Virgin Mary - Ar  Christianity in Turkey in Arabic  YAHCHOUCH, my Lebanese Village
 PHP & MySQL in English  Neocatechumenal Way   Prononce English and French and Arabic Letters  ZOUEIN, my Family - History & Trees
 SOFTWARE GAMES in English  Holy BIBLE, for the Maronite Liturgical Year    About, my PRODUCTS, and Statistiques ...
 WEB DESIGN in English  Holy BIBLE, according to Maronite Calendar, (2023)  Yahchouch Social Statistical Cultural Project  Traffic Statistics 2025 of PureSoftwareCode.com
 JAVA SCRIPT in English  Holy BIBLE, Online Translation in 133 Languages    Site Map of  PureSoftwareCode.com
 FLASH - ANIMATION in English      REPORT, Cyber Attack Attacks the Current Site
 PLAY, 5 GAMES  Andree Zouein Foundation  GIGI  L'AMOROSO Fashion and Jewellery  Josette Zoueïn. Psychanalyste Psychologue
 Multi-Functional 4 Wheel Drive Robot Car  CARLOS SLIM HELU Site, New Design  Saadeh Bejjane Architecture  Hermez Steel, Steel  Decor Artwork
      Chucri Simon Zouein, Computer engineer
     
echkzouein@gmail.com
© pure software code - Since 2003