Monday, October 31, 2011
Sunday, October 30, 2011
C programming. show current date.
#include <sys/time.h>
int show_date(){
time_t tt;
struct tm *the_tm;
time(&tt);
the_tm = localtime(&tt);
printf("tm_year = %04d-%02d-%02d\n", the_tm->tm_year + 1900, the_tm->tm_mon, the_tm->tm_mday);
return 0;
}
Thursday, October 27, 2011
Monday, October 24, 2011
Plate number localisation extracting process
SourceImage -> Gray -> Gabor -> HPF -> Morphology ->Thresholding -> Blob detect -> extract plate
Saturday, October 22, 2011
how to Execute external program from c/c++
Execute external program from c/c++
#include <stdio.h>
void main(void) {
FILE *in;
extern FILE *popen();
char buff[512];
if(!(in = popen("ls -sail", "r"))){
exit(0);
}
while(fgets(buff, sizeof(buff), in)!=NULL){
printf("%s", buff);
}
pclose(in);
}
Subscribe to:
Posts (Atom)
Proxmox installation display out of range
Reference: https://forum.proxmox.com/threads/proxmox-ve-screen-out-of-range.131297/
-
How to remove BBCODE from a string ? <?php $String = "[b][color=#0000ff]TEST[/color][/b]"; $regex = '|[[\/\!]*?[^\[\]...
-
Original Source:: http://www.zytrax.com/tech/pc/serial.html Tech Info - USB and Firewire USB and FireWire (IEEE 1394a and b) represent the...