Skip to main content

Posts

BEST OF 36- ARRAY

DATA STRUCTURE-ARRAYS In this blog, we will discuss the best 36 questions of the array.  Firstly we need to know, What is an array?  Let's go into it and know about it. An array is a homogeneous collection of elements and stored sequentially in memory. An array is a data structure that holds a similar type of element. QUESTIONS Q1.  Reverse the array. Q2. Find the maximum and minimum elements in an array. Q3. Find the "Kth" max and min element of an array. Q4. Write a program to cyclically rotate an array by one. Q5. Find the union and intersection of two sorted arrays. Q6. Move all the negatives elements to one side of the array. Q7. find Largest sum contiguous Subarray. Q8. Minimize the maximum difference between heights. Q9. Minimum no. of Jumps to reach the end of an array. Q10. find duplicate in an array of N+1 Integers Q11. Merge Intervals Q12. Next Permutation Q13. Count Inversion Q14. Merge 2 sorted arrays without using Extra spa...

Computer Vision-OpenCV(PART2)

OpenCV-PYTHON MAGICAL LIBRARY In this blog, we will study the rescaling of the image  and resolution of the video. As discussed in the previous tutorial about reading and display of the image, we'll continue with other features of OpenCV. RESCALING OF THE IMAGE In this section, we are going to discuss our second OpenCV example. We will see how to rescale the image. RESCALE THE IMAGE import cv2 as cv def rescaleFrame (frame,scale = 0.75 ): width = int(frame . shape[ 1 ] * scale) height = int(frame . shape[ 0 ] * scale) dimensions = (width,height) return cv . resize(frame,dimensions,interpolation = cv . INTER_AREA) img = cv . imread( "D:\Downloads\luisa-azevedo-h8cUkYFZrzI-unsplash (1).jpg" ) image_resized = rescaleFrame(img,scale = 0.40 ) cv . imshow( "image" ,img) cv . imshow( "image resized" ,image_resized) rescaleFrame= This is the function of rescaling. cv.INTER_AREA=This is used for shrinkin g. RESOLUTION OF ...

Computer Vision-OpenCV

  OpenCV-PYTHON MAGICAL LIBRARY This open-source library plays a very important role in computer vision, machine learning, and image processing. It supports multiple programming languages like Python, C++, Java, etc. It is used to detect and identify objects, faces, or even handwriting.                                         APPLICATIONS Vision-guided robotics surgery Follow eye movements Detect motion of the human Detect and recognize faces Track camera movements Autonomous Vehicle READ AND SHOW THE IMAGE In this section, we are going to discuss our first OpenCV example. We will see how to read and display the image. READ THE IMAGE 1 2 import cv2 as cv img = cv . imread( "path of image" ) imread=This method returns an image that is loaded from the specified file. DISPLAY THE IMAGE 1 cv . imshow( 'name' ,img) imshow= This method displays an image . READ AND SHOW THE...

CRACK INTERVIEW OF STATISTICIAN

CRACKING THE INTERVIEW OF DATA SCIENTIST AND STATISTICIAN IS NOT A PIECE OF CAKE. TO BECOME A DATA SCIENTIST IT IS NECESSARY TO UNDERSTAND THE STATISTICS CONCEPT. We all know that Statistics is the base of Machine Learning and is also one of the favorite topics for the research field and for mathematicians. For any Machine Learning and Data Science Interviews,  Statistics plays a big role to show your understandings of ML Algorithms.  So, We have prepared the list of Most Commonly Asked Interview Questions of Statistics. We've broken the statistics interview questions into three parts. BASIC MEDIUM ADVANCE BASICS(1)-STATS INTERVIEW QUESTIONS    Q1.What is Data?  Q2.What is Big Data?   Q3.What is Data analysis?   Q4. What is the Line?   Q5. What is a plane, hyperplane?   Q6.What is Stats?   Q7.What is quantitative data and qualitative data?   Q8.What are the types of stats?   Q9.What is the descriptive stats?   Q10.What i...