<commit_before>#ifndef LABELFILE_H
#define LABELFILE_H

//Provides a loading and access interface for .lif labelMe label files

#include <string>
#include <vector>
#include <iostream>
#include <fstream>
#include <random>
#include <map>

#include <opencv2/core.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/imgproc.hpp>

#include <boost/archive/iterators/base64_from_binary.hpp>
#include <boost/archive/iterators/binary_from_base64.hpp>
#include <boost/archive/iterators/transform_width.hpp>
#include <boost/archive/iterators/insert_linebreaks.hpp>
#include <boost/archive/iterators/remove_whitespace.hpp>

#include "pybind11_opencv_numpy/pybind11/pybind11.h"

#include "jsoncpp/json/json.h"

/*!
 * \brief The classColor typedef creates a simple interface for pairing a class name with a specific OpenCV color.
 */<commit_msg>Updated to fix error with cv::Mat python conversion<commit_after>#ifndef LABELFILE_H
#define LABELFILE_H

//Provides a loading and access interface for .lif labelMe label files

#include <string>
#include <vector>
#include <iostream>
#include <fstream>
#include <random>
#include <map>

#include <opencv2/core.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/imgproc.hpp>

#include <boost/archive/iterators/base64_from_binary.hpp>
#include <boost/archive/iterators/binary_from_base64.hpp>
#include <boost/archive/iterators/transform_width.hpp>
#include <boost/archive/iterators/insert_linebreaks.hpp>
#include <boost/archive/iterators/remove_whitespace.hpp>

#include "pybind11_opencv_numpy/pybind11/pybind11.h"
#include "pybind11_opencv_numpy/pybind11/stl.h"
#include "pybind11_opencv_numpy/ndarray_converter.h"

#include "jsoncpp/json/json.h"

/*!
 * \brief The classColor typedef creates a simple interface for pairing a class name with a specific OpenCV color.
 */
{'fraction_non_alphanumeric': 0.11319712865819989, 'fraction_numerical': 0.0176697956929873, 'mean_word_length': 6.336032388663968, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1405615', 'n_tokens_mistral': 650, 'n_tokens_neox': 630, 'n_words': 141}