The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: how to import .dat file to MATLAB memory?
Replies: 6   Last Post: Jan 14, 2014 10:02 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 2
Registered: 12/21/12
how to import .dat file to MATLAB memory?
Posted: Dec 21, 2012 9:36 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

i come across this link:

it said the MATLAB code is workable, so i tried and modified:

% Load image and convert it to grayscale
I = rgb2gray(imread('DSCF5508.jpg'));
% Get face bounding box
bbox = [72, 72, 183, 183];
% Load flandmark_model file into MATLAB memory
model = flandmark_load_model('F:/Project/Face recognition/Installer/flandmark-master/data/flandmark_model.dat');
% Detect facial landmark calling the mex function
landmarks = flandmark_detector(I, int32(bbox), model);

But it comes out an error message:

Undefined function 'flandmark_load_model' for input arguments of
type 'char'.

Error in asd (line 7)
model = flandmark_load_model('F:/Project/Face

ps: asd is a script file name, named as asd.m

Can anyone help me to solve it??? I have totally no idea TT

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.