OCR/NeuralNetwork/Load.h

22 lines
442 B
C
Raw Normal View History

2022-02-08 18:16:25 +00:00
#ifndef LOAD_H
#define LOAD_H
#include <SDL2/SDL.h>
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include "../ImageTreatment/Tools/tools.h"
int FindBlackPixelrow(double *img, int w, int x);
int FindBlackPixelcol(double *img, int w, int h, int x);
double *resizechar(SDL_Surface *img, int size);
double *resizearray(double *img, int w, int h, int x, int y);
void get_binerize_matrix(SDL_Surface *img, double *image);
#endif