Question


I have directory, there are many images in this directory, I want to detect the face from images, and create the directories of image name store only the faces on that directory. How to do this, kindly help me
myDir = 'C:\myImages\'; this is the name of directory which contains many images. i want to detect the faces from images and...

4 years ago | 1 answer | 0

1

answer

Question


Extract column values and save in folder in form of .txt form. I need help in this...
I have csv file, it has three columns, emotion, pixels,usage. and i have folders 0,1,2,3,4,5,6,7 . i want to check firs column ...

4 years ago | 0 answers | 0

0

answers

Question


I tried to convert a 48*48 gray image into pixels values, now i tried to convert it back into gray image, but the converted image is not showing properly, it show the upper portion of face below and below portion above.
my code is: X = importdata('i2.txt'); d = reshape( uint8(X), 48, 48); better_d = d([40:end,1:39],[25:end, 1:24]).'; ...

4 years ago | 0 answers | 0

0

answers

Question


I get Error while reading CSV file.
Error using dlmread (line 143) Mismatch between file and format string. Trouble reading 'Numeric' field from file (row n...

4 years ago | 1 answer | 0

1

answer

Question


I saved pixel values of a gray scale image 48x48 which is a picture of face, now i want to save these pixel values back into an image(gray face image), Can this be done?? if yes, then tell me kindly how??
img = imread('face.jpg'); fid = fopen('pixels.txt', 'w'); if fid == -1, error('Cannot open file'); end fprintf(fid, '...

4 years ago | 1 answer | 0

1

answer

Question


I want to convert pixel values into image. how to do it , i dont want to show it as graph etc i want to show the original image.
184 184 178 178 177 173 171 174 177 178 176 169 165 161 163 161 180 205 201 183 171 177 178 180 194 101 55 65 60 47 ...

4 years ago | 2 answers | 0

2

answers

Question


I created one Excel file which has data in three columns the first and second column has numerical data and the third column has characters, these columns have the header too. i want the following tasks to perform on it:
I want to read this excel sheet. I want to save data of the rows of second column in folders which I have created, the names of...

4 years ago | 0 answers | 0

0

answers

Question


I have created folders using an array 1-6 and loaded the CSV file now I want to save data from CSV file to the folder in form of text file.. kindly help me
for k=0:6 [status, msg, msgID] = mkdir(num2str(k)); end X = importdata('data.csv'); *the CSV file has the ...

4 years ago | 2 answers | 0

2

answers

Question


I created a csv file in which i created three column file, pixels and usage i want to create 3 folders.
file column has numbers 0,1 and 2 i want to create three folders and want to name them 0 ,1 and 2, kindly help me.

4 years ago | 1 answer | 0

1

answer

Question


I want to load csv file and read column's data from csv file, i have tried many cods but can not get the desired results.
this csv file contains 3 fields. kindly guide me how to load it and read its columns???

4 years ago | 0 answers | 0

0

answers

Question


I extracted pixel values from image and saved them in text file, now i want to read that text file and save as an image, kindly guide me how can it be done
img = imread('KR.AN1.83.tiff'); fid = fopen('YourImage.txt', 'w'); if fid == -1, error('Cannot open file'); end fprintf(fid, ...

4 years ago | 0 answers | 0

0

answers

Question


i have code for extracting multiple faces from an image and cropping these extracted faces from image, now i want to save these cropped faces in a folder , how can i do that??
clc; I=imread('E:/g.jpg'); figure(1),imshow(I); FaceDetect = vision.CascadeObjectDetector; BB = step(Fa...

4 years ago | 1 answer | 0

1

answer

Question


How can we detect faces from an image and crop detected faces and save them in another folder ??
I read many codes but i did not get my solution, kindly help me

4 years ago | 0 answers | 0

0

answers