Ask Your Question

jeck_slist's profile - activity

2015-04-09 01:44:36 -0600 commented question finding the prominent peaks in a line graph

thanks. ill check those links

2015-04-06 12:06:41 -0600 received badge  Student (source)
2015-04-06 09:53:10 -0600 asked a question finding the prominent peaks in a line graph

Hello everyone.

I have a vector of magnitudes or simply an array of numbers. I displayed it as a line graph/histogram as shown below.

original image

What I am trying to achieve is to obtain the coordinates of the two prominent peaks in the image as marked by the green marker

marked image

How can I find the locations of the two prominent peaks as displayed in the image. As you can see the line graph actually has multiple peaks but most of them are actually noise and irrelevant. What algorithm can I use to achieve this.

Thank you

Note: I developed this using c++. Answers in python or pseudo code are appreciated as well.

2015-02-26 02:56:25 -0600 commented question help with videos in raspberry pi, c++ and openCV

Just to answer my own question. I finally made it to work. it seems ffmpeg support was not installed before making opencv. I just had to make sure sure that ffmpeg was checked in cmake.

I think this update was truly the key for playing videos sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev

I got the answer here: http://www.pyimagesearch.com/2015/02/...

2015-02-19 21:04:47 -0600 commented question help with videos in raspberry pi, c++ and openCV

i have opencv installed in my raspberry pi. playing videos is actually just the first step, my true goal is to apply video processing to these videos

2015-02-19 02:07:17 -0600 asked a question help with videos in raspberry pi, c++ and openCV

Hi, I am currently trying to apply computer vision processing to a video in raspberry pi B+. I use visual studio c++ and openCV in windows in order to run and test my code. After I make it work in windows, i transfer the cpp file along with the video in the pi and I build the executable from there. I am able to build the executable however when I run it nothing happens.

Is there something I need to install in the pi in order to play videos? please help