What is K-means Clustering:





Admin face recognition

import cv2
import numpy as np
model=cv2.CascadeClassifier('haarcascade_frontalface_default.xml')

To send email

import smtplib
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
def send_email(user, recipient):
mail_content = """
This…


Image Creation:

import cv2
import numpy as np
#to create plain black image
photo=np.zeros((1000,1000,3))
#to create circles
cv2.circle(photo, (500,70),30,(238,130,238),-1)
cv2.circle(photo, (250,250),70,(51,153,255),-1)
cv2.circle(photo, (250,250),30,(0,255,255),-1)
#cv2.circle(photo, (70,500),30,(250,250,250),-1)
cv2.circle(photo, (800,500),50,(102,0,204),-1)
#to create smaller mountain(triangle)
pts = np.array([[800,750],[1000,1000],[600,1000]])
pts = pts.reshape((-1,1,2))
cv2.polylines(photo,[pts],True,(0, 75, 150),10)
cv2.fillPoly(photo,[pts],(0, 75, 150))

Confusion matrix and its types of error.

cyber crime


What is Docker?

Steps to Follow:

K.S.L.K.Harini

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store