Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include "captcha.h"
- void vert_ray1(int pixels[height][width], int *start_row, int *start_column, int *box_height, int *box_width){
- for(int row = *box_height - 1; row >= 0; row++){
- for(int column = 0; column < width; column++){
- if(pixels[row][column] == 0 && pixels[row][column + 1] == 0){
- pixels[row][column] == 2;
- }else if(pixels[row][column] == 0 && pixels[row][column + 1] == 1){
- break;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement