Hack Forums
[.NET] .NET Motion Detector [Source] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] .NET Motion Detector [Source] (/showthread.php?tid=4614621)



.NET Motion Detector [Source] - Shoot - Jan 1, 2015

Source code is not by me! i just wanted to share it.

it uses your webcam as a motion detector

Form Code (Interface.vb)
http://pastebin.com/XWPQMhbN

Class Code (Motion Detector.vb)
http://pastebin.com/19njh7ur


* - Odus - Jan 1, 2015

The following is missing from this thread:
  • Credits
  • Description
  • How it works
  • Demonstrations
  • Guide on how to implement and use

But hey, you admitted it isn't yours. We're getting somewhere.


* - +Haze - Jan 1, 2015

(Jan 1, 2015 05:20 PM)Odus Wrote:  The following is missing from this thread:
  • Credits
  • Description
  • How it works
  • Demonstrations
  • Guide on how to implement and use

But hey, you admitted it isn't yours. We're getting somewhere.

Lol I have to agree with Odus again. You can't just dash out a source, show us why you wanted to share it, how it works, why its good etc.


* - SIM-1847363 - Jan 1, 2015

Please put more effort into the thread, and other than that please add what odus said it will help and make your thread better overall.


* - Xghost7 - Jan 1, 2015

Agree with Odus, i don't know why i would use this as of now.


* - mechic123 - Jan 5, 2015

Yeah you should put more time into your thread, but thanks anyways OP.


* - A ѕ ρ ι я є - Jan 5, 2015

Description :

Quote:Motion Detector.NET - detects movement inside a webcam's field of view.
This program captures images from a webcam and determines the level of movement in the camera's field of view. When the level of movement exceeds a threshold specified by the user, it displays a message box.

The program works by comparing the most recently captured image with the previous one. The difference between the two images is used to determine the level of movement. Thanks to the LockBits/UnlockBits methods the GetPixel/SetPixel functions/methods are avoided which improves the program's performance.

This program should also be useful to find out how to use a webcam in general in Visual Basic.NET.

See the attached .zip file for the program.

This program is a .NET version of: Motion Viewer (Vb 6)
It does not (yet?) have an e-mail function though.

Credits: http://www.vbforums.com/showthread.php?773429-Motion-Detector-NET-detects-movement-inside-a-webcam-s-field-of-view

i assume it's the same one.
haven't checked out the source ,pastebin doesn't Load for me .


* - Only3 - Jan 5, 2015

^^ have the same names > Source code is not by me! i just wanted to share it.