Metadata-Version: 2.1
Name: optical_tracer
Version: 0.1.7
Summary: The system detects and tracks characteristic moving objects from the video, and traces their movement to create a 3D graph.
Home-page: https://github.com/pokurin123/optical_tracer
Author: pokurin123
Author-email: s1922074@stu.musashino-u.ac.jp
License: MIT
Description: # optical_tracer
        It extracts feature points from the video and traces their movements in the video.  
        After the video is stopped, a 3D graph of those movements is generated with the X axis as the X coordinate, the Y axis as the Y coordinate, and the Z axis as the time.
        
        ![image](/スクリーンショット%202022-01-10%204.37.33.png)
        
        # PIP
        
        ```bash:
        $ pip3 install optical-tracer
        $ pip3 install opencv-python
        $ pip3 install matplotlib
        ```
        
        # import
        
        ```python:
        from optical_trace import optical_trace
        ```
        
        # Usage
        - example
        
        ```python:
        optical_trace.opt_trace("test_opt.mp4",4,0.6,25,[123,456],[789,1011])
        ```
        
        There are six arguments available for this function.
        
        ```python:
        optical_trace.opt_trace("movie_path",max_feature_points,threshold_value,minimum_distance,x_range,y_range)
        ```
        - **movie_path**
          - path of the video you want to use.
        - **max_feature_points**
          - maximum number of feature points that can be detected.
        - **threshold_value**
          - Threshold for careful selection of feature points. Higher the value, more selective the feature points.
        - **threshold_value**
          - Minimum distance between feature points. If they are closer than this value, the feature points are not detected.
        - **x_range**
          - Used to specify the range to detect feature points.<br>If the range of X coordinate is not specified, it is set to `none`.<br>The range is specified by a list. `[123,456]`
        - **y_range**
          - Used to specify the range to detect feature points.<br>If the range of Y coordinate is not specified, it is set to `none`.<br>The range is specified by a list. `[123,456]`
Platform: UNKNOWN
Classifier: Framework :: Matplotlib
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/markdown
