Skip to content

Repository for a pre-assignment in VTT interview utilizing Python bindings for C++.

Notifications You must be signed in to change notification settings

puhakkaJ/Python-bindings-VTT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-Bindings-VTT

Repository for a pre-assignment in VTT interview utilizing Python bindings for C++.

We build a simple ImageModifier Class in c++ that takes a picture as input, adjusted the saturation, and returns the modified picture. Then we build Python bindings for the Class using pybind11.

Structure

  • ImageModifier.cpp :C++ Class
  • bindings.cpp :Python bindings for the C++ Class using pybind11
  • CMakeLists.txt :cmake build file
  • /build :build directory
  • run.py :Python script for running the new library

Requirements

Consider the following requirements and their depencies

  • openCV
  • pybind11

Running details

python run.py

(Testing the C++ Class individually g++ $(pkg-config --cflags --libs opencv4) imgClass.cpp -o Test -std=c++11)

References

About

Repository for a pre-assignment in VTT interview utilizing Python bindings for C++.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published