DirectShow .NET form Bitmaps & Text

Closed Posted Apr 21, 2006 Paid on delivery
Closed Paid on delivery

This application is a Windows Forms based Application (.net CLR) that displays a video feed with text and graphics over it. Details in the deliverables section

## Deliverables

Here are the detailed tasks that must be done for this C++ based project. The reasons I have given these

steps is that I have tried to get someone to code this for over 3 weeks and still no one has provided me what i want.

Step 1. From Visual Studio 2003 or 2005, select New Project, CLR, Windows Forms Application as shown in [url removed, login to view]

Step 2. Add 7 buttons to the left and one big one to the bottom as shown in [url removed, login to view]

Step 3. Remove the title bar from the display so that there is no title bar in the application as shown in step [url removed, login to view]

Step 4. Add the ability to view a live video feed from a webcam on the form as shown in step4.jpg. DirectShow is a common way to do this.

Step 5. Add the ability to draw text over the live video feed as shown in Step5.jpg.

The solution of drawing a separate transparent window over the video feed can not be used.

The font is see-through, that is, in the [url removed, login to view] picture only white font is visible and video can be seen beneath the actual text.

Finally, there should be a function created that allows the drawing of this text anywhere on the screen in any font face,size,color.

The function parameters are as follows:

bool DrawTextOnScreen(char *szText, char *typeFace, int nSize, int xPosition, int yPosition)

Step 6. Add the ability to draw bitmaps over the live video feed as shown in step6.jpg. Note that the bitmap must never be distorted, and must always be

consistent pixel per pixel to the original bitmap file (in our example the orig file is [url removed, login to view]).

We are avoiding any kind of stretching or distorting of the bitmap as the resolution

of the video changes. Any change in resolution of the incoming video must not change the resolution of the bitmap. Additionally note that the transparent

pink color of the bitmap (if it exists) is not displayed on the resulting screenshot step6.jpg.

This functionality should be packaged in a function call with the function parameters as follows:

bool DrawBitmap(unsigned long rgbTransparentColorToMask, char *imageName, int xPosition, int yPosition);

Note that in step 5 and step 6, DrawBitmap and DrawTextOnScreen function calls must be called from a single function or method named something like

OnPaint.

When this method is called, it updates the screen with the specified text and bitmaps. When it is not called, only the video is shown but not the

text and bitmaps.

Step 7. Moving the left, right, up, down buttons on the keyboard

moves the bitmap image up, down, left, and right.

Step 8. Verify that the application does not use an inordinant amount of CPU. For a Pentium 4 desktop with 1 gig of ram, it should not take up more

than 22% of the processer's cpu (as shown by Task Manager's Performance tab)

Step 9. Clicking on a button on the left hand side shows a Modal Dialog Box (such as ::Messagebox call)

that is visible, the topmost window, and not distorted if moved over the video

feed part of the form. see [url removed, login to view]

We do not want any MessageBoxes or windoww form dialogs to be under the video feed window, not visible to the user, or distorted in any way.

The reason we have this as a step is that in our current try at doing this, our messageboxes and Windows Form Dialogs

ended up beneath the video stream, so they could not be used. Also, it is a requiremtent that a Windows Forms based

Dialog be able to be visible in the same manner if one of the buttons is clicked.

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Windows XP,

Visual Studio 2003 or 2005

Latest DirectShow and/or DirectX drivers /SDKs

Engineering Game Consoles Game Design Microsoft MySQL PHP Software Architecture Software Testing Windows Desktop

Project ID: #3447285

About the project

3 proposals Remote project Active May 2, 2006

3 freelancers are bidding on average $935 for this job

samueljfm

See private message.

$127.5 USD in 14 days
(120 Reviews)
6.9
mediatechno

See private message.

$2125 USD in 14 days
(20 Reviews)
6.5
SelbySolutions

See private message.

$552.5 USD in 14 days
(22 Reviews)
5.4