<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>face recognition Archives -</title>
	<atom:link href="https://mitindia.in/tag/face-recognition/feed/" rel="self" type="application/rss+xml" />
	<link>https://mitindia.in/tag/face-recognition/</link>
	<description></description>
	<lastBuildDate>Thu, 31 Dec 2020 05:50:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://mitindia.in/wp-content/uploads/2023/03/cropped-android-chrome-512x512-1-32x32.png</url>
	<title>face recognition Archives -</title>
	<link>https://mitindia.in/tag/face-recognition/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Face recognition using Python</title>
		<link>https://mitindia.in/face-recognition-using-python/</link>
		
		<dc:creator><![CDATA[SKB]]></dc:creator>
		<pubDate>Thu, 31 Dec 2020 05:50:36 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[face recognition]]></category>
		<category><![CDATA[machine learning]]></category>
		<guid isPermaLink="false">http://www.mitindia.in/?p=1094</guid>

					<description><![CDATA[<p>Face detection In this machine learning example identify face using Python programming. Package  used in this example is opencv [computer vision]. To install this package simply use following syntax: pip install opencv-python import cv2 #pip install opencv-python # Load the cascade face_cascade = cv2.CascadeClassifier('face_detector.xml') # Read the input image img = cv2.imread('test2.jpg') # Detect faces [&#8230;]</p>
<p>The post <a href="https://mitindia.in/face-recognition-using-python/">Face recognition using Python</a> appeared first on <a href="https://mitindia.in"></a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1>Face detection</h1>
<p>In this machine learning example identify face using Python programming.</p>
<blockquote><p>Package  used in this example is <strong>opencv</strong> [computer vision]. To install this package simply use following syntax:<br />
<strong>pip install opencv-python</strong></p></blockquote>
<pre class="EnlighterJSRAW" data-enlighter-language="null">import cv2 #pip install opencv-python
# Load the cascade
face_cascade = cv2.CascadeClassifier('face_detector.xml')
# Read the input image
img = cv2.imread('test2.jpg')
# Detect faces
faces = face_cascade.detectMultiScale(img, 1.1, 4)
# Draw rectangle around the faces
for (x, y, w, h) in faces: 
  cv2.rectangle(img, (x, y), (x+w, y+h), (255, 0, 0), 5) 

#show on screen begins
cv2.imshow('img',img)
cv2.waitKey(0)
cv2.destroyAllWindows()

# Export the result
cv2.imwrite("face_detected.png", img) 
print('Successfully saved')
</pre>
<p><strong>output of the above program is : </strong></p>
<p><img decoding="async" class="alignnone  wp-image-1096" src="http://www.mitindia.in/wp-content/uploads/2020/12/facerec-1-300x233.png" alt="" width="236" height="183" srcset="https://mitindia.in/wp-content/uploads/2020/12/facerec-1-300x233.png 300w, https://mitindia.in/wp-content/uploads/2020/12/facerec-1.png 761w" sizes="(max-width: 236px) 100vw, 236px" /></p>
<p><a href="https://github.com/opencv/opencv/blob/master/data/haarcascades/haarcascade_frontalface_default.xml" target="_blank" rel="noopener">To download haarcascade face detector xml file follow this link.</a></p>
<p><a class="a2a_button_whatsapp" href="https://www.addtoany.com/add_to/whatsapp?linkurl=https%3A%2F%2Fmitindia.in%2Fface-recognition-using-python%2F&amp;linkname=Face%20recognition%20using%20Python" title="WhatsApp" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fmitindia.in%2Fface-recognition-using-python%2F&amp;linkname=Face%20recognition%20using%20Python" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fmitindia.in%2Fface-recognition-using-python%2F&#038;title=Face%20recognition%20using%20Python" data-a2a-url="https://mitindia.in/face-recognition-using-python/" data-a2a-title="Face recognition using Python"><img src="https://static.addtoany.com/buttons/favicon.png" alt="Share"></a></p><p>The post <a href="https://mitindia.in/face-recognition-using-python/">Face recognition using Python</a> appeared first on <a href="https://mitindia.in"></a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
