Sorry, there is no DetectOccludedCauliflower() function in either Opencv or Visual C++.
If that is not your question, and you're instead asking for an algorithm to implement such a function, then maybe you should move this question to the algorithms subforum[^]
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)
I was using DirectshowBaseclasses samples from Windows7.1 sdk with VS2010. But After upsating on Windows8.1 with Vs2013, I am not able to find samples in Windows8.1 sdk to use directshow base classes. Basically, I am looking for CBaseVideoRenderer.
If these classes are changes to some other location, please let me know if anybody using it.
Hello, DirectShow on Widows 8 and up are deprecated, you can continue to use source from SDK 7.1,
but pay attention, for example, DirectX are not hardware accelerated, for new project you must use
use Microsoft Windows Media Foundation new from win7
Everytime I use ShellExecute to open a web page I lose the focus from the parent program (caller if the ShellExecute). Is there any way to open the page silently in the background or to regain focus back to the caller ?
I found out accidentally, that using the SetWindowPos to the MainFrm window inside the OnCreateClient it solves the problem. It seems that setting the attribute that does not change the Z-Order of the main window keeps it always in the top.
Quick prerequisite: I'm graphic designer and I have no idea about programing.
Long story short I want to modify some graphic files but they are encrypted. I already have the code in C for decrypting them but I have no idea how to make it into working program. Also I have no idea about C language syntax so I'm not sure if I need to modify this code so I can show the program files I need to decrypt. I would be very grateful if someone could help me with this.
#include<stdio.h>int main (int argc, char **argv)
FILE *inp, *outp;
char sig = "CF10", *ptr;
if (argc != 3)
printf ("usage: decode [input] [output]\n");
inp = fopen (argv, "rb");
if (inp == NULL)
printf ("bad input file '%s'\n", argv);
ptr = sig;
i = fgetc (inp);
if (*ptr != i)
printf ("input file sig is not 'CF10'\n");
outp = fopen (argv, "wb");
if (outp == NULL)
printf ("bad output file '%s'\n", argv);
i = fgetc(inp);
if (i != EOF)
fputc (i ^ 0x8d, outp);
} while (i != EOF);
printf ("all done. bye bye\n");