Posts

Amazon S3 (Simple Storage Service) - Cloud Essentials

Image
 Amazon S3 or Amazon Simple Storage Service This is one of the most used Amazon web services where s3 offers a strong data retrieval and data storage solution for unstructured data like coding and data files Cloud computing on AWS provides access to technology services, such as computing power, storage, and databases. Resources are available on demand, and you pay only for what you use. You can choose from hundreds of AWS services to help build your solutions. An Amazon S3 bucket and website hosting feature. This move to Amazon S3 will get you back up and running quickly and make your site more resistant to failure. Using Amazon S3, you can store any type or amount of data and retrieve it from anywhere. We can enable the website hosting feature after uploading data into the S3 bucket. Amazon S3 is a fully managed service, so you don’t need to deploy or manage any servers. S3 buckets are automatically replicated across multiple AWS data centres for high resiliency. Also, any website...

OpenCV Drawing Fucntions cv.line(), cv.circle() , cv.rectangle(), cv.ellipse(), cv.putText()

cv.line() This is used to draw a line on passed MAT(window part) actually it changes the color of the window pixel from given point to ending given points with adjesting the color and thickness by passing as argument along with MAT and other import attributes    cv.circle() Similarly it is also USed to create the shape which Circle we passes here the radius and the middle point to the circle similarly for other functions,  can take information about the argument passed in these functions from official website of the OpenCV but some common arguments are,MAT,  color, thickness, radius, size, initial point, ending point  cv.ellipse()  Used to create the ellipse with different different attributes  To draw the ellipse, we need to pass several arguments. One argument is the center location (x,y). Next argument is axes lengths (major axis length, minor axis length). angle is the angle of rotation of ellipse in anti-clockwise direction. startAngle and endAngl...

OpenCV : VideoWritter()

This is the Function used to write the video in permanent memory  Arguments, 1.  FileName with Extension  2. fourCC code from VideoWriter_fourcc() function which takes fourcc codes like XVID,DVIX etc 3. the FPS or frame per second 4. tuple of the Dimension recommended to use predefined dimensions wisely otherwise u can face errors 5. Color which takes an boolean value and decides the color of video if 1 then coloured other wise grayscale code : import cv2 as cv cap   = cv. VideoCapture ( 0 ) fourcc = cv. VideoWriter_fourcc ( * ' XVID ') output   = cv. VideoWriter (" ./output/myvideo.avi ", fourcc , 20.0 ,( 640 , 480 )) while cap. isOpened ():     ret, frame = cap. read ()     print ( frame )     if not ret:         break     # frame  = cv.flip(frame,0)     cv. imshow (" Video Capturing ", frame )     output. write ( frame )     if cv. waitKey ( 20 ) & 0x...

OpenCV python : cv.VideoWriter_fourcc(*argu)

 Introduction This is the function to generate the fourcc code for video compression or video saving system it returns an integer value that will pass to VideoWritter function as an argument so it will  save the video according to the fourcc opted, code: fourcc = cv. VideoWriter_fourcc ( * ' XVID ') import cv2 as cv cap   = cv. VideoCapture ( 0 ) fourcc = cv. VideoWriter_fourcc ( * ' XVID ') output   = cv. VideoWriter (" ./output/myvideo.avi ", fourcc , 20.0 ,( 640 , 480 )) while cap. isOpened ():     ret, frame = cap. read ()     print ( frame )     if not ret:         break     # frame  = cv.flip(frame,0)     cv. imshow (" Video Capturing ", frame )     output. write ( frame )     if cv. waitKey ( 20 ) & 0x FF == ord (' x '):         print (' Video saved Successfully in current Directory ')         break #Now most ...

Computer Vision - VideoCapture()

 Introduction and Use This is a function used to start capturing the video or starting the reading process or Simply opening the camera or start playing the video with imshow()  for accurate : This is used to load the video in Memory so we can read  and show the video frame by frame which is an another task  code: import cv2 as cv cap   = cv. VideoCapture ( 0 ) fourcc = cv. VideoWriter_fourcc ( * ' XVID ') output   = cv. VideoWriter (" ./output/myvideo.avi ", fourcc , 20.0 ,( 640 , 480 )) while cap. isOpened ():     ret, frame = cap. read ()     if not ret:         break     frame   = cv. flip ( frame , 0 )     cv. imshow (" Video Capturing ", frame )     output. write ( frame )     if cv. waitKey ( 20 ) & 0x FF == ord (' x '):         print (' Video saved Successfully in current Directory ')         break #Now most ...

AWS : Cloud Concepts

Image
 WHAT IS CLOUD COMPUTING Cloud Computing is a modern technique which involves Cloud servers i.e which are collectively physically present at a certain place but we use their network to process, Get, Post, and Store the data here it eliminates the use of dedicated local Servers at home/workplace On-Premise(Local Server): Your buy the service You takes the risk of your date Your hire the IT people  You Pay rent to real state Cloud Providers SomeOne Else hire the IT people someone owns the servers  Someone else owns the real state bills and cost Your resposibility is only for your configuration cloud services      Evolution OF Cloud Hosting Dedicated server in Late 90's The Dedicated server is used everywhere to publish a single web app/site Virtual Private Server It is also a private server where you are required to buy a server as in the late '90s but here you can host more than one website on a single server            ...

Tic Tac Toe - codixGame

Image
Tic Tac Toe - codixGame Tic Tac Toe - codixGame Welcome to Tic Tac Toe - codixGame Turn For X Reset

Pageviews