MCPcopy Create free account

hub / github.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition / functions

Functions167 in github.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition

↓ 1 callersMethodprocess_frame
Process the frame of the camera (or other capture device) :param frame_rgb: Image to process in rgb format, of shape (H, W, 3) :retur
chapter8/wx_gui.py:115
↓ 1 callersMethodprocess_frame
Process the frame of the camera (or other capture device) :param frame_rgb: Image to process in rgb format, of shape (H, W, 3) :retur
chapter1/wx_gui.py:115
↓ 1 callersMethodprocess_frame
Process the frame of the camera (or other capture device) :param frame_rgb: Image to process in rgb format, of shape (H, W, 3) :retur
chapter4/wx_gui.py:115
↓ 1 callersMethodprocess_frame
Process the frame of the camera (or other capture device) :param frame_rgb: Image to process in rgb format, of shape (H, W, 3) :retur
chapter3/wx_gui.py:115
↓ 1 callersFunctionrecognize
Recognizes hand gesture in a single-channel depth image This method estimates the number of extended fingers based on a single-channe
chapter2/gestures.py:13
↓ 1 callersFunctionsave_datum
(path, label, img)
chapter8/data/store.py:19
↓ 1 callersMethodscale_and_offset
(points: Sequence[Point], source_size: Tuple[int, int], dst_
chapter3/feature_matching.py:205
↓ 1 callersFunctionsegment_arm
Segments arm region This method accepts a single-channel depth image of an arm and hand region and extracts the segmented arm region.
chapter2/gestures.py:39
↓ 1 callersFunctiontrack
(dets: np.ndarray, illustration_frame: np.ndarray = None)
chapter10/main.py:69
↓ 1 callersFunctiontrain_one_vs_all_SVM
(X_train, y_train)
chapter7/chapter7.py:30
↓ 1 callersFunctiontrain_tf_model
(X_train, y_train)
chapter7/train_tf2.py:27
Method__init__
Initialize all necessary parameters and generate a basic GUI layout that can then be augmented using `self.augment_layout`.
wx_gui.py:25
Method__init__
(self, *args, clf_path=None, **kwargs)
chapter8/chapter8.py:38
Method__init__
Initialize all necessary parameters and generate a basic GUI layout that can then be augmented using `self.augment_layout`.
chapter8/wx_gui.py:25
Method__init__
(self, *, face_cascade='params/haarcascade_frontalface_default.xml', eye_cas
chapter8/detectors.py:17
Method__init__
Constructor This method initializes the multiple-objects tracking algorithm. :param min_area: Minimum area for a proto-obje
chapter6/tracking.py:22
Method__init__
(self, bbox, label)
chapter10/sort.py:58
Method__init__
Sets key parameters for SORT
chapter10/sort.py:157
Method__init__
Initialize all necessary parameters and generate a basic GUI layout that can then be augmented using `self.augment_layout`.
chapter1/wx_gui.py:25
Method__init__
(self, *args, **kwargs)
chapter1/chapter1.py:49
Method__init__
Initialize all necessary parameters and generate a basic GUI layout that can then be augmented using `self.augment_layout`.
chapter4/wx_gui.py:25
Method__init__
Constructor This method initializes the scene reconstruction algorithm. :param K: 3x3 intrinsic camera matrix :p
chapter4/scene3D.py:30
Method__init__
Initialize the SURF descriptor, FLANN matcher, and the tracking algorithm. :param train_image: training or template image sh
chapter3/feature_matching.py:38
Method__init__
Initialize all necessary parameters and generate a basic GUI layout that can then be augmented using `self.augment_layout`.
chapter3/wx_gui.py:25
Method_linear_ls_triangulation
Triangulation via Linear-LS method
chapter4/scene3D.py:358
Method_on_button_calibrate
Enable recording mode upon pushing the button
chapter4/calibrate.py:120
Method_on_next_frame
Capture a new frame from the capture device, send an RGB version to `self.process_frame`, refresh.
wx_gui.py:88
Method_on_next_frame
Capture a new frame from the capture device, send an RGB version to `self.process_frame`, refresh.
chapter8/wx_gui.py:88
Method_on_next_frame
Capture a new frame from the capture device, send an RGB version to `self.process_frame`, refresh.
chapter1/wx_gui.py:88
Method_on_next_frame
Capture a new frame from the capture device, send an RGB version to `self.process_frame`, refresh.
chapter4/wx_gui.py:88
Method_on_next_frame
Capture a new frame from the capture device, send an RGB version to `self.process_frame`, refresh.
chapter3/wx_gui.py:88
Method_on_paint
Draw the camera frame stored in `self.bmp` onto `self.video_pnl`.
wx_gui.py:102
Method_on_paint
Draw the camera frame stored in `self.bmp` onto `self.video_pnl`.
chapter8/wx_gui.py:102
Method_on_paint
Draw the camera frame stored in `self.bmp` onto `self.video_pnl`.
chapter1/wx_gui.py:102
Method_on_paint
Draw the camera frame stored in `self.bmp` onto `self.video_pnl`.
chapter4/wx_gui.py:102
Method_on_paint
Draw the camera frame stored in `self.bmp` onto `self.video_pnl`.
chapter3/wx_gui.py:102
Method_on_snapshot
Takes a snapshot of the current frame This method takes a snapshot of the current frame, preprocesses it to extract the head
chapter8/chapter8.py:133
Methodaugment_layout
(self)
chapter8/chapter8.py:54
Methodaugment_layout
Initializes GUI
chapter8/chapter8.py:90
Methodaugment_layout
Add a row of radio buttons below the camera feed.
chapter1/chapter1.py:55
Methodaugment_layout
(self)
chapter4/calibrate.py:22
Functionconvert_to_pencil_sketch
(rgb_image)
chapter1/tools.py:83
Functionconvert_to_pencil_sketch_ordered
(rgb_image)
chapter1/tools.py:75
Methodcurrent_state
Returns the current bounding box estimate.
chapter10/sort.py:109
Functiondodge
(image, mask)
chapter1/tools.py:99
Functiondodge_naive
(image, mask)
chapter1/tools.py:104
Methoddraw_epipolar_lines
Draws epipolar lines This method computes and draws the epipolar lines of the two loaded images. :param feat_mod
chapter4/scene3D.py:99
Functiongrayscale_featurize
Featurize by calculating grayscale values of the data For each image: 1. resize all images to have the same (usually smaller size)
chapter7/data/process.py:55
Functionhsv_featurize
Featurize by calculating HSV values of the data For each image: 1. resize all images to have the same (usually smaller size)
chapter7/data/process.py:38
Functionint_decode
(value)
chapter8/data/process.py:27
Functionint_encode
(label)
chapter8/data/process.py:23
Functionlowe_match
(descriptors1, descriptors2)
chapter5/hdr.py:37
Functionplot_crf
(crf, colors=OPEN_CV_COLORS)
chapter5/hdr.py:59
Methodplot_rectified_images
Plots rectified images This method computes and plots a rectified version of the two images side by side. :param
chapter4/scene3D.py:132
Functionprecision
(y_predicted, y_true, positive_label)
chapter7/chapter7.py:44
Functionprepare
(image, box, size, type, breed)
chapter9/data.py:70
Methodprocess_frame
(self, frame_rgb: np.ndarray)
chapter8/chapter8.py:57
Methodprocess_frame
Add a bounding box around the face if a face is detected.
chapter8/chapter8.py:126
Methodprocess_frame
Process the frame of the camera (or other capture device) Choose a filter effect based on the which of the radio buttons was clicked.
chapter1/chapter1.py:91
Methodprocess_frame
Processes each frame If recording mode is on (self.recording==True), this method will perform all the hard work of the camera
chapter4/calibrate.py:48
Functionread_frame
()
chapter2/frame_reader.py:5
Functionrecall
(y_predicted, y_true, positive_label)
chapter7/chapter7.py:51
Functionsurf_featurize
(data, *, scale_size=(16, 16), num_surf_features=100)
chapter7/data/process.py:28
Functionthumbnail
(img_rgb, long_edge=400)
chapter5/hdr.py:16
Functiontrain_MLP
(X_train, y_train)
chapter7/chapter7.py:21
Functiontrain_sklearn_random_forest
(X_train, y_train)
chapter7/chapter7.py:66
Methodupdate
Updates the state vector with observed bbox.
chapter10/sort.py:88
← previous101–167 of 167, ranked by callers