Detect nsfw in video file
- Dominant language
- Python
- Stars
- 2.1k
- Forks
- 303
- PR merge metrics
- No merged PRs in 30d
Description
Hello.
Thank you very much for this excellent work.
I'm using it to detect nsfw in video frames. The problem I have is that I can only do it if I extract a frame, save it to disk and then open it and analyze it.
I use opencv.
Is there any way to directly analyze the frame that gives opencv ?
Let me give you an example
cam = cv2.VideoCapture('video.avi')
while(True):
ret,frame = cam.read()
result = detector.predict(frame) ???????
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the detector.predict(frame) call and the OpenCV VideoCapture loop shown in the issue; determine how the model currently accepts image input. Done means a captured OpenCV frame can be analyzed directly without saving it to disk, with the supported usage documented or demonstrated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- keras, opencv, python
- Domain
- computer-vision, machine-learning
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100