VOGONS


Reply 40 of 49, by vvbee

User metadata
Rank Oldbie
Rank
Oldbie

Sounds good, and good that the docs were enough to get you going. It's just the nature of free open source that you need to do some legwork. I spent maybe 100 hours over just two weeks preparing the latest couple versions, so imagine having to do even more work.

Any version of VCS from maybe two years back should come with a compatible pre-built OpenCV dll, so you only need the OpenCV headers as long as you have that previous VCS. You could probably do a 64-bit build without changing anything but the couple required libraries (and 64-bit Qt + compiler).

Reply 41 of 49, by happy

User metadata
Rank Newbie
Rank
Newbie
lushen124 wrote on 2021-04-10, 22:38:

After a few hours of trial and error, I finally was able to build a version that works. I will say that the instructions are likely inadequate for somebody that isn't already familiar with software development and tracking down old versions of OpenCV and MinGW isn't particularly straightforward either. In the end, I had to resort to manually building OpenCV 3.2 in an x86 flavor (needing to find and use CMake to do so) because the available download for this only has a x64 flavor in the download. I ran through two different versions of MinGW until I found one that worked with the appropriate posix libraries for Windows. Maybe it's worth writing a bit more on the build instructions, at least for setting up in a Windows environment.

In any case, I still want to thank you for writing up this application for interfacing with the Datapath Vision line of capture cards.

Any chance you could share your built version?
I tried building this now for a couple of hours but no luck. I have no experience with this tool chain. At least for me the information on github and comments here are not enough to get me going.

Reply 42 of 49, by vvbee

User metadata
Rank Oldbie
Rank
Oldbie
happy wrote on 2021-07-18, 13:48:

Any chance you could share your built version?
I tried building this now for a couple of hours but no luck. I have no experience with this tool chain. At least for me the information on github and comments here are not enough to get me going.

For building OpenCV, see if the answer over at https://answers.opencv.org/question/122696/is … -32bit-windows/ helps. VCS uses the "world" version of OpenCV (BUILD_opencv_world).

Reply 43 of 49, by vvbee

User metadata
Rank Oldbie
Rank
Oldbie

The binary's again now hosted on GitHub, https://github.com/leikareipa/vcs/releases, since the server isn't coming back any time soon. Keep in mind it's an evaluation version. If you continue using it, you're required to leave ten bucks on a bench next time you go out. If that's illegal in your area then you need to find a legal way.

Reply 44 of 49, by happy

User metadata
Rank Newbie
Rank
Newbie

I had found the link for building cmake before but apparently used a too new cmake. I managed to compile everything in the meantime. But thank you for hosting the binaries again! Your tool makes a big difference in quality with my VisionRGB-PRO1

Reply 45 of 49, by NightSprinter

User metadata
Rank Member
Rank
Member

Is there any way to get this to compile on newer versions of Linux? I had to symlink the opencv2 include folder, but now get the following error:

src/filter/filters/delta_histogram/filter_delta_histogram.cpp: In member function ‘virtual void filter_delta_histogram_c::apply(u8*, const resolution_s&)’:
src/filter/filters/delta_histogram/filter_delta_histogram.cpp:67:96: error: ‘CV_AA’ was not declared in this scope
67 | oint(x1, y1b), cv::Point(x2, y2b), cv::Scalar(255, 0, 0), 2, CV_AA);
| ^~~~~

make: *** [Makefile:1458: generated_files/filter_delta_histogram.o] Error 1
seth@Linux-Testbench:~/Downloads/vcs-2.4.0$

If you know how to do so, I'd gladly drop some money to you for this.

Reply 46 of 49, by vvbee

User metadata
Rank Oldbie
Rank
Oldbie
NightSprinter wrote on 2021-10-28, 01:56:
Is there any way to get this to compile on newer versions of Linux? I had to symlink the opencv2 include folder, but now get th […]
Show full quote

Is there any way to get this to compile on newer versions of Linux? I had to symlink the opencv2 include folder, but now get the following error:

src/filter/filters/delta_histogram/filter_delta_histogram.cpp: In member function ‘virtual void filter_delta_histogram_c::apply(u8*, const resolution_s&)’:
src/filter/filters/delta_histogram/filter_delta_histogram.cpp:67:96: error: ‘CV_AA’ was not declared in this scope
67 | oint(x1, y1b), cv::Point(x2, y2b), cv::Scalar(255, 0, 0), 2, CV_AA);
| ^~~~~

make: *** [Makefile:1458: generated_files/filter_delta_histogram.o] Error 1
seth@Linux-Testbench:~/Downloads/vcs-2.4.0$

If you know how to do so, I'd gladly drop some money to you for this.

I think you'll either need to install OpenCV 3.2.0 or to edit the VCS source code to resolve the build errors (the problem is the OpenCV API changes a lot between versions, e.g. CV_AA might be cv::LINE_AA nowadays, but it should be doable without tons of work).

I have OpenCV 3.2.0 on Ubuntu 20.04, but can't remember how I got it there. Should be possible anyway.

Reply 47 of 49, by brassicGamer

User metadata
Rank Oldbie
Rank
Oldbie

As this seems to be the main place for VCS issues, I thought I would share a discovery in case it relates to anyone else. I couldn't get VCS working at all on my system with the VisionRGB-X2 aka DGC133E. It's a PCI-X card and is installed in the only PCI-X board I have, an HP OEM version of the TR-DLS with dual Tualatins.

It crashes with an error in module Qt5Gui.dll, code 0xc000001d. Turns out the Qt5 libraries use SSE2 instructions, which the Pentium III doesn't have. Fun times.

Check out my blog and YouTube channel for thoughts, articles, system profiles, and tips.

Reply 48 of 49, by vvbee

User metadata
Rank Oldbie
Rank
Oldbie
brassicGamer wrote on 2021-11-30, 11:05:

As this seems to be the main place for VCS issues, I thought I would share a discovery in case it relates to anyone else. I couldn't get VCS working at all on my system with the VisionRGB-X2 aka DGC133E. It's a PCI-X card and is installed in the only PCI-X board I have, an HP OEM version of the TR-DLS with dual Tualatins.

It crashes with an error in module Qt5Gui.dll, code 0xc000001d. Turns out the Qt5 libraries use SSE2 instructions, which the Pentium III doesn't have. Fun times.

Cool hardware. I guess one way is to manually compile the Qt libraries with SSE2 disabled. But since VCS is fairly CPU-heavy it might not run so well on those CPUs.

Reply 49 of 49, by brassicGamer

User metadata
Rank Oldbie
Rank
Oldbie
vvbee wrote on 2021-12-03, 16:52:

Cool hardware. I guess one way is to manually compile the Qt libraries with SSE2 disabled. But since VCS is fairly CPU-heavy it might not run so well on those CPUs.

Thanks! Indeed it does not run so well. Even with just the Vision display window open, GUI performance plummets (especially as AGP is not available on this board). I also had issues using alternative capture tools such as VirtualDub, which crashed during capture. It works fine on a faster machine (it turns out this card will work perfectly in some 32-bit PCI slots, provided the correct drivers can be obtained). Video editing packages such as Pinnacle Studio don't even recognise my Datapath card as an input device (I guess they don't use Direct Show). It has been an interesting process.

Check out my blog and YouTube channel for thoughts, articles, system profiles, and tips.