Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/saliency/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ endif()

set(the_description "Saliency API")

ocv_define_module(saliency opencv_imgproc opencv_features2d WRAP python)
ocv_define_module(saliency opencv_imgproc opencv_features2d WRAP python java)

ocv_warnings_disable(CMAKE_CXX_FLAGS -Woverloaded-virtual)
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class CV_EXPORTS_W StaticSaliencySpectralResidual : public StaticSaliency
}

CV_WRAP void read( const FileNode& fn ) CV_OVERRIDE;
void write( FileStorage& fs ) const CV_OVERRIDE;
CV_WRAP void write( FileStorage& fs ) const CV_OVERRIDE;

CV_WRAP int getImageWidth() const
{
Expand Down Expand Up @@ -308,8 +308,8 @@ class CV_EXPORTS_W ObjectnessBING : public Objectness
return computeSaliencyImpl( image, saliencyMap );
}

CV_WRAP void read();
CV_WRAP void write() const;
CV_WRAP void readModel();
CV_WRAP void writeModel() const;

/** @brief Return the list of the rectangles' objectness value,

Expand Down
Loading