Search found 5 matches

by bvsp
2020-02-02T08:44:02-07:00
Forum: Users
Topic: improving cleaning script
Replies: 1
Views: 2421

improving cleaning script

I found a whiteboard cleaning script which works well enough. This is the script: #!/bin/bash convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2" Original image: https://imgur.com/a/yrbnPnJ This is the output (left is input, right is outpu...
by bvsp
2020-01-31T12:15:11-07:00
Forum: Users
Topic: whiteboard unique keyframes
Replies: 6
Views: 1845

Re: whiteboard unique keyframes

Also is there a way to crop the whiteboard region (large white rectangle)?
https://media.gettyimages.com/photos/sh ... d876659458
by bvsp
2020-01-31T12:12:26-07:00
Forum: Users
Topic: whiteboard unique keyframes
Replies: 6
Views: 1845

Re: whiteboard unique keyframes

Thanks snibgo!
Hm maybe I can check the gradual darkening of the picture and disregard the frame (the one with the person occlusion) if it happens to be not within some threshold.
The erasure will be done by the person standing there I guess.
I will try to prepare some sample frames.
by bvsp
2020-01-31T11:29:33-07:00
Forum: Users
Topic: whiteboard unique keyframes
Replies: 6
Views: 1845

Re: whiteboard unique keyframes

Linux, version 6.9.7

What about if there is occlusion by the writer? This would confuse the above method.
Also how do you suggest to get the darkest frame? histogram?
by bvsp
2020-01-31T09:20:17-07:00
Forum: Users
Topic: whiteboard unique keyframes
Replies: 6
Views: 1845

whiteboard unique keyframes

I want to identify unique keyframes from a video of a lecture (whiteboard). Let's say I extract frames every 1 second and there are a total of 1000 frames. Frames will be additive, meaning that: - frame 1 will have just one word written in the whiteboard - frame 4 will have two words - frame 10 will...