Skip to content

Commit b3dd5df

Browse files
Some Tweaks
1 parent 3a6c256 commit b3dd5df

File tree

17 files changed

+46733
-13
lines changed

17 files changed

+46733
-13
lines changed
Binary file not shown.

BabbleApp/Models/EFFB1E30MCJPEG/openvino/model.xml

Lines changed: 17140 additions & 0 deletions
Large diffs are not rendered by default.
31.4 MB
Binary file not shown.
Binary file not shown.

BabbleApp/Models/MOS3E18MCJPEG/openvino/model.xml

Lines changed: 14775 additions & 0 deletions
Large diffs are not rendered by default.
31.4 MB
Binary file not shown.
Binary file not shown.

BabbleApp/Models/MOS3E26MCJPEG/openvino/model.xml

Lines changed: 14775 additions & 0 deletions
Large diffs are not rendered by default.

BabbleApp/babble_processor.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,12 @@ def run(self):
223223
if not self.capture_crop_rotate_image():
224224
continue
225225

226-
226+
if self.settings.gui_use_red_channel: # Make G and B channels equal to red.
227+
blue_channel, green_channel, red_channel = cv2.split(self.current_image)
228+
new_blue_channel = red_channel
229+
new_green_channel = red_channel
230+
self.current_image = cv2.merge((new_blue_channel, new_green_channel, red_channel))
231+
227232
self.current_image_gray = cv2.cvtColor(
228233
self.current_image, cv2.COLOR_BGR2GRAY
229234
)

0 commit comments

Comments
 (0)