Ask Your Question

SpacePirate's profile - activity

2017-10-20 09:15:20 -0500 commented question How to add the "contrib" part to cv2

oh nice :D

2017-10-18 10:14:26 -0500 commented answer Cheap 1080p camera for insect detection

well apparently you can using a proprietary additional board (there is only one CSI port on the raspberry), but there is

2017-10-18 10:12:51 -0500 asked a question How to add the "contrib" part to cv2

How to add the "contrib" part to cv2 Hi, I'm using openCv 3.1.0 and python 2.4, both x64 version. I was looking at this

2017-10-14 02:08:35 -0500 received badge  Supporter (source)
2017-10-14 02:08:33 -0500 commented answer Is there an advantage to building opencv yourself?

thank you :)

2017-10-14 02:08:14 -0500 marked best answer Is there an advantage to building opencv yourself?

Hi,

Other than being able to get correction before the release. Does code compiled on your computer is faster than code compiled elsewhere?

Thanks.

2017-10-14 02:08:14 -0500 received badge  Scholar (source)
2017-10-13 08:40:22 -0500 received badge  Student (source)
2017-10-13 04:08:25 -0500 asked a question Is there an advantage to building opencv yourself?

Is there an advantage to building opencv yourself? Hi, Other than being able to get correction before the release. Does

2017-10-12 07:09:26 -0500 marked best answer Error during opencv 3.3.0 source compilation

Hi,

So I got the sources from : https://github.com/opencv/opencv/arch...

installed MinGW in c:\MinGW and rebooted (latest version)

I then installed Cmake from https://cmake.org/ (latest version)

I extracted the sources in c:\opencv_opencv3.3.0-sources

I runned cmakeGui

I gave it c:\opencv<_opencv3.3.0-sources as source dir and c:\opencv<_opencv3.3.0-build as build dir

I hitted 'configure', selected 'MinGW makefile' and let it run util it showed me checkboxes in red

I checked the C examples

I hitted 'configure' again and let it run, now all the line turned white

I hitted 'generate'

Then I went in c:\opencv_opencv3.3.0-build and opened a command line an typed : 'mingw32-make --debug'

and a 28% I get an error :

[ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/mathfuncs_core.avx2.cpp.obj
    Successfully remade target file 'modules/core/CMakeFiles/opencv_core.dir/mathfuncs_core.avx2.cpp.obj'.
     File 'modules/core/CMakeFiles/opencv_core.dir/stat.avx2.cpp.obj' does not exist.
    Must remake target 'modules/core/CMakeFiles/opencv_core.dir/stat.avx2.cpp.obj'.
[ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/stat.avx2.cpp.obj
    Successfully remade target file 'modules/core/CMakeFiles/opencv_core.dir/stat.avx2.cpp.obj'.
     File 'modules/core/CMakeFiles/opencv_core.dir/vs_version.rc.obj' does not exist.
    Must remake target 'modules/core/CMakeFiles/opencv_core.dir/vs_version.rc.obj'.
[ 28%] Building RC object modules/core/CMakeFiles/opencv_core.dir/vs_version.rc.obj
C:\MinGW\bin\windres.exe: invalid option -- W
Usage: C:\MinGW\bin\windres.exe [option(s)] [input-file] [output-file]
 The options are:
  -i --input=<file>            Name input file
  -o --output=<file>           Name output file
  -J --input-format=<format>   Specify input format
  -O --output-format=<format>  Specify output format
  -F --target=<target>         Specify COFF target
     --preprocessor=<program>  Program to use to preprocess rc file
     --preprocessor-arg=<arg>  Additional preprocessor argument
  -I --include-dir=<dir>       Include directory when preprocessing rc file
  -D --define <sym>[=<val>]    Define SYM when preprocessing rc file
  -U --undefine <sym>          Undefine SYM when preprocessing rc file
  -v --verbose                 Verbose - tells you what it's doing
  -c --codepage=<codepage>     Specify default codepage
  -l --language=<val>          Set language when reading rc file
     --use-temp-file           Use a temporary file instead of popen to read
                               the preprocessor output
     --no-use-temp-file        Use popen (default)
  -r                           Ignored for compatibility with rc

  @<file>                      Read options from <file>
  -h --help                    Print this help message
  -V --version                 Print version information
FORMAT is one of rc, res, or coff, and is deduced from the file name
extension if not specified.  A single file name is an input file.
No input-file is stdin, default rc.  No output-file is stdout, default rc.
C:\MinGW\bin\windres.exe: supported targets: pe-i386 pei-i386 elf32-i386 elf32-iamcu elf32-little elf32-big plugin srec symbolsrec verilog tekhex binary ihex
modules\core\CMakeFiles\opencv_core.dir\build.make:1641: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/vs_version.rc.obj' failed
mingw32-make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/vs_version.rc.obj] Error 1
CMakeFiles\Makefile2:1550: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/all' failed
mingw32-make[1]: *** [modules ...
(more)
2017-10-12 01:10:09 -0500 asked a question Error during opencv 3.3.0 source compilation

Error during opencv 3.3.0 source compilation Hi, So I got the sources from : https://github.com/opencv/opencv/archive/3

2017-10-12 00:58:35 -0500 received badge  Enthusiast
2017-10-10 13:57:05 -0500 asked a question video from webcam is extremly slow

video from webcam is extremly slow Hi, I just got a highend 1080p webcam, opening it in the "camera" app of windows 10

2017-10-10 13:53:39 -0500 commented answer Cheap 1080p camera for insect detection

yeah but you cannot plug 2 of them

2017-09-28 22:29:37 -0500 asked a question Cheap 1080p camera for insect detection

Cheap 1080p camera for insect detection HI, right now I'm going with thos 25€ ones : https://www.amazon.fr/Microphone-d

2016-11-07 16:03:29 -0500 asked a question Locating a non continuous shape

Hi,

I'd like to make an exploration autopilot for a game I love, elite dangerous, in python. Because I'm a python dev, It's fun, and I'll learn a lot about image processing.

I've found many tutorial aimed at locating a shape, however those were "continous" shape, like circles, squares, etc.

I'm looking for this shape (the blue dot can move) :

compass

This compass is used to locate where you need to go, my aim is to extract the direction from it's center and the blue dot.

This compass is always in the lower left corner but not always at the same place, the camera moves a little bit when you move plus the environment can change it's color background.

Example - flying below a star :

below a star

Example - regular space flying :

regular deep space

What would you do to locate, extract and read the compass?

Thanks.

Ps : I'm coding in python 2.7