-
Notifications
You must be signed in to change notification settings - Fork 2
libccv Examples
PruebasVisilab edited this page Feb 6, 2017
·
5 revisions
This application runs several examples using the libccv library. Some of them compare the obtained results vs expected result, giving an assertion if the values are different. In others, the user needs to check the results saved in the SD card.
The contents of the testFiles folder (data and samples) must be copied to the SD card (/mnt/sdcard/).
- Canny edge detector.
- Files required:
- samples/blackbox.png
- data/blackbox.canny.bin
- Output:
- File: samples/test1.png (1 if border has been detected, 0 if not)
- Files required:
- Pedestrian cascade detector using Integral Channel Features.
- Files required:
- samples/pedestrian.icf
- samples/pedestrian2.png
- Output:
- Text: Number of pedestrians detected. For each detection, classification confidence and x, y, width and height of the rectangle.
- Files required:
- Matrix addition operation.
- Sobel operations.
- Files required:
- samples/chessbox.bmp
- data/chessbox.sobel.x.bin
- data/chessbox.sobel.y.bin
- data/chessbox.sobel.u.bin
- data/chessbox.sobel.v.bin
- data/chessbox.sobel.x.3.bin
- data/chessbox.sobel.y.3.bin
- data/chessbox.sobel.x.5.bin
- Output:
- samples/test4.png (partial derivative on y within 5x5 window)
- Files required:
- Otsu threshold calculation.
- Image contrast modification.
- Files required:
- samples/nature.bmp
- data/nature.contrast.0.5.bin
- data/nature.contrast.1.5.bin
- Output:
- samples/test6_1.png (reducing contrast to 0.5)
- samples/test6_2.png (increasing contrast 1.5 times)
- Files required:
- Perspective transform on a picture.
- Files required:
- sampls/chessbox.bmp
- data/chessbox.perspective.transform.bin
- Output:
- samples/test7.png (picture rotated along y-axis for 30º)
- Files required:
- Histogram of gradients calculation.
- Files required:
- samples/nature.bmp
- Output:
- samples/test8.png (values obtained)
- Files required:
- Scale Invariant Feature Transform.
- Files required:
- samples/book.png
- Output:
- Text: List of keypoints matching.
- Files required:
- CBLAS matrix multiplication.
- Convolutional network of 11x11 on 225x225 with uniform weights.
- Convolutional network of 5x5 on 27x27 with non-uniform weights.
- Convolutional network of 5x5x4 on 27x27x8 partitioned by 2.
- Stroke Width Transform (text detection).
- Files required:
- samples/text-detect.png
- Output:
- Text: Number of texts detected. For each detection, x, y, width and height of the rectangle.
- Files required:
- Brightness Binary Feature (face cascade detection).
- Files required:
- samples/face (folder with cascade.txt and stage-0.txt to stage-15.txt files)
- samples/suit.png
- Output:
- Text: Number of faces detected. For each detection, classification confidence and x, y, width and height of the rectangle.
- Files required:
Website | Twitter | Linkedin | Flickr | Slideshare