• We've upgraded our forums. Please post any issues/requests in this thread.

Face recognition in ASP.net

Joined
Jan 27, 2009
Messages
225 (0.07/day)
Likes
12
System Name Flash
Processor I5-4670K
Motherboard MSI Z87-G45
Cooling Stock Air
Memory 4x4GB G.Skill RipjawX DDR-1600 CL9
Video Card(s) ASUS 7970 DCU II
Storage Samsung 840 250GB + WD Black 640GB
Display(s) Dell U2412m + 2x Dell 2209WA
Case Corsair 230T
Audio Device(s) Realtek Hi-Def onboard
Power Supply HX850
Software Win7 Pro
#1

Kreij

Senior Monkey Moderator
Staff member
Joined
Feb 6, 2007
Messages
13,817 (3.49/day)
Likes
5,524
Location
Cheeseland (Wisconsin, USA)
Processor Intel Core 2 Quad QX9650 Extreme @ 3.0 GHz
Motherboard Asus Rampage Formula
Cooling ZeroTherm Nirvana NV120 Premium
Memory 8GB (4 x 2GB) Corsair Dominator PC2-8500
Video Card(s) 2 x Sapphire Radeon HD6970
Storage 2 x Seagate Barracuda 320GB in RAID 0
Display(s) Dell 3007WFP 30" LCD (2560 x 1600)
Case Thermaltake Armor w/ 250mm Side Fan
Audio Device(s) SupremeFX 8ch Audio
Power Supply Thermaltake Toughpower 750W Modular
Software Win8 Pro x64 / Cat 12.10
#2
Yes, it's possible (although it may not be very easy).
Yes, you can ask all the questions you want (We just won't do the work for you). :toast:
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
20,914 (6.24/day)
Likes
10,009
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#3
ASP.NET? I don't think that is something that should be done server side. There's not only the performance concern, but privacy as well. If I were in your shoes, I'll look at Silverlight.
 
Joined
Jan 27, 2009
Messages
225 (0.07/day)
Likes
12
System Name Flash
Processor I5-4670K
Motherboard MSI Z87-G45
Cooling Stock Air
Memory 4x4GB G.Skill RipjawX DDR-1600 CL9
Video Card(s) ASUS 7970 DCU II
Storage Samsung 840 250GB + WD Black 640GB
Display(s) Dell U2412m + 2x Dell 2209WA
Case Corsair 230T
Audio Device(s) Realtek Hi-Def onboard
Power Supply HX850
Software Win7 Pro
#4
Yes, it's possible (although it may not be very easy).
Yes, you can ask all the questions you want (We just won't do the work for you). :toast:
Using that open source, what aspect would make it difficult? I'd like to mention I am at a beginner stage in .net and ASP.net, and standard knowledge in creating "basic" programs (a calculator, etc), basically what you would expect in 2 years in computer science.

Right now I am looking into "translating" the windows form application into a web application. Should I expect it to work very similar to the windows application?

The application stores the "trained" faces together with a .txt file which matches the name. I'm thinking I could have a box where the user would put his "name" and if that name is associated with the picture, it would grant access?

ASP.NET? I don't think that is something that should be done server side. There's not only the performance concern, but privacy as well. If I were in your shoes, I'll look at Silverlight.
I found this website: http://startrinity.com/VideoRecognition/FaceRecognition/FaceRecognitionSourceCode.aspx
Is this something you would be suggesting? I tired running the sample program, but silverlight would crash on me :(
 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
10,401 (4.84/day)
Likes
5,481
Location
Concord, NH
System Name Kratos
Processor Intel Core i7 3930k @ 4.2Ghz
Motherboard ASUS P9X79 Deluxe
Cooling Zalman CPNS9900MAX 130mm
Memory G.Skill DDR3-2133, 16gb (4x4gb) @ 9-11-10-28-108-1T 1.65v
Video Card(s) MSI AMD Radeon R9 390 GAMING 8GB @ PCI-E 3.0
Storage 2x120Gb SATA3 Corsair Force GT Raid-0, 4x1Tb RAID-5, 1x500GB
Display(s) 1x LG 27UD69P (4k), 2x Dell S2340M (1080p)
Case Antec 1200
Audio Device(s) Onboard Realtek® ALC898 8-Channel High Definition Audio
Power Supply Seasonic 1000-watt 80 PLUS Platinum
Mouse Logitech G602
Keyboard Rosewill RK-9100
Software Ubuntu 17.10
Benchmark Scores Benchmarks aren't everything.
#5
Don't make it a web application. That really is your best option, you should probably use Java since you can run it on just about any platform or implement it as an applet on a website. This said applet could have a web service that a web application could call in order to check if authentication succeeded or failed.
 
Last edited:

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
20,914 (6.24/day)
Likes
10,009
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#6
Joined
Jan 27, 2009
Messages
225 (0.07/day)
Likes
12
System Name Flash
Processor I5-4670K
Motherboard MSI Z87-G45
Cooling Stock Air
Memory 4x4GB G.Skill RipjawX DDR-1600 CL9
Video Card(s) ASUS 7970 DCU II
Storage Samsung 840 250GB + WD Black 640GB
Display(s) Dell U2412m + 2x Dell 2209WA
Case Corsair 230T
Audio Device(s) Realtek Hi-Def onboard
Power Supply HX850
Software Win7 Pro
#7
Don't make it a web application. That really is your best option, you should probably use Java since you can run it on just about any platform or implement it as an applet on a website. This said applet could have a web service that a web application could call in order to check if authentication succeeded or failed.
My school project requirement is to implement it as an ASP.net application. I also have almost no usable knowledge in regards to java applets, or how I could use java with the open source code.

Yeah, but the code you found before could be ported to work as well. Just need to change the GUI code, me thinks.

Do you have Silverlight installed?
I do have silverlight, but unfortunately it keeps crashing. Even their online face recognition demo is crashing the plugin. I will try re-installing silverlight and see if that helps. That's why I didn't bothered that much with that website, and tried to just translate the open source code from windows app to web app
 
Joined
Jan 27, 2009
Messages
225 (0.07/day)
Likes
12
System Name Flash
Processor I5-4670K
Motherboard MSI Z87-G45
Cooling Stock Air
Memory 4x4GB G.Skill RipjawX DDR-1600 CL9
Video Card(s) ASUS 7970 DCU II
Storage Samsung 840 250GB + WD Black 640GB
Display(s) Dell U2412m + 2x Dell 2209WA
Case Corsair 230T
Audio Device(s) Realtek Hi-Def onboard
Power Supply HX850
Software Win7 Pro
#8
Hey so quick update. I tried porting the code from the windows application to web application but unfortunately I cannot have the tools required added to the web application.

Going by this tutorial: http://fewtutorials.bravesites.com/entries/emgu-cv-c/level-1---lets-make-a-camera-application, I would need a ImageBox taken from EMGU .dll, but that is not available in asp.net (unless I somehow miss it). (direct link: http://www.emgu.com/wiki/index.php/Add_ImageBox_Control)

FordGT90, I still tinkered with silverlight, unfortunately it's not realiable (crashes most often), and I also cannot open their sample code without receiving the following 2 errors:
Code:
D:\Dropbox\BCIT\T4.5\COMP_4904\Project\startrinity.com_face_recognition_v1.1\StarTrinity.FaceRecognition.SL.Sample\StarTrinity.FaceRecognition.SL.Sample.csproj : error  : Unable to read the project file 'StarTrinity.FaceRecognition.SL.Sample.csproj'. 
D:\Dropbox\BCIT\T4.5\COMP_4904\Project\startrinity.com_face_recognition_v1.1\StarTrinity.FaceRecognition.SL.Sample\StarTrinity.FaceRecognition.SL.Sample.csproj(104,3): The imported project "C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
20,914 (6.24/day)
Likes
10,009
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#9
Joined
Jan 27, 2009
Messages
225 (0.07/day)
Likes
12
System Name Flash
Processor I5-4670K
Motherboard MSI Z87-G45
Cooling Stock Air
Memory 4x4GB G.Skill RipjawX DDR-1600 CL9
Video Card(s) ASUS 7970 DCU II
Storage Samsung 840 250GB + WD Black 640GB
Display(s) Dell U2412m + 2x Dell 2209WA
Case Corsair 230T
Audio Device(s) Realtek Hi-Def onboard
Power Supply HX850
Software Win7 Pro
#10
I installed the Silverlight 4 and now I can open the sample code without a problem. However, this looks way over my head, and I do not think I can actually implement it since i don't actually understand the implementation (and there is no tutorial).

Right now I am trying to use activex to open the windows form from the asp.net webpage. I'm still reading over google to see if I can figure out how I can implement that
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
20,914 (6.24/day)
Likes
10,009
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#11
Silverlight applets are implemented the same as Flash would be. ASPX basically opens them as an HTML object.
 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
10,401 (4.84/day)
Likes
5,481
Location
Concord, NH
System Name Kratos
Processor Intel Core i7 3930k @ 4.2Ghz
Motherboard ASUS P9X79 Deluxe
Cooling Zalman CPNS9900MAX 130mm
Memory G.Skill DDR3-2133, 16gb (4x4gb) @ 9-11-10-28-108-1T 1.65v
Video Card(s) MSI AMD Radeon R9 390 GAMING 8GB @ PCI-E 3.0
Storage 2x120Gb SATA3 Corsair Force GT Raid-0, 4x1Tb RAID-5, 1x500GB
Display(s) 1x LG 27UD69P (4k), 2x Dell S2340M (1080p)
Case Antec 1200
Audio Device(s) Onboard Realtek® ALC898 8-Channel High Definition Audio
Power Supply Seasonic 1000-watt 80 PLUS Platinum
Mouse Logitech G602
Keyboard Rosewill RK-9100
Software Ubuntu 17.10
Benchmark Scores Benchmarks aren't everything.
#12
You said this is for a class, do you have any instructions for the project that the teacher/instructor/professor has given you? My concern is that using silverlight might be outside the scope of the project requirements.