Ask Your Question

ROSpioneer's profile - activity

2019-07-11 08:10:45 -0500 commented question cannot find -lopencv_gapi

@Eduardo Because that package could get compiled with version3 it does exist before V4.. how can I solve that issue of h

2019-07-11 07:55:42 -0500 asked a question cannot find -lopencv_gapi

cannot find -lopencv_gapi I'm struggling to compile marker_mapper which uses aruco lib. This is my settings: GCC 5.5.0

2019-06-18 15:47:09 -0500 marked best answer SolvePnp in millimeters instead of pixels

I want to estimate the pose of the camera using solvepnp function and for object_points and image_points I have all in millimeters, is that correct? what I do have to change in solvepnp to get it to work with mm units?

2019-06-03 08:41:50 -0500 asked a question SolvePnp in millimeters instead of pixels

SolvePnp in millimeters instead of pixels I want to estimate the pose of the camera using solvepnp function and for obje

2019-04-05 21:54:11 -0500 received badge  Popular Question (source)
2019-03-31 04:50:36 -0500 received badge  Popular Question (source)
2019-03-02 14:07:11 -0500 asked a question SolvePnp doesn't give the same result with four points and more points

SolvePnp doesn't give the same result with four points and more points I'm computing the pose of the camera using SolveP

2018-08-13 04:10:36 -0500 asked a question solvePnP object pose for Omnidirectional model

solvePnP object pose for Omnidirectional model I'm interested in pose estimation using slightly different sensors called

2018-03-06 02:14:36 -0500 asked a question Opencv function runs on GPU or CPU

Opencv function runs on GPU or CPU It has been said in that document: Any OpenCV function that accepts Input/Outpu

2018-03-03 07:45:49 -0500 commented question What's new in opencv 3.4.1

I didn't notice anything really.. I do have a good internet connection so I don't think that the issue.. The only thing

2018-03-02 17:19:27 -0500 commented question What's new in opencv 3.4.1

Sorry! I hit Ask Your Question button and it didn't work at first and at second time.. and after a couple of tries it wo

2018-03-02 16:41:45 -0500 asked a question What's new in opencv 3.4.1

What's new in opencv 3.4.1 I've 3.4.0 installed and I discovered that there"s a new version released. I want to know wha

2018-03-02 16:41:23 -0500 asked a question What's new in opencv 3.4.1

What's new in opencv 3.4.1 I've 3.4.0 installed and I discovered that there"s a new version released. I want to know wha

2018-03-02 16:40:59 -0500 asked a question What's new in opencv 3.4.1

What's new in opencv 3.4.1 I've 3.4.0 installed and I discovered that there"s a new version released. I want to know wha

2018-03-01 08:30:36 -0500 commented question Access/Create/Modify pixels in UMat

@berak I just edited my post with an example code

2018-03-01 08:29:19 -0500 edited question Access/Create/Modify pixels in UMat

Access/Create/Modify pixels in UMat I want to create a vector of type cv::UMat but I didn't find any method to do that.

2018-03-01 08:11:48 -0500 asked a question Access/Create/Modify pixels in UMat

Access/Create/Modify pixels in UMat I want to create a vector of type cv::UMat but I didn't find any method to do that.

2017-11-02 08:51:56 -0500 commented question Working with a camera with variable focal length

What do you mean by all focals?

2017-10-27 07:05:37 -0500 asked a question Working with a camera with variable focal length

Working with a camera with variable focal length I'm using a camera for tracking and pose estimation.. I know that we ne

2017-10-11 11:13:52 -0500 commented answer Unable to build opencv 3.3.0 with cuda 9.0 on linux

Well I don't agree with you on that point.. It is always good to post your solution and for people to take advantages fr

2017-10-11 09:02:29 -0500 commented answer Unable to build opencv 3.3.0 with cuda 9.0 on linux

You didn't show how did you solve them. There's more details here https://stackoverflow.com/questions/46584000/cmake-er

2017-10-11 09:01:06 -0500 commented question Unable to build opencv 3.3.0 with cuda 9.0 on linux

Yes you're right CUDA9 doesn''t support Fermi anymore

2017-10-09 16:54:50 -0500 commented question Unable to build opencv 3.3.0 with cuda 9.0 on linux

@Amaro @mfisher could you please share the solution i'm having the sale issue with nvcc fatal "compute_20"?

2017-08-06 05:53:50 -0500 asked a question Compiling from source OpenCV 3.3 : Failed

There is a new version released few days ago of OpenCV 3.3. I'm trying to compiling it but I didn't succeed.

I downloaded the OpenCV from source and I created a build folder in it and launch cmake:

cmake -D CMAKE_BUILD_TYPE=RELEASE \ 
-D CMAKE_INSTALL_PREFIX=/usr/local \ 
-D WITH_CUDA=ON \    
-D ENABLE_FAST_MATH=1 \    
-D CUDA_FAST_MATH=1 \    
-D WITH_CUBLAS=1 \    
-D INSTALL_C_EXAMPLES=OFF \    
-D INSTALL_PYTHON_EXAMPLES=ON \    
-D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-3.3/modules  \ 
-D BUILD_SHARED_LIBS=ON \    
-D WITH_GTK=ON /    
-D BUILD_EXAMPLES=ON ..

But I get -- Configuring incomplete, errors occurred!

I'm compiling with GNU 7.1.0 under Ubuntu 16.04

Here is my CMakeError file:

Build output check failed:
    Regex: 'command line option .* is valid for .* but not for C\+\+'
    Output line: 'cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++'
Compilation failed:
    source file: '/home/hros/opencv-3.3.0/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations  -Wmissing-prototypes'
===== BUILD LOG =====
Change Dir: /home/hros/opencv-3.3.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_0daec/fast"
/usr/bin/make -f CMakeFiles/cmTC_0daec.dir/build.make CMakeFiles/cmTC_0daec.dir/build
make[1]: Entering directory '/home/hros/opencv-3.3.0/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_0daec.dir/src.cxx.o
/usr/bin/c++     -O3 -DNDEBUG   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -o CMakeFiles/cmTC_0daec.dir/src.cxx.o -c /home/hros/opencv-3.3.0/build/CMakeFiles/CMakeTmp/src.cxx
cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++
/home/hros/opencv-3.3.0/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma   [-Wunknown-pragmas]
 #pragma

Linking CXX executable cmTC_0daec
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0daec.dir/link.txt --verbose=1
/usr/bin/c++     -O3 -DNDEBUG    CMakeFiles/cmTC_0daec.dir/src.cxx.o  -o cmTC_0daec -rdynamic 
make[1]: Leaving directory '/home/hros/opencv-3.3.0/build/CMakeFiles/CMakeTmp'

===== END =====

Build output check failed:
    Regex: 'command line option .* is valid for .* but not for C\+\+'
    Output line: 'cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++'
Compilation failed:
    source file: '/home/hros/opencv-3.3.0/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations  -Wstrict-prototypes'
===== BUILD LOG =====
Change Dir: /home/hros/opencv-3.3.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_02949/fast"
/usr/bin/make -f CMakeFiles/cmTC_02949.dir/build.make CMakeFiles/cmTC_02949.dir/build
make[1]: Entering directory '/home/hros/opencv-3.3.0/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_02949.dir/src.cxx.o
/usr/bin/c++     -O3 -DNDEBUG   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wstrict-prototypes -o CMakeFiles/cmTC_02949.dir/src.cxx.o -c /home/hros/opencv-3.3.0/build/CMakeFiles/CMakeTmp/src.cxx
cc1plus: warning: command line option ‘-Wstrict-prototypes ...
(more)
2017-06-01 07:25:59 -0500 commented answer Set focal length to infinity

Okay I confused DOF and Focal length! thanks However, when you say large depth, it means we can see farthest objects better? how about nearest objects? That was my question. I want to see both of them like there is no depth!

2017-06-01 02:28:25 -0500 asked a question Set focal length to infinity

I don't know where to ask this question but as I'm working with OpenCV I'll do it here.

I'm working with this camera: Blackfly 0.9 MP Color GigE PoE (Sony ICX692) with focal length 2.8-8 mm.

My question is how to set the focal to infinity so as I can see objects near the camera as well as far ones simultaneously without blurring. I don't know if that is possible! When I want to detect a chessboard for example, it works well when the board is on the focal plan but otherwise it appears little bit blurred so it's not detectable!

If it is not possible how you deal with that issue?

2017-05-17 10:13:52 -0500 commented answer OpenCV and NVidia Cards: How to use.

The one that I'm familiar with is Jetson TX1 or TX2 of Nvidia. It's not very expensive, however I don't know what kind of processing you'll do with 15 caméras because 15 FullHD is quite big number!

2017-05-05 03:15:02 -0500 answered a question OpenCV and NVidia Cards: How to use.

The graphic cards used in research or in industry are different from those for games because they don't have the same interfaces. For research we use a GPU that has a CPU and graphic cards but also a camera and many other inputs outputs.. Those cards work independently from the computer and they have their own OS.. so easy to work with when developing your application.

2017-04-28 09:35:13 -0500 commented question How does Camera intrinsic parameter change after image rotation?

I believe that If you rotate the image you need to permute the c_x and c_y For other intrinsic parameters if your pixel size is square then you don't need change them

2017-04-26 03:53:37 -0500 answered a question Distance from camera to object.. The error increasing linearly!

I'll write an answer to the issue after doing some experiments. I corrected my distance as follow:

Distance_corrected = distNorme+distNorme*correction

distNorme is the distance to the chessboard which is the norm of the translation vector given by solvePnP OpenCV function.

correction is

correction=pixel_size/focal_mm/2 = 2/focal_pixel

The results are better, still have an error increasing linearly though but not very strong as distNorme (distance not corrected).

I'm still seeking for references or documentation of that correction error. I need more details about it.

2017-04-26 03:52:00 -0500 commented question Distance from camera to object.. The error increasing linearly!

OK got it! I'll write an answer.. thanks both of you

2017-04-20 02:13:38 -0500 commented question Distance from camera to object.. The error increasing linearly!

@LBerger I mean that error d*pixel_size/focal/2, how did you get it ? it's not linear!

2017-04-19 03:41:47 -0500 commented question Distance from camera to object.. The error increasing linearly!

@LBerger @Tetragramm Do you have any references about that? I'm interested more in that error so I can correct it with respect to my camera parameters :)

2017-04-18 10:29:48 -0500 commented question Distance from camera to object.. The error increasing linearly!

@LBerger So what do you think that error is due to? is it normal as I'm using a single camera?

2017-04-18 09:58:07 -0500 received badge  Popular Question (source)
2017-04-18 09:24:55 -0500 asked a question Distance from camera to object.. The error increasing linearly!

I compute the distance from an object (Chessboard) using OpenCV and my camera parameters following those steps:

1- findChessboardCorners

2- solvePnP

3- ->Distance from the translation vector given by solvePnP

The issue is that the error is increasing linearly when I get far from the camera.

The error is simply the difference between the real distance and the one given by my program.

The camera is calibrated (focal length 2.8mm, wide angle + distortion)

I want to know why the error is increasing? Is that normal?

2017-04-13 08:45:43 -0500 asked a question Distance from an object.. Where is the camera origine?

I compute the distance from an object (Chessboard) using OpenCv and my camera parameters using those steps:

findChessboardCorners

solvePnP

->Distance

The distance I get is between two points: the chessboard and the camera. My question is where is the origine of my camera?

I know perfectly about my Chessboard but not my camera in terms of reference.

2016-08-26 04:44:15 -0500 asked a question Classifier - which images is made

I have some classifiers file.xml, is there a way to know from which images are trained?

The name of the file is usually not clear!

Those are the classifiers:

https://github.com/JaouadROS/head_dep...

Many thanks

2016-06-14 07:50:57 -0500 commented question Head detection and tracking (orientation independent)

Well a video can be a good start if you can get the paper used or some refrences

2016-06-14 07:47:41 -0500 asked a question Annotate a dataset of images

I'll be recording a new dataset using a couple of sensors: kinect, stereovision cameras.. for a project for people detection using only depth information.

But I don't know yet how can I annotate the dataset, like in this dataset where they provide the boundary box. I have only the sensors (no markers..) and I'll be recording a hundred of images..

Do you have any ideas how can I do that?

2016-06-06 07:04:10 -0500 asked a question Which video extension

I want to save a sequence of images from my Kinect but I thought to record a video and then extract the frames and save them as an image file.

What do you prefer saving images or a video?

How the video type can affect the images?

The purpose of this is to record a dataset of RGB-D from the Kinect and other sensors

2016-06-06 04:46:42 -0500 answered a question Compute camera height

I finished developing a first version of estimating the height of the camera, and I thought to share it with you, maybe it will be usefull for you

https://github.com/JaouadROS/heightca...

2016-05-31 02:27:02 -0500 received badge  Enthusiast