Ask Your Question

penfold1972's profile - activity

2012-10-14 17:21:07 -0600 answered a question Best hardware platform for OpenCV

It depends on the amount of memory that the cores have available. If they do not have enough, then OpenCV may have to be heavily modified in order to get the functionality ported to that hardware.

2012-10-14 17:07:52 -0600 commented question Best hardware platform for OpenCV

Well, I did not consider it as an ad. True, it contained a link to their kickstarter campaign, but it contained all the specs for the SPECFIC hardware the question was about compared to generic hardware. Your paraphrasing of my question completely negated my question. By your complete failure to rewrite the question and preserve the actual question is proof that it was not an ad.

The question is moot anyway, because during the night, they made an update that said they spent seven weeks rewriting OpenCV face recognition code so it work work on the hardware's memory limits. In my view, that sounds like the specific hardware I was asking about is NOT better to run OpenCV than a general purpose PC, at least at this time. Its a shame that no one will understand that reading the question now.

2012-10-10 22:28:41 -0600 asked a question Best hardware platform for OpenCV

What is the best hardware platform for OpenCV? Will this [link removed as against policy] multicore system (up to 64 risc cores and shared memory) perform much more better, than PC's (up to 4 cores)?

2012-08-06 10:18:48 -0600 received badge  Supporter (source)
2012-08-01 09:16:06 -0600 received badge  Student (source)
2012-07-30 22:42:19 -0600 commented answer Computer Vision - Craps Coach Project from a Newbie

Oh, and you mentioned I'm going to hit shadows, and noise. I am hitting those as well, but haven't gotten to the point I am ready to do much about them other than play with erode and dilate functions. As I mentioned above, I am still trying to wrap my head around the basic theories that need to be implemented. I did check out your blog and will probably hit your examples when I start to tackle the stereo vision portions of this idea.

And thanks for you advice! Every thing I can find to keep me on the right track and help make things click are greatly appreciated!

2012-07-30 20:31:24 -0600 commented answer Computer Vision - Craps Coach Project from a Newbie

I actually have both those books, and have tried to read them. Most of goes right over my head. I had t go to Khan Academy on YouTube, to get a basic understanding of matrices. That is where I am starting to get worried that I just don't have the higher math education to understand the theories enough to put the libraries to proper use. Which is why I have turned here to at least see if any of the approaches I have in mind are a just the wrong approach.

For example, I have the threshold generating a mask and am mostly done identifying the area where the playing field is in the picture. Then I spent a few hours trying to get the square which would be my ROI, when it occurred to me that it still leaves me with a huge green area that is pixels ... (more)

2012-07-30 10:19:57 -0600 asked a question Computer Vision - Craps Coach Project from a Newbie

I am really new to OpenCV and have been poking around for a month or two now trying to learn it by attempting to build an application that will help me and my friends play craps and keep things straight, especially while drinking. Since I am so new, I figure I will give as complete a description of my goals and understanding of what I think I should be doing so someone can explain where I am confusing myself and either making a task more complicated than it should be, or not understanding how complicated my approach actually is.

I suppose my explanation will be easier with an idea of the images I am working with. The background can be found here: craps-background.jpg and a "sample" of the objects I want to detect is here: craps_circle_test.jpg

My immediate goal is to have one camera mounted so it can see the whole board, recognize the play area, detect objects (dice, chips, markers) and facilitate play by keeping track of the point, and marking bets that win or loose. Ultimately, I want to tie in a projector that can provide feedback directly on the table and use stereo vision so I can identify objects in 3D to determine that this object consists of x number of chips of varying denominations and more accurately track a bet and calculate the winnings, or detect that a dice came to rest on a chip, but I'm taking this in baby steps and not really worried about the end goals just yet.

My reading and tinkering has gotten me to the point of having some code that can read the image from the camera and at least show a mask of the playing field to become familiar with the concepts of computer vision. I have also incorporated the squares sample so it can show the area of the playing field. (Still need to limit this to the single largest square, but I am getting the feeling I might be going in the wrong direction.)

Isolating the green field in a black and white threshold image gives me not only the playing area and the outer region where the players stand (which can be ignored) but also does a really good job of showing the objects on the playing area that I can probably use to track objects, but is mingled with the different patterns on the playing field to designate what bets are in play.

I suspect that I am not approaching the problem correctly which is why I am getting lost in the best way to process this and my question is if someone has some advice on how to properly approach this issue?

I think I should threshold on the green felt, and ignore (mask) all the pixels outside of that area, and somehow mark that this area is the playing field. Then I should somehow find, mark and mask the playing field's printed area as well as the green ... (more)

2012-07-15 08:04:00 -0600 received badge  Notable Question (source)
2012-07-13 01:54:01 -0600 received badge  Popular Question (source)
2012-07-12 11:55:07 -0600 received badge  Scholar (source)
2012-07-12 10:42:46 -0600 received badge  Editor (source)
2012-07-12 09:31:31 -0600 asked a question compile error in opencv2/flann/lsh_table.h when compiling bgslibrary

I'm learning about OpenCV and found the bgslibrary for background separation, that I thought I would take for a spin. I get the following error when I try to compile it, and if I am reading it right, it seems like it's having an issue with the flann/lsh_table.h file in OpenCV, so I thought I would post this problem here.

The error is:

In file included from /usr/local/include/opencv2/flann/lshindex.h:49,
                 from /usr/local/include/opencv2/flann/allindices.h:42,
                 from /usr/local/include/opencv2/flann/flannbase.hpp:44,
                 from /usr/local/include/opencv2/flann/flann.hpp:50,
                 from /usr/local/include/opencv/cv.h:69,
                 from /home/scobb/Source/slc/backgroundsubtraction/bgs/updated/bgslibrary-read-only/PreProcessor.h:4,
                 from /home/scobb/Source/slc/backgroundsubtraction/bgs/updated/bgslibrary-read-only/PreProcessor.cpp:1:
/usr/local/include/opencv2/flann/lshtable.h: In member function ‘void cvflann::lsh::LshTable<elementtype>::add(cvflann::Matrix<t>)’:
/usr/local/include/opencv2/flann/lshtable.h:196: error: ‘usespeed_’ was not declared in this scope
make[2]: * [CMakeFiles/bgs.dir/PreProcessor.cpp.o] Error 1
make[1]:  [CMakeFiles/bgs.dir/all] Error 2
make: ** [all] Error 2

The bgslibrary is found at http://code.google.com/p/bgslibrary/ if someone wants to try to compile it themselves. I am using OpenCV-2.4.2 which compiled and installed on my system (Ubuntu Linux) just fine.

Can someone point me in the right direction?

edit If I edit opencv2/flann/lsh_table.h and comment out line 196, bgslibrary compiles. So, I'm pretty sure this is a problem in OpenCV-2.4.2