All Projects → AIHunters → EvenVizion

AIHunters / EvenVizion

Licence: MIT license
Camera localization and video stabilization component. Fixed coordinates system. Using Python and OpenCV.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to EvenVizion

notepad-plus-plus-localization-hong-kong
Hong Kong Cantonese localization / translation for Notepad++
Stars: ✭ 54 (+42.11%)
Mutual labels:  localization
mobile-sdk-ios
Crowdin iOS SDK delivers all new translations from Crowdin project to the application immediately
Stars: ✭ 93 (+144.74%)
Mutual labels:  localization
mobility-actiontext
Translate Rails Action Text rich text with Mobility.
Stars: ✭ 27 (-28.95%)
Mutual labels:  localization
ACKLocalization
Localize your Cocoa apps from Google Spreadsheet
Stars: ✭ 18 (-52.63%)
Mutual labels:  localization
NSVLocalizationKit
Localize directly from Storyboard or Xib, it will automatically update all texts after in app language changing, without any line of code
Stars: ✭ 21 (-44.74%)
Mutual labels:  localization
blender-importer-unity
A tool to fix orientation issues from Blender to Unity
Stars: ✭ 23 (-39.47%)
Mutual labels:  coordinate-systems
cldr-engine
Internationalization and localization in Typescript with Unicode CLDR, batteries included
Stars: ✭ 34 (-10.53%)
Mutual labels:  localization
CMRNet
Code for "CMRNet: Camera to LiDAR-Map Registration" (ITSC 2019) - WIP
Stars: ✭ 70 (+84.21%)
Mutual labels:  localization
www.gafam.info
Sources of the gafam.info web page
Stars: ✭ 14 (-63.16%)
Mutual labels:  localization
laravel-query-localization
Easy Localization for Laravel
Stars: ✭ 50 (+31.58%)
Mutual labels:  localization
FAST LIO LOCALIZATION
A simple localization framework that can re-localize in built maps based on FAST-LIO.
Stars: ✭ 194 (+410.53%)
Mutual labels:  localization
android-api-loquacious
Loquacious is a localized remote resource manager library for Android
Stars: ✭ 24 (-36.84%)
Mutual labels:  localization
bugzilla-tw
Bugzilla traditional Chinese localization files
Stars: ✭ 25 (-34.21%)
Mutual labels:  localization
TransPose
PyTorch Implementation for "TransPose: Keypoint localization via Transformer", ICCV 2021.
Stars: ✭ 250 (+557.89%)
Mutual labels:  localization
Localisation
Repository for translation and discussion for OpenRCT2.
Stars: ✭ 49 (+28.95%)
Mutual labels:  localization
fluent-vue
Internationalization plugin for Vue.js
Stars: ✭ 137 (+260.53%)
Mutual labels:  localization
hordes-loc
Community driven Hordes.io string localization
Stars: ✭ 57 (+50%)
Mutual labels:  localization
GoogleSheet-Database
unity google sheet core module
Stars: ✭ 23 (-39.47%)
Mutual labels:  localization
Stellaris mod
Paradox Interactive game Stellaris mod co-work
Stars: ✭ 37 (-2.63%)
Mutual labels:  localization
laravel-localized-routes
A convenient way to set up and use localized routes in a Laravel app.
Stars: ✭ 257 (+576.32%)
Mutual labels:  localization


EvenVizion - is a video-based camera localization Python package.

By using this package you can create a pipeline which allows evaluating the relative positions of objects and translating the coordinates of an object (relative to the frame) into a fixed coordinate system. To determine the position of an object, the main task was set – the creation of a fixed coordinate system. To solve this, we created the EvenVizion component. We show that the task can be solved even in bad filming conditions (sharp camera movement, bad weather conditions, filming in the dark and so on).

More about the package structure, mathematical tools used and the explanation of visualization you can find in EvenVizion - video based camera localization component.pdf.

Installation

The most general installation is just to use pip, which should come with any modern Python distribution.

pip install evenvizion

Get the EvenVizion Source

If you prefer to download the source yourself

git clone https://github.com/AIHunters/EvenVizion.git
cd evenvizion

Requirements

All the necessary libraries and versions you can find in requirements.txt.

Basic use

Here you can find examples of package usage.

evenvizion_component.py

$python3 evenvizion/examples/evenvizion_component.py --path_to_video="test_video/test_video.mp4" --experiment_name="test_video_processing" --path_to_original_coordinates="test_video/original_coordinates.json"

All the parameters can be changed.

About the parameters:

  • path_to_video - path to video that needs to be analyzed
  • experiment_name - the name of an experiment
  • resize_width - to speed up the performance of the script, pictures will be resized to this width
  • path_to_original_coordinates - if you want to get fixed object coordinates, specify the path to json with the original coordinate. Pay attention, that frame numbers should start from 1.
  • none_H_processing - there are some cases where Homography matrix can't be calculated, so you need to choose which script do you need to run in this case. If set True H = H on previous step, False - H = [1,0,0][0,1,0][0,0,1], it means there is no transformation on this frame
  • heatmap_visualization - for getting heatmap visualization, set True
  • show_matching_visualization - for getting matching visualization, set True

As a result, you get JSON with the matrix of a homography between two frames (not superposition), JSON with fixed coordinates and comparison between fixed and original coordinates.

  • path to result jsons: experiment_folder + experiment_name
  • path to fixed_coordinate_system_visualization: experiment_folder + video_name + experiment_name + fixed_coordinate_system_visualization

  • path to heatmap_visualization: experiment_folder + experiment_name + video_name + heatmap_visualization

  • path to matching_visualization: experiment_folder + experiment_name + video_name + heatmap_visualization

compare_evenvizion_with_original_video.py

$python3 evenvizion/examples/compare_evenvizion_with_original_video.py --path_to_homography_dict="experiment/test_video_processing/dict_with_homography_matrix.json" --path_to_video="test_video/test_video.mp4" --experiment_name="visualize_camera_stabilization"

About the parameters:

  • path_to_homography_dict - path to JSON with the homography dict

  • path_to_video - path to video that needs to be analyzed

  • experiment_name - experiment name

As a result, you get visualize_camera_stabilization

  • path to the result: experiment_folder + experiment_name + video_name + visualize_camera_stabilization

In this visualization, such changes as scaling and rotation are ignored. We took into consideration only the camera transition. But using the homography matrix from the previous step we can recalculate the coordinates considering all camera movements (Transition, scale, and rotation). You can see it in heatmap_visualization.

License

EvenVizion is licensed under the MIT license, as found in the LICENSE file.

Send us your failure cases and feedback!

Our project is open source and we will really appreciate getting your feedback!

We encourage the collaboration of any kind unless it violates our CODE_OF_CONDUCT and GitHub guidelines.

If you find or resolve an issue, feel free to comment on GitHub or make a pull request and we will answer as soon as possible!

If you choose to use EvenVizion for your project, please do let us know by simply commenting here or emailing to [email protected].

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].