Today's learning :-
- Started with CV2 and wrote a program for live webcam streaming.
- Enable Mobile came as IP camera cap = cv2.VideoCapture(http://192.168.0.10/video)
- Manually tried to detect face using cv2.rectangle method. Syntax :- rect_photo2 = cv2.rectangle(photo, (413,166), (413+178, 166+178), [255,0,0], 5)
- Manual method doesn't help when face move, it show a rectangle on just a mentioned dimensions.
- So I used Haar Cascade Classifier program for automatically face detection in an image.
- Applied the same logic and wrote below program which detect my face on live video streaming. It is same as we see in our mobile while we open camera to click a selfie.
- Learned about pass keyword in python, if we don't want to run anything in if/else block. We can use pass keyword to move the control to next code.
- At the end learning more about Machine Learning and tried to understand more about coefficient/weightage.
Comments
Post a Comment
Please share your experience.....