Ask Your Question

opencv-newb's profile - activity

2018-12-31 10:32:49 -0600 marked best answer I am trying to stitch a few images and getting assertion errors.

Image scheme is W*H*channels.

I have two images of dimensions : 600*429*3 and 600*523*3

There is a overlap between the two images. On trying to stitch I get the following error:

OpenCV Error: Assertion failed (dst.cols < 0x7fff && dst.rows < 0x7fff && src.cols < 0x7fff && src.rows < 0x7fff) in remap, file /home/user/3.4.0/opencv-3.4.0/modules/imgproc/src/imgwarp.cpp, line 1749

I looked around an little bit and was suggested to comment out an Assertion in the imgwarp.cpp file. I commented it out and then I got a different error:

OpenCV Error: Assertion failed (u != 0) in create, file /home/user/3.4.0/opencv-3.4.0/modules/core/src/matrix.cpp, line 436

I went ahead and commented that line as well. I recompiled and linked the .so file to my python cv2 package. The code ran fine,no errors this time, but the stitched image has a width of 30000 instead of 600. The final image is highly distorted.

How do I fix this?

2018-12-24 00:31:40 -0600 asked a question How do I detect thinner/gray lines in a table?

How do I detect thinner/gray lines in a table? Context :http://answers.opencv.org/question/63847/how-to-extract-tables-f

2018-10-15 06:54:48 -0600 commented question Error with findContours()

You can just use opencv's image reading mechanism. It is already a numpy array. Try removing that line.

2018-10-15 06:53:10 -0600 asked a question How do I find the new pixels added to image after performing morphology?

How do I find the new pixels added to image after performing morphology? I want to see a difference of images so as to c

2018-06-27 02:31:13 -0600 edited question Is it possible to build Opencv on one OS and install it on another?

Is it possible to build Opencv on one OS and install it one another? Consider I have two OSes, both ubuntu linux. I clon

2018-06-27 02:30:53 -0600 asked a question Is it possible to build Opencv on one OS and install it on another?

Is it possible to build Opencv on one OS and install it one another? Consider I have two OSes, both ubuntu linux. I clon

2018-05-31 03:42:12 -0600 commented question What is wrong with these images?

On above two images : what(): OpenCV(3.4.1-dev) /opt/opencv/modules/core/src/matrix.cpp:465: error: (-215:Assertion f

2018-05-30 07:35:00 -0600 commented question What is wrong with these images?

It gets distorted a little too much once I start tampering. Is there any standard configuration which can guarantee that

2018-05-30 07:33:18 -0600 commented question What is wrong with these images?

It gets distorted a little too much once I start tampering. Is there any standard configuration which can guarantee that

2018-05-30 07:24:36 -0600 received badge  Supporter (source)
2018-05-30 07:23:40 -0600 edited question What is wrong with these images?

What is wrong with these images? I am trying to stitch following images using : https://github.com/opencv/opencv/blob/ma

2018-05-30 07:22:13 -0600 commented question What is wrong with these images?

Where? I am not very experience with the c++ code and have been using python wrapper.

2018-05-30 07:06:32 -0600 asked a question What is wrong with these images?

What is wrong with these images? I am trying to stitch following images using : https://github.com/opencv/opencv/blob/ma

2018-05-23 05:34:24 -0600 edited question Why does stitching the following images freezes my system and takes a lot of time?

Why does stitching the following images freezes my system and takes a lot of time? SET 1: http://i68.tinypic.com/14kwne

2018-05-23 05:34:20 -0600 edited question Why does stitching the following images freezes my system and takes a lot of time?

Why does stitching the follwoing images freezes my system and takes a lot of time? SET 1: http://i68.tinypic.com/14kwne

2018-05-23 05:02:50 -0600 commented question Import Error

Glad it worked out.

2018-05-23 04:59:13 -0600 commented question Import Error

Did the problem get resolved?

2018-05-23 04:54:26 -0600 asked a question Why does stitching the following images freezes my system and takes a lot of time?

Why does stitching the follwoing images freezes my system and takes a lot of time? SET 1: http://i68.tinypic.com/14kwne

2018-05-03 01:35:36 -0600 commented question What is wrong with the following two images as I can't get them to stitch?

Aha! Rotating the images 90 in counterclockwise manner got them to stitch properly. Now the question is : How would I kn

2018-05-03 01:04:32 -0600 commented question Python wrapper gives an error while loading a binary .so file

I installed opencv wrapper using pip. Should it matter in this case?

2018-05-03 00:47:29 -0600 asked a question Python wrapper gives an error while loading a binary .so file

Python wrapper gives an error while loading a binary .so file ERROR: error while loading shared libraries: libopencv_st

2018-05-02 06:22:15 -0600 commented question What is wrong with the following two images as I can't get them to stitch?

If you pay close attention there is almost 80% overlap between images.

2018-05-02 05:00:55 -0600 edited question What is wrong with the following two images as I can't get them to stitch?

What is wrong with the following two images as I can't get them to stitch? 1: https://i.imgur.com/6rSTC9k.png 2: https:

2018-05-02 05:00:44 -0600 edited question What is wrong with the following two images as I can't get them to stitch?

What is wrong with the following two images as I can't get them to stitch? 1: https://i.imgur.com/6rSTC9k.png 2: https:

2018-05-02 04:56:01 -0600 commented question Import Error

Are you able to access python3 on terminal? Did you install opencv with pip or pip3?

2018-05-02 01:51:38 -0600 edited question What is wrong with the following two images as I can't get them to stitch?

What is wrong with the following two images as I can't them to stitch? 1: https://i.imgur.com/6rSTC9k.png 2: https://i.

2018-05-01 14:39:42 -0600 received badge  Student (source)
2018-05-01 14:10:13 -0600 edited question What is wrong with the following two images as I can't get them to stitch?

What is wrong with the following two images as I can't them to stitch? 1: https://i.imgur.com/6rSTC9k.png 2: https://i.

2018-05-01 14:09:54 -0600 asked a question What is wrong with the following two images as I can't get them to stitch?

What is wrong with the following two images as I can't them to stitch? 1: https://i.imgur.com/6rSTC9k.png 2: https://i.

2018-04-30 05:02:44 -0600 asked a question Image stitching takes a lot of time and memory to fail

Image stitching takes a lot of time and memory to fail I have the following two images that I want to stitch: http://i6

2018-04-25 01:39:50 -0600 asked a question I am unable to build/install opencv for c++/python.

I am unable to build/install opencv for c++/python. ##### System information (version) OpenCV => 3.3.0 Operating Sy

2018-03-06 05:02:36 -0600 asked a question How do i find the angle of rotation of an image's text with respect to its dimensions?

How do i find the angle of rotation of an image's text with respect to its dimensions? I have an image which is horizont

2018-01-11 00:04:28 -0600 commented question How do I fix the issue of vertical images getting rotated on stitching?

i am not able to make sense of what they were doing.

2018-01-10 01:33:56 -0600 asked a question How do I fix the issue of vertical images getting rotated on stitching?

How do I fix the issue of vertical images getting rotated on stitching? I have two vertical images whom I stitched using

2018-01-06 11:04:49 -0600 received badge  Enthusiast
2018-01-05 02:20:20 -0600 commented answer I am trying to stitch a few images and getting assertion errors.

The two images mentioned above got stitched properly when using the flag —warp fisheye. I need to being this functionali

2018-01-04 23:06:50 -0600 commented answer I am trying to stitch a few images and getting assertion errors.

I am trying to expose the --warp fisheye flag into python by writing some bindings. Is there any proper way to do this?

2018-01-04 00:43:34 -0600 commented answer I am trying to stitch a few images and getting assertion errors.

Image link: https://imgur.com/a/wb4ng Also, doing --warp fisheye gave me a mirrored image. All the characters are flipp

2018-01-03 22:53:34 -0600 commented answer I am trying to stitch a few images and getting assertion errors.

Image link: https://imgur.com/a/wb4ng Also, doing --warp fisheye gave me a mirrored image. All the characters are flipp

2018-01-03 22:48:10 -0600 commented answer I am trying to stitch a few images and getting assertion errors.

Image link: https://imgur.com/a/wb4ng

2018-01-03 05:27:20 -0600 commented answer I am trying to stitch a few images and getting assertion errors.

I am able to run the c++ program with my images as arguments. the resultant is still 30000px wide.

2018-01-03 04:38:18 -0600 commented answer I am trying to stitch a few images and getting assertion errors.

What can be the fix then? Should I migrate to c++?

2018-01-02 23:04:41 -0600 commented question I am trying to stitch a few images and getting assertion errors.

`import cv2 stitcher = cv2.createStitcher(False) result = stitcher.stitch(tup) ` This is what I am doing. The False a

2018-01-02 23:04:29 -0600 commented question I am trying to stitch a few images and getting assertion errors.

import cv2 stitcher = cv2.createStitcher(False) result = stitcher.stitch(tup) This is what I am doing. The False argum

2018-01-02 23:04:13 -0600 commented question I am trying to stitch a few images and getting assertion errors.

` import cv2 stitcher = cv2.createStitcher(False) result = stitcher.stitch(tup) ` This is what I am doing. The False a

2018-01-02 21:49:09 -0600 commented question I am trying to stitch a few images and getting assertion errors.

The documentation for python is really not upto the mark. I may switch to c++ if it doesn't work out.

2018-01-02 21:09:03 -0600 commented question I am trying to stitch a few images and getting assertion errors.

How do I do that in python?

2018-01-02 00:50:39 -0600 commented question I am trying to stitch a few images and getting assertion errors.

https://imgur.com/a/wb4ng These are the two images. I haven't still been able to figure out why the distortion is there

2017-12-29 02:05:37 -0600 commented question I am trying to stitch a few images and getting assertion errors.

Apologies. New to this forum's formatting. It is fixed now.

2017-12-29 02:05:36 -0600 edited question I am trying to stitch a few images and getting assertion errors.

I am trying to stitch a few images and getting assertion errors. Image scheme is W*H*channels. I have two images of dim