Open sophia44 opened 7 years ago
Hi Sophia, first of all sorry for this old repository. Simply, i dont have enough time.
In these days i used archlinux distro, opencv 2.4.13 and nothing else!!! Tomorrow if I can i upload a script with the settings of everything and also a Dockerfile (docker) to make the tests easier :)
Hey, sorry to bother you again. I saw you edit the readme file, but I didn't find the script and the docker, I think maybe I miss something. Thank you so much~
Hi Sophia, sorry about that (When I tried to upload the changes my internet connection was lost)
Now in the repository there is an updated readme and a Dockerfile.
Let me tell you that I have no special variables, settings or anything in particular.
Build Opencv (2..4.13), and compile the main.cpp program with c++11 directives and all libraries from opencv. For example,
$ g++ -std=c++11 -o OpenSourceVS main.cpp pkg-config --cflags --libs opencv
then run $ ./OpenSourceVS
Attention!! The code was made in a rush, many features are missing and some of them may be that the binary accepts parameters (for example the name of the input file). Therefore, the input file must be in the same folder of the binary and be called video2.avi
Try it out, and let me know if you have any issue. Do you like make improvements to the source code? please go ahead!!
PD: Sorry about my english.
Hi Nelson, I am really appreciated for your help!!! you are so nice and what you have done really help me a lot. In face ,when I build the image I met some problems, after I run the "$ docker build -t videoresumen:1.0 .",it has some errors, like eg "E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/c/cyrus-sasl2/libsasl2-modules-db_2.1.26.dfsg1-14build1_amd64.deb Hash Sum mismatch" after that, when I run the container ,the terminal reported that "unable to find image 'videoresume1.0' locally, pulling repository _videoresume". Because this is the first time I use dockerfile, before I run it I use hello-world to test it and it succeeded. So I guess if it's possible the reason why I couldn't find the videoresume1.0 is because I some links or webs were already didn't exist or invalid? Thank you so much!
Hi Sophia, please tell me if you have installed opencv 2.4.13 what is the output of:
$ g++ -std=c++11 -o OpenSourceVS main.cpp pkg-config --cflags --libs opencv
if not, and you want to try docker (in my opinion is the best choice) what is the output of $ docker images
and pay attention to the syntaxs "videoresumen:1.0" you mismach double dots in [...] reported that "unable to find image 'videoresume1.0' locally, pulling repository _videoresume" [...]
I run the Dockerfile in two machines and works just fine.
Best regarts!
Hi Nelson, I have found my problem and run your program successfully. I really appreciate for your help, your are so talent and smart, and what you've done really inspire me. In fact I just started to study in this area, recently I am studying in surveillance video synopsis. In the future, I'd like to focus on character action recognition, for example like identify fighting. The video synopsis is been a part of it, which can help to save more time when we have to review a very long video. I tried to read your paper, however I have never studied in Spanish, so it's been a little bit hard for me to read your paper and code, but I'll try my best. Finally, really thanks for your help, my english is not very good, but I sincerely thank you so much!!
any idea on memory usage for a 200mb avi video? thanks
Hi Nelson, I have found my problem and run your program successfully. I really appreciate for your help, your are so talent and smart, and what you've done really inspire me. In fact I just started to study in this area, recently I am studying in surveillance video synopsis. In the future, I'd like to focus on character action recognition, for example like identify fighting. The video synopsis is been a part of it, which can help to save more time when we have to review a very long video. I tried to read your paper, however I have never studied in Spanish, so it's been a little bit hard for me to read your paper and code, but I'll try my best. Finally, really thanks for your help, my english is not very good, but I sincerely thank you so much!!
i have issue with the docker. Unable to run the program as it has "unable to connect to X server". am using ubuntu 18. i had googled and tried to put my display, xhost + but unable to resolve it. may i know how you resolve it? thank you
It would be very helpful if you can tell me your running environment, thank you so much