Giter Club home page Giter Club logo

fex-metrica's People

Contributors

filipporss avatar ljchang avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fex-metrica's Issues

Import Bugs

  1. Fexinstall bug

fexinstall
In fexinstall at 84
/Users/lukechang/.bashrc: No such file or directory.
Warning: Installation failed.
In fexinstall at 115

  1. export data gui

Attempt to reference field of non-structure array.

Error in fexc/checkargs (line 2905)
for j = args.data.Properties.VarNames;

Error in fexc (line 313)
obj.checkargs(args(k));

Error in fexgenc/export (line 241)
obj = cat(1,obj,fexc(args));

Error in fexc (line 282)
self = h.export(1);

  1. Can’t load data manually either

fPath = '~/Github/fex-metrica/fexSDK';

fexobj = fexc('data', fullfile(fPath,'samples','data','smile.csv'),...
'video',fullfile(fPath,'samples','data','smile.mov'),...
'outdir','~/Dropbox/Face/Tests/fexSDK_Test');

  1. or using this method:

fPath = '/Github/fex-metrica/fexSDK';
data = dataset('File',fullfile(fPath,'samples','data','smile.csv'));
fexobj = fexc('data', data,...
'video',fullfile(fPath,'samples','data','smile.mov'),...
'outdir','
/Dropbox/Face/Tests/fexSDK_Test');
Error using fexc (line 401)
Wrong arguments provided. Try using "ui."

Problem Importing data from older facet

My file does not include

center_mouth_x, center_mouth_y,timestamp, track_id

and contains a "framnumber" column

'''Matlab
fexobj = fexc('video',vname,'data',fname{1},'outdir',fullfile(fPath,'Analyses'));

Ignored variable: FrameNumber.
Undefined function 'linespace' for input arguments of type 'double'.

Error in fexc/checkargs (line 2931)
t = linespace(self.videoInfo(1),self.videoInfo(2),self.videoInfo(3));

Error in fexc (line 293)
obj.checkargs(args(k));

Error in fexgenc/export (line 281)
obj = cat(1,obj,fexc(args));

Error in fexc (line 308)
self = h.export(1);
'''

FEXC.reinitialize

Doesn't copies original version/or original version is not cloned properly.

Bug in fexwoverlay

Every method on fexwoverlay objects fails with the XLim problem.

FexObj = fexc('data', f{2});
d = FexObj.functional(1,13:15);
OvObj = fexwoverlay(d,'VarName',get(d,'VarNames'));
ii1 = fexwoverlay(d,'template','1','combine','max','background',0);

i1.show()
Reference to non-existent field 'XLim'.

Error in cbfreeze (line 310)
XLim = cb_prop.XLim;

Error in fexwoverlay/show (line 356)
cbfreeze;

fexc.overlay add_video error

fexobj1.viewer('overlay')

ans =

fexc with properties:

      name: 'group6_yg_1119_3F_YDGP_1_P'
     video: '/Users/lukechang/Dropbox/DoctorPatient/Data/Video/group6_yg_1119_3F_YDGP_1_P.mov'
 videoInfo: [29.9700 584.4500 17516 1280 720]
functional: [17516x31 dataset]
structural: [17516x23 dataset]
sentiments: [16671x5 dataset]
      time: [17516x3 dataset]
    design: []

dyld: Library not loaded: /usr/local/lib/libx264.142.dylib
Referenced from: /usr/local/bin/ffmpeg
Reason: image not found
Trace/BPT trap
ffmpeg -i /Users/lukechang/Dropbox/DoctorPatient/Data/Video/group6_yg_1119_3F_YDGP_1_P.mov -vcodec mjpeg -an -q 0 -filter:v "crop=572:544:383:87" /Users/lukechang/Documents/MATLAB/fexwstreamermedia/cgroup6_yg_1119_3F_YDGP_1_P.avi: Trace/breakpoint trap
Warning: dyld: Library not loaded: /usr/local/lib/libx264.142.dylib
Referenced from: /usr/local/bin/ffmpeg
Reason: image not found
Trace/BPT trap

In fexc>fexc.videoutil at 949
In fexw_overlayui>addmovie_Callback at 837
In gui_mainfcn at 95
In fexw_overlayui at 168
In @(hObject,eventdata)fexw_overlayui('addmovie_Callback',hObject,eventdata,guidata(hObject))
Error using VideoReader/init (line 607)
The filename specified was not found in the MATLAB path.

Error in VideoReader (line 172)
obj.init(fileName);

Error in fexw_overlayui>addmovie_Callback (line 839)
handles.vidobj = VideoReader(newname);

Error in gui_mainfcn (line 95)
feval(varargin{:});

Error in fexw_overlayui (line 168)
gui_mainfcn(gui_State, varargin{:});

Error in @(hObject,eventdata)fexw_overlayui('addmovie_Callback',hObject,eventdata,guidata(hObject))

Error while evaluating Menu Callback

Suggested Fixes for Installation manual

Paths are not clear, but I'm sure are subject to change.

  1. fexfacetutil/cppdir -> fexfacetutil/preproc/cppdir
  2. 'facet' -> FacetSDK/facets
  3. 'fexfacetutil' -> fexfacetutil/preproc/install.sh

Temporal filter and Nyquist argument

The temp filter method from fexc calls the function fex_temporalfilter. Both have an argument "par," which is a vector with information about a filter. The issue is that the method expect to receive in "par" the sampling rate of the data. The function instead expects the nyquist frequency.

Timing Information

Unsync Timing issues:

  1. The property .videoInfo is generated using ffmpeg. The time there is approximated so there may be a slight divergence between time assessed there and .time.TimeStamps(end). This should not be an issue.
  2. The number of frames from .videoInfo and the size(f.functional,1) sometimes diverge, although usually of only few frames. This may be done to the procedures that look for frames with multiple faces (i.e. .checkargs).

fexvideoc.crop

Bugs

  • Face Box identification and combination does not take into account missing faces, and it brakes when one frame don't contain a face.

Upgrade

  • Instead of a single class with N entries per properties, it should be transformed into a stacked class;
  • Add method to extract a frame at a particular time point with ffmpeg;
  • Add codex / compression methods beyond mjpeg;
  • Add box selection and resampling.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.