graph-cordinates


Namegraph-cordinates JSON
Version 0.0.4 PyPI version JSON
download
home_page
SummaryFrom Image of a curve/graph, extract and store the cordinates pairs in a 2D array
upload_time2023-07-18 08:57:33
maintainer
docs_urlNone
authorUjjawal Kumar (India)
requires_python
license
keywords stock_price python cordinates image 2d curve
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
             
See the logic and an example implementation on my github

https://github.com/kumarUjjawal3621/mypython_lib 


How to use: 

1. import graph_cordinates.graph_cordinates as gc 

2. gc.get_graphcordinates(image_path,x_range,y_range,background_value) 

3. Will return an array of 2D cordinates: [[x1,y1], [x2,y2], .......n-points] ; n=pixel width of Image 

    
How to pass arguments- 

1. image_path == path to a graph image 

2. x_range == [Value of left most point on graph's x-axis, Value of right most point on graph's x-axis]

3. y_range == [Value of bottom most point on graph's y-axis, Value of top most point on graph's y-axis]

4. background_value == 0 or 1 

   0: When the graph's background color is relatively darker than the curve

   1: Otherwise)  


Caution- Try to pass the Image by erasing the axes


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "graph-cordinates",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "stock_price,Python,Cordinates,Image,2D Curve",
    "author": "Ujjawal Kumar (India)",
    "author_email": "<kumarujjawal3621@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/d4/fd/4aa494998146abce42596e24cf3e8920f91cfeaa29387c7a348e52c71929/graph_cordinates-0.0.4.tar.gz",
    "platform": null,
    "description": " \r\nSee the logic and an example implementation on my github\r\n\r\nhttps://github.com/kumarUjjawal3621/mypython_lib \r\n\r\n\r\nHow to use: \r\n\r\n1. import graph_cordinates.graph_cordinates as gc \r\n\r\n2. gc.get_graphcordinates(image_path,x_range,y_range,background_value) \r\n\r\n3. Will return an array of 2D cordinates: [[x1,y1], [x2,y2], .......n-points] ; n=pixel width of Image \r\n\r\n    \r\nHow to pass arguments- \r\n\r\n1. image_path == path to a graph image \r\n\r\n2. x_range == [Value of left most point on graph's x-axis, Value of right most point on graph's x-axis]\r\n\r\n3. y_range == [Value of bottom most point on graph's y-axis, Value of top most point on graph's y-axis]\r\n\r\n4. background_value == 0 or 1 \r\n\r\n   0: When the graph's background color is relatively darker than the curve\r\n\r\n   1: Otherwise)  \r\n\r\n\r\nCaution- Try to pass the Image by erasing the axes\r\n\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "From Image of a curve/graph, extract and store the cordinates pairs in a 2D array",
    "version": "0.0.4",
    "project_urls": null,
    "split_keywords": [
        "stock_price",
        "python",
        "cordinates",
        "image",
        "2d curve"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "31e6f0e1ecbbcb8ebc9637b42531e64bd284c24201523c4fade2d80f707b73f3",
                "md5": "672785941ac557745855c70df1a62f14",
                "sha256": "d6350f3547c5e5597d2f45d3e34af3eafff2874ebd0c9d8251070217ce5cb2d5"
            },
            "downloads": -1,
            "filename": "graph_cordinates-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "672785941ac557745855c70df1a62f14",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2627,
            "upload_time": "2023-07-18T08:57:31",
            "upload_time_iso_8601": "2023-07-18T08:57:31.269113Z",
            "url": "https://files.pythonhosted.org/packages/31/e6/f0e1ecbbcb8ebc9637b42531e64bd284c24201523c4fade2d80f707b73f3/graph_cordinates-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d4fd4aa494998146abce42596e24cf3e8920f91cfeaa29387c7a348e52c71929",
                "md5": "309ad096af4b85e9b537ba2779e3c6bc",
                "sha256": "04b9c999c9cd94adac7d750775df63d65a966405c6a17b33cebec51ad198cd51"
            },
            "downloads": -1,
            "filename": "graph_cordinates-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "309ad096af4b85e9b537ba2779e3c6bc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2319,
            "upload_time": "2023-07-18T08:57:33",
            "upload_time_iso_8601": "2023-07-18T08:57:33.825613Z",
            "url": "https://files.pythonhosted.org/packages/d4/fd/4aa494998146abce42596e24cf3e8920f91cfeaa29387c7a348e52c71929/graph_cordinates-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-18 08:57:33",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "graph-cordinates"
}
        
Elapsed time: 0.10455s