|
It's been that type of day ... I'm glad someone can get a laugh out of it
|
|
|
|
|
|
Haha, that tune is stuck in my head now
|
|
|
|
|
I have a problem in my project ( Camera Base Attendance system ) ....
I have two pictures and I need to find the diffrence between them by using ( blob center ) ,
also to divide the image to 6 parts and find the center of each part.( to check the absence ).
|
|
|
|
|
So what have you tried?
did you need advice on what algorithm to use?
have you read this article? Simple image comparison in .NET[^]
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
I read it but I didn't get what I need ...
What I mean is like in those two pictures in link , I make them to be more clear ...
-this the original image:
( http://im60.gulfup.com/KLUt5k.png ).
-so I need a code to divide it to six positions:
( http://im60.gulfup.com/9xZhYL.png ).
- also find the missing person and mark him absent:
( http://im60.gulfup.com/kT9gZv.png ).
|
|
|
|
|
|
I just noticed your question today.
What you want to achieve is not clear. What do you mean by "difference:" you need to fully explain that.
Does "absent" mean that there is only black in one of the six divisions of the Picture ? Or does it mean something else ?
Detecting and comparing images is one thing (complex); detecting the presence of absence of a color in one rectangular area of a bitmap is another thing (simpler).
«A man will be imprisoned in a room with a door that's unlocked and opens inwards ... as long as it does not occur to him to pull rather than push» Wittgenstein
|
|
|
|
|
^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$
|
|
|
|
|
Please read this[^] before posting...
|
|
|
|
|
And? What's the problem? I think that expression is just fine.
Your time will come, if you let it be right.
|
|
|
|
|
And?
What does it do that you didn't expect, or not do that you did?
What data did you test it with? What results did you get?
We can't see your screen, access your HDD, or read your mind...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Based on his previous "question"[^], I suspect he's just using the forums as a place to dump his code.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
OriginalGriff wrote: We can't legally see your screen, access your HDD, or read your mind...
FTFY
PooperPig - Coming Soon
|
|
|
|
|
What about 1 800 FLOWERS ?
|
|
|
|
|
Why would you want a regex for spam?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I'm married; I need it on speed dial.
|
|
|
|
|
Shame - without the country code, my phone number is 11 digits. Your validation kind of sucks.
|
|
|
|
|
Pete O'Hanlon wrote: 11 digits How about +44 instead of 0?
Your time will come, if you let it be right.
|
|
|
|
|
That's why I stated "without the country code"...
|
|
|
|
|
Ah I missed it completely.. , a "01202" case perhaps?
Never mind.
Your time will come, if you let it be right.
|
|
|
|
|
I have a DataGridView with the 3rd column defined to show a ComboBox.
However, I'm not able to get the drop-down combo box in the 3rd column to display anything.
Here's a snippet of my code:
string[] row = new string[2];
row[0] = "Value 1";
row[1] = "Value 2";
mDataGridView.Rows.Add(row);
DataGridViewComboBoxCell cell = new DataGridViewComboBoxCell();
cell.Items.Add("Item 1");
cell.Items.Add("Item 2");
mDataGridView.Rows[0].Cells[2] = cell;
The data in the first 2 columns shows up just fine (i.e. Value 1 and Value 2).
But there is nothing that shows up in the drop-down combobox in the 3rd column. (I'd expect to see "Item 1" and "Item 2") in the drop-down combobox. I see the down-arrow on the combobox but when I click it, nothing happens.
What am I doing wrong?
Thanks
-Mike
|
|
|
|
|
works for me. Just tried it.
Make sure the third column is defined in the designer and set as a DatGridViewComboboxColumn.
It does react a little unnatural in the sense you need to click more than once to drop down the items.
I made a winforms app, dropped a DataGridView on it and only changed the Columns property (2x textboxcolumn, 1x comboboxcolumn). Then I used copy/paste on your code.
Hope this helps.
|
|
|
|
|
How to send the selected pdf files to the default printer, instead of merge.
http://www.codeproject.com/Articles/470190/PDF-Merger-and-Protector
|
|
|
|
|
You should ask in the Comments and Discussions for the article.
The author will be notified.
Asking here doesn't notify the author of the article and depends on the author "just happening to notice" this question.
A positive attitude may not solve every problem, but it will annoy enough people to be worth the effort.
|
|
|
|