Jean-Jacques Sarton
Jean-Jacques Sarton
I have found a simple solution which seem to work well. We need to include #include and if q is pressed to call std::raise(SIGTERM); With this, the opencv signal handler...
Assume that we call backscrub with the arguments: backscrub -b img.jpg -c /dev/video0 -v /dev/video3 --cg 640x480 --vg 480x480 The raw image (captured by the camera has an aspect ratio...
I have modified deepseg.c as follow: added after the last variable declaration within main() ``` cv::Rect crop_region(0,0,0,0); ``` Before the mainloop added: ``` // calculate crop region, only if result...
I have added cropping of capture and background. In order to do so I modified 4 files. See attached diff files. [background.cc.txt](https://github.com/floe/backscrub/files/9468321/background.cc.txt) [deepseg.cc.txt](https://github.com/floe/backscrub/files/9468322/deepseg.cc.txt) [libbackscrub.cc.txt](https://github.com/floe/backscrub/files/9468323/libbackscrub.cc.txt) [libbackscrub.h.txt](https://github.com/floe/backscrub/files/9468324/libbackscrub.h.txt)
Sorry, but my English is not so good. I have submitted a PR (Problem Report or Push Request?). I hope that the space/tabs typos are no more present. Unfortunately, I...
I may use a switch, this is not a big problem. As far I can think about background distortion, this appeared first with the use of different aspect ratio for...
I will review my code and hopefully fix the little issues.
On my fork jjsarton/backscrub the origin branch contain the latest code including your suggestions or the revised code. I thing that your suggestion concerning line 680 to 687 (grab_background) may...
Github is very slow! I had committed the suggested changes and compared the own source with my branch. All modifications what not take into account! I have pushed my own...
I have to learn how to deal with GitHub! I hope that I will learn this.