857cb1f38abfc3f467b6a8e53ae54365e05fcff2,deeplabcut/generate_training_dataset/frame_extraction_toolbox.py,MainFrame,update,#MainFrame#,179

Before Change


        
        //set image size:
        imgW = self.gui_width*.007 //was 12 inches (perhaps add dpi!)
        imgH = self.gui_height*.007    //was 7 inches 

        self.img_size = (imgW, imgH)  // width, height in inches. 

        self.vid.set(1,self.currFrame)
        self.fig1, (self.ax1f1) = plt.subplots(figsize=self.img_size,facecolor = "None")
        ret, frame = self.vid.read()
        if ret: 
                frame=cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
                im_axis = self.ax1f1.imshow(frame)

After Change


        
        self.grab.Enable(True)
        self.grab.Bind(wx.EVT_BUTTON, self.grabFrame)
        self.figure,self.axes,self.canvas = self.image_panel.getfigure()
        self.vid.set(1,self.currFrame)
        ret, frame = self.vid.read()
        if ret:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: AlexEMG/DeepLabCut
Commit Name: 857cb1f38abfc3f467b6a8e53ae54365e05fcff2
Time: 2019-02-23
Author: amathis@fas.harvard.edu
File Name: deeplabcut/generate_training_dataset/frame_extraction_toolbox.py
Class Name: MainFrame
Method Name: update


Project Name: theislab/scanpy
Commit Name: 8ae527b26368f10e14792fd176b39815675501c8
Time: 2017-09-18
Author: f.alex.wolf@gmx.de
File Name: scanpy/plotting/tools.py
Class Name:
Method Name: aga_graph


Project Name: theislab/scanpy
Commit Name: 8ae527b26368f10e14792fd176b39815675501c8
Time: 2017-09-18
Author: f.alex.wolf@gmx.de
File Name: scanpy/plotting/tools.py
Class Name:
Method Name: aga