{"id":22170816,"url":"https://github.com/melitus/intel_openvino","last_synced_at":"2025-03-24T17:41:52.562Z","repository":{"id":125425462,"uuid":"234518382","full_name":"melitus/intel_openvino","owner":"melitus","description":"For intel Lessons assignment ","archived":false,"fork":false,"pushed_at":"2020-02-14T15:46:48.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T22:27:13.867Z","etag":null,"topics":["artificial-intelligence","computer-vision","intel","machine-learning","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/melitus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-17T09:42:57.000Z","updated_at":"2020-02-14T15:46:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"bbd399f1-c27e-4620-bbf9-6fce14d5fef6","html_url":"https://github.com/melitus/intel_openvino","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melitus%2Fintel_openvino","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melitus%2Fintel_openvino/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melitus%2Fintel_openvino/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melitus%2Fintel_openvino/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melitus","download_url":"https://codeload.github.com/melitus/intel_openvino/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245319818,"owners_count":20596044,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artificial-intelligence","computer-vision","intel","machine-learning","python"],"created_at":"2024-12-02T06:56:15.412Z","updated_at":"2025-03-24T17:41:52.556Z","avatar_url":"https://github.com/melitus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# intel_openvino\nFor intel Lessons assignment \n\n# Preprocessing Inputs\n\nNow that we have a few pre-trained models downloaded, it's time to preprocess the inputs\nto match what each of the models expects as their input. We'll use the same models as before\nas a basis for determining the preprocessing necessary for each input file.\n\nAs a reminder, our three models are:\n- Human Pose Estimation: [human-pose-estimation-0001](https://docs.openvinotoolkit.org/latest/_models_intel_human_pose_estimation_0001_description_human_pose_estimation_0001.html)\n- Text Detection: [text-detection-0004](http://docs.openvinotoolkit.org/latest/_models_intel_text_detection_0004_description_text_detection_0004.html)\n- Determining Car Type \u0026 Color: [vehicle-attributes-recognition-barrier-0039](https://docs.openvinotoolkit.org/latest/_models_intel_vehicle_attributes_recognition_barrier_0039_description_vehicle_attributes_recognition_barrier_0039.html)\n\n**Note:** For ease of use, these models have been added into the `/home/workspace/models`\ndirectory. For example, if you need to use the Text Detection model, you could find it at:\n\n```bash\n/home/workspace/models/text_detection_0004.xml\n```\n\nEach link above contains the documentation for the related model. In our case, we want to \nfocus on the **Inputs** section of the page, wherein important information regarding the input\nshape, order of the shape (such as color channel first or last), and the order of the color\nchannels, is included.\n\nYour task is to fill out the code in three functions within `preprocess_inputs.py`, one for \neach of the three models. We have also included a potential sample image for each of the \nthree models, that will be used with `test.py` to check whether the\ninput for each model has been adjusted as expected for proper model input.\n\nNote that each image is **currently loaded as BGR with H, W, C order** in the `test.py` file,\nso any necessary preprocessing to change that should occur in your three work files. \nNote that **BGR** order is used, as the OpenCV function we use to read images loads as\nBGR, and not RGB.\n\nWhen finished, you should be able to run the `test.py` file and pass all three tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelitus%2Fintel_openvino","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelitus%2Fintel_openvino","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelitus%2Fintel_openvino/lists"}