I have just started studying the Viola-Jones face detection algorithm to design a face recognition system. off all the things i understood, I have confusion regarding the phrase:"sum of pixels". Does it means sum of colors at given pixels or the sum of distance of the given pixels?
Viola Jones Face Detection framework
2.1k Views Asked by nkt217 At
2
There are 2 best solutions below
1
Ash
On
The sum of pixels is the cumulative sum of pixels along the 2 dimensions of the image Please check cumsum function in Matlab.
For example: I = cumsum(cumsum(double(image)),2)
Check out this link for some good info on the Viola Jones Face Detection technique
Good Luck!
Related Questions in OPENCV
- segmentation fault: 11, extracting data in vector
- Disable OpenCL in OpenCV completely
- Python - Writing your own function with opencv giving an error
- Opengl Augmented Reality in Android from solvepnp
- OpenCv Multispectral Image openCV
- Displaying bitmap image on Android (OpenCV)
- Applying homography on non planar surface
- BackgroundSubtractor getBackgroundImage() function return empty Image
- How to choose good SURF feature keypoints?
- opencv python error: Assertion failed (size.width>0 && size.height>0)
- CIDetector to filter rectangle and get cropped image
- How to detect squares in video with OpenCV?
- Python OpenCV error: (-215) size.width>0 && size.height>0 in function imshow
- OpenCV algorithm of contours searching and creation of bounding rectagle
- OpenCV Opening/Closing shifts the positions of the pixels
Related Questions in COMPUTER-VISION
- OpenCV algorithm of contours searching and creation of bounding rectagle
- How to make sense (handle) when computes logarithm of zero in prior information
- Matlab code crashes and gives error: Dimension of matrices being concatenated are not consistent
- Haar Cascade classifier does not detect faces in simple frontal pictures
- Face cropping using facial landmarks
- qtimer and opencv running slow
- Simple RGB to Gray program crashes
- Estimating pose of one camera given another with known baseline
- dealing with dimensions in scikit-learn tree.decisiontreeclassifier
- converting matlab code to c code readiness error
- MATLAB ConnectedComponentLabeler does not work in for loop
- Finding camera position without calibration
- StereoSGBM cannot handle negative minDisparity
- How to speed up caffe classifer in python
- HOG Feature extraction
Related Questions in FACE-DETECTION
- Android camera2.params.face rectangle placement on canvas
- Face Detection with "Beyond Face Reality" SDK, copy to new canvas javascript
- Face detection throws error: !empty() in function cv::CascadeClassifier::detectMultiScale
- Opencv c++ face detection code not working
- Face alignment using openImaj API libraries
- Detecting a baby's face using OpenCV
- Real time face detection is not working
- Detect open or closed eye using openCV in python
- How to use Microsoft Face API to identify faces in a group pictures
- ‘GLib-GIO-Message: Using the 'memory' GSettings backend.’ throw when Face Detection in Ubuntu
- Face Detection with Camera
- In open CV, python how can i remove lag in the camera
- Google CustomSearch ignores imgType?
- training data augmentation in caffe along with its multilabel
- Error while detecting Face and Eye using OpenCV (Haar Cascade Object Detection)
Related Questions in VIOLA-JONES
- How to calculate detection_score for OpenCV's face detector?
- Plotting ROC curves for viola-jones results
- OpenCV Haar Classifier Killed
- Face detection using Viola Jones in openCV
- How can I see inside cvHaarDetectObjects() in openCV?
- haar cascade XML for Viola-jones
- How to detect multiple faces from the same image?
- Haar Cascades vs. LBP Cascades in Face Detection
- Efficiently integrate detection results
- Understaing V&J (Haar.cpp) sliding window
- Viola-Jones' face detection claims 180k features
- viola jones algorithm clarification
- threshold to determine Haar Feature
- Object is Currently in use elsewhere!!!! how can i fix it?
- Viola-Jones - what does the 24x24 window mean?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Generally if you see something like that they're talking about the value of a pixel (its intensity). According to OpenCV, the value of a pixel is calculated as 0.299 R + 0.587 G + 0.114 B. This is how OpenCV converts to grayscale, btw. So when they talk about the sum of pixels, they're likely talking about the sum of the pixel values in a given region (i.e. for a 3x3 region, take the value of each pixel and sum it up).