Sounds like heaven; my favorite times in life have been in places like the one you have just described.skywalk wrote:Mine is a muddy river with beaver and muskrat and the usual water fowl.
Updated (Windows Main Packages):
- added 1 example
-- pbcv_webcam_MDI_cvtcolor.pb: PureBasic parent window hosting an OpenCV webcam child window
This example starts a new naming convention [ pbcv ]; a PureBasic example with an embedded OpenCV window.
Using a wide range of API's and Callbacks I managed to embed an OpenCV window into a PureBasic frame.
While the embedding was fairly easy, my main focus was to have a dynamic window that responded correctly when mixing with PureBasic Gadgets.
The embedded window (webcam) can be resized and moved, and includes an optional title bar.
The CONSTANTS at the beginning of the code can be used to control most options, but this is only an example meant for instructional purposes.
The advantage of this example is that it combines speed with function.
The examples that start with [ cv ] have speed, but access to PureBasic Gadgets is limited.
The examples that start with [ pb ] have access to PureBasic Gadgets, but the speed of OpenCV is reduced because images are converted between platforms.