python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Slide a window through an image, and change the value of center pixel in window based on the average value of the sliding window
I am trying to slide a 5 by 5 2D window across a gray image.
If all the pixels within that 2D window equal to 200, replace the center pixel value within the window with 100.
import cv2
import numpy as...
Joseph Adam
Votes: 0
Answers: 1
dummy mask for sample DICOM Image
I am trying to create a dummy mask on a sample DICOM Image using pydicom, Opencv and numpy
Getting error -
Traceback (most recent call last):
File "mymask.py", line 22, in <module>
...
user6092483
Votes: 0
Answers: 1
Detect nose coordinates on a face profil view
In such tasks, I tend to you Mediapipe or Dlib to detect the landmarks of the face and get the specific coordinates I'm interested to work with.
But in the case of the human face taken from a Profil v...

Capito
Votes: 0
Answers: 1
Send img from pi using python sockets to display in real time using cv2 on windows
I'm trying to send images from my pi to windows so I can use yolo on windows then send code back to my pi to control my robot.
I can't display the pictures sent by the pi on my pc in real time because...

Steven Cornect
Votes: 0
Answers: 1