Spaces:
Sleeping
Sleeping
Update pages/7_Unstructured_data.py
Browse files
pages/7_Unstructured_data.py
CHANGED
|
@@ -646,14 +646,14 @@ if file_type == "VIDEO🎥":
|
|
| 646 |
- **`cv2.imshow()`**: As it is not creating pop-up window ,it internally calls the namedWindow() where we can create our own pop-up window
|
| 647 |
- **`cv2.waitKey()`**: It internally creates a po-up window and for that window it is going to add delay
|
| 648 |
|
| 649 |
-
|
| 650 |
|
| 651 |
-
|
| 652 |
- **`cv2.destroyAllWindows()`**: Closes all OpenCV windows that were opened during the program's execution.
|
| 653 |
- **`cv2.MouseCallBack()`**: It is a technique where we can make lot of things automated
|
| 654 |
- **`cv2.SetMouseCallBack()`**:It will be automatically activated when we hover the mouse inside pop-up window.
|
| 655 |
|
| 656 |
-
|
| 657 |
- It contains 5 parameters
|
| 658 |
- **5 parameters:**
|
| 659 |
- def fun(event,x,yflags,param):
|
|
|
|
| 646 |
- **`cv2.imshow()`**: As it is not creating pop-up window ,it internally calls the namedWindow() where we can create our own pop-up window
|
| 647 |
- **`cv2.waitKey()`**: It internally creates a po-up window and for that window it is going to add delay
|
| 648 |
|
| 649 |
+
- Waits for a key event for a specified amount of time (in milliseconds). It returns the ASCII value of the key pressed.
|
| 650 |
|
| 651 |
+
-If 0 is passed, it waits indefinitely until a key is pressed.
|
| 652 |
- **`cv2.destroyAllWindows()`**: Closes all OpenCV windows that were opened during the program's execution.
|
| 653 |
- **`cv2.MouseCallBack()`**: It is a technique where we can make lot of things automated
|
| 654 |
- **`cv2.SetMouseCallBack()`**:It will be automatically activated when we hover the mouse inside pop-up window.
|
| 655 |
|
| 656 |
+
-It is going to call user-defined function which tracks the events of mouse
|
| 657 |
- It contains 5 parameters
|
| 658 |
- **5 parameters:**
|
| 659 |
- def fun(event,x,yflags,param):
|