And then pass it to Tracker model.Therefore, I want to standardize the detected faces in face_detector's Sink Pad.
facedetectorsrcpad = face_detector.get_static_pad("sink")
if not facedetectorsrcpad:
sys.stderr.write(" Unable to get sink pad of facedetector\n")
facedetectorsrcpad.add_probe(Gst.PadProbeType.BUFFER, sgie1_sink_pad_buffer_probe, 0)
How can I implement it in method sgie1_sink_pad_buffer_probe?
Hi! After the first level network model obtains the face, the image needs to be standardized first.(Refer to here)
And then pass it to Tracker model.Therefore, I want to standardize the detected faces in face_detector's Sink Pad.
How can I implement it in method sgie1_sink_pad_buffer_probe?