Object detection for other specific objects, possible?

Click For Summary

Discussion Overview

The discussion centers around the challenges and methods of implementing object detection for specific objects, particularly smiles, using C# and OpenCV. Participants explore various approaches, resources, and the underlying complexities of computer vision (CV).

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant seeks guidance on starting object detection for smiles using C#, noting a lack of tutorials.
  • Another participant suggests checking existing resources, providing a link to a paper on face and smile detection.
  • A participant raises concerns about the reliability of the provided link, indicating a warning from their browser.
  • Further resources are shared, including a link to a Google Research blog about training image classifiers.
  • One participant comments on the challenges of general object recognition, emphasizing that it relies heavily on prior learning and vast amounts of data.
  • Another participant elaborates on the process of training a detection algorithm, mentioning the need for a large dataset of both positive and negative examples.
  • A suggestion is made to explore data mining and classification algorithms as part of the solution.
  • One participant shares a personal experience using OpenCV for a different application, indicating its versatility.

Areas of Agreement / Disagreement

Participants express varying views on the feasibility and complexity of object detection, particularly regarding the necessity of extensive data and prior knowledge. No consensus is reached on a specific method or approach.

Contextual Notes

Participants highlight the dependence on large datasets and the mathematical complexities involved in object recognition, indicating that solutions may vary based on context and application.

Who May Find This Useful

Individuals interested in computer vision, object detection, programming in C#, and those exploring machine learning techniques may find this discussion relevant.

kolleamm
Messages
476
Reaction score
44
How would I get started in object detection of specific objects? I know about OpenCV, it can perform face detection, but what about other objects?

I've seen talks on the web of training the program, but I'm not exactly sure how I would do that. I would like to give my software, written in C#, the ability to detect smiles.

There are practically no tutorials for this in C#.

Any help is appreciated.
 
Technology news on Phys.org
My Google Chrome browser gives me the following warning when I click on the link above,

upload_2016-5-18_8-19-25.png
 
Just a warning, almost everything in CV is a hack... Valuable things like face recognition have had loads of time thrown at them so they're decent hacks, (and you may have luck with smiles, valuable for marketing) but general object recognition mathematically has no simple solution, its dependent on prior learning.

For instance suppose you see an image of a basketball in the air at a game passing in front of a sign in the stands that's the same color: your brain will recogize the round shape of the ball because you know what a basketball looks like and see its a game, but without that world knowledge no algorithm can. Consequently, the big players in this are the people with huge amounts of data to train AIs about world knowledge. So cloud based solutions from big companies:
http://googleresearch.blogspot.com/2016/03/train-your-own-image-classifier-with.html?m=1
Will probably the way forward, as unsatisfying as it may be.
 
Simon Bridge said:
The first thing you do with any programming project is check to see what others have done before you.
ie. https://www.csie.ntu.edu.tw/~fuh/personal/FaceDetectionandSmileDetection.pdf
Yeah but those just explain how the algorithm works.
Fooality said:
Just a warning, almost everything in CV is a hack... Valuable things like face recognition have had loads of time thrown at them so they're decent hacks, (and you may have luck with smiles, valuable for marketing) but general object recognition mathematically has no simple solution, its dependent on prior learning.

For instance suppose you see an image of a basketball in the air at a game passing in front of a sign in the stands that's the same color: your brain will recogize the round shape of the ball because you know what a basketball looks like and see its a game, but without that world knowledge no algorithm can. Consequently, the big players in this are the people with huge amounts of data to train AIs about world knowledge. So cloud based solutions from big companies:
http://googleresearch.blogspot.com/2016/03/train-your-own-image-classifier-with.html?m=1
Will probably the way forward, as unsatisfying as it may be.
From my research on CV you give the program thousands of images of the object and thousands of images not containing the object. Afterwards it runs a long search lasting days that finds a handful of features that could be used to identify the object. Its a lot of data to provide but finding some code on how to do it might be harder.

I'd love to find something as simple as :
Train_detector (obj imgs path, false positive imgs path)

The result would be a file you can reference
Object_detect (obj_with_these_features.txt)
 
Hey kolleam.

Have you looked at data mining and classification algorithms?

A lot of this stuff involves quite a lot of mathematics in different fields and in different context of application.
 
Yes, OpenCV gives you raw image data, from that you can apply whatever algorithm you want. I once used it to keep score in billiards by tracking the balls.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
13
Views
4K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K