Skip to content

Instantly share code, notes, and snippets.

View dgzlopes's full-sized avatar
:octocat:
Octocated

Daniel González Lopes dgzlopes

:octocat:
Octocated
View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>ckrough subscriptions in feedly Cloud</title>
</head>
<body>
<outline text="Tech" title="Tech">
<outline type="rss" text="Tectonic Blog" title="Tectonic Blog" xmlUrl="https://tectonic.com/atom.xml" htmlUrl="https://tectonic.com"/>
<outline type="rss" text="Twitter Engineering" title="Twitter Engineering" xmlUrl="http://engineering.twitter.com/feeds/posts/default?alt=rss" htmlUrl="https://blog.twitter.com/"/>
#include <stdio.h>
#include <stdlib.h>
// incluimos la librería opencv
#include <opencv/cv.h>
#include <opencv/highgui.h>
// argc: int numero de argumentos
// argv: char ** argv[0] = 'mi.exe' / argv[1] = 'fruits.jpg'
int main(int argc, char** argv) {
#include <stdio.h>
#include <stdlib.h>
#include <opencv/cv.h>
#include <opencv/highgui.h>
int main(int argc, char **argv) {
if (argc != 2) {
printf("Error: Usage %s image_file_name\n", argv[0]);
#include <stdio.h>
#include <stdlib.h>
#include <opencv/cv.h>
#include <opencv/highgui.h>
int main(int argc, char **argv) {
if (argc != 2) {
printf("Error: Usage %s image_file_name\n", argv[0]);
#include <stdio.h>
#include <stdlib.h>
#include <opencv/cv.h>
#include <opencv/highgui.h>
int main(int argc, char **argv) {
if (argc != 2) {
printf("Error: Usage %s image_file_name\n", argv[0]);
#include <stdio.h>
#include <stdlib.h>
#include <opencv/cv.h>
#include <opencv/highgui.h>
int main(int argc, char **argv) {
if (argc != 2) {
printf("Error: Usage %s image_file_name\n", argv[0]);
#include <stdio.h>
#include <stdlib.h>
#include <opencv/cv.h>
#include <opencv/highgui.h>
int main(int argc, char **argv) {
if (argc != 2) {
printf("Error: Usage %s image_file_name\n", argv[0]);
int main(int argc, char **argv) {
if (argc != 2) {
printf("Error: Usage %s image_file_name\n", argv[0]);
return EXIT_FAILURE;
}
//CV_LOAD_IMAGE_COLOR = 1 forces the resultant IplImage to be colour.
//CV_LOAD_IMAGE_GRAYSCALE = 0 forces a greyscale IplImage.
//CV_LOAD_IMAGE_UNCHANGED = -1
int main(int argc, char **argv) {
if (argc != 2) {
printf("Error: Usage %s image_file_name\n", argv[0]);
return EXIT_FAILURE;
}
//CV_LOAD_IMAGE_COLOR = 1 forces the resultant IplImage to be colour.
//CV_LOAD_IMAGE_GRAYSCALE = 0 forces a greyscale IplImage.
//CV_LOAD_IMAGE_UNCHANGED = -1
int main(int argc, char **argv) {
if (argc != 2) {
printf("Error: Usage %s image_file_name\n", argv[0]);
return EXIT_FAILURE;
}
//CV_LOAD_IMAGE_COLOR = 1 forces the resultant IplImage to be colour.
//CV_LOAD_IMAGE_GRAYSCALE = 0 forces a greyscale IplImage.
//CV_LOAD_IMAGE_UNCHANGED = -1